Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/Famix-TypeScript-Entities/FamixTypeScriptEntity.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,13 @@ FamixTypeScriptEntity >> isQueryable [
^ false
]

{ #category : 'testing' }
FamixTypeScriptEntity >> isReference [

<generated>
^ false
]

{ #category : 'testing' }
FamixTypeScriptEntity >> isStructuralEntity [

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -208,13 +208,6 @@ FamixTypeScriptImportingContext >> importParameter [
^ self importConcreteEntity: (self class fm3ClassNamed: #Parameter)
]

{ #category : 'importing' }
FamixTypeScriptImportingContext >> importParameterType [

<generated>
^ self importConcreteEntity: (self class fm3ClassNamed: #ParameterType)
]

{ #category : 'importing' }
FamixTypeScriptImportingContext >> importParametricArrowFunction [

Expand Down Expand Up @@ -243,20 +236,48 @@ FamixTypeScriptImportingContext >> importParametricFunction [
^ self importConcreteEntity: (self class fm3ClassNamed: #ParametricFunction)
]

{ #category : 'importing' }
FamixTypeScriptImportingContext >> importParametricImplementation [

<generated>
^ self importConcreteEntity: (self class fm3ClassNamed: #ParametricImplementation)
]

{ #category : 'importing' }
FamixTypeScriptImportingContext >> importParametricInheritance [

<generated>
^ self importConcreteEntity: (self class fm3ClassNamed: #ParametricInheritance)
]

{ #category : 'importing' }
FamixTypeScriptImportingContext >> importParametricInterface [

<generated>
^ self importConcreteEntity: (self class fm3ClassNamed: #ParametricInterface)
]

{ #category : 'importing' }
FamixTypeScriptImportingContext >> importParametricInvocation [

<generated>
^ self importConcreteEntity: (self class fm3ClassNamed: #ParametricInvocation)
]

{ #category : 'importing' }
FamixTypeScriptImportingContext >> importParametricMethod [

<generated>
^ self importConcreteEntity: (self class fm3ClassNamed: #ParametricMethod)
]

{ #category : 'importing' }
FamixTypeScriptImportingContext >> importParametricReference [

<generated>
^ self importConcreteEntity: (self class fm3ClassNamed: #ParametricReference)
]

{ #category : 'importing' }
FamixTypeScriptImportingContext >> importPrimitiveType [

Expand All @@ -275,7 +296,7 @@ FamixTypeScriptImportingContext >> importProperty [
FamixTypeScriptImportingContext >> importReference [

<generated>
^ self importConcreteEntity: (self class fm3ClassNamed: #Reference)
^ self importAssociation: (self class fm3ClassNamed: #Reference)
]

{ #category : 'importing' }
Expand Down Expand Up @@ -320,6 +341,13 @@ FamixTypeScriptImportingContext >> importType [
^ self importConcreteEntity: (self class fm3ClassNamed: #Type)
]

{ #category : 'importing' }
FamixTypeScriptImportingContext >> importTypeParameter [

<generated>
^ self importConcreteEntity: (self class fm3ClassNamed: #TypeParameter)
]

{ #category : 'importing' }
FamixTypeScriptImportingContext >> importVariable [

Expand Down Expand Up @@ -523,13 +551,6 @@ FamixTypeScriptImportingContext >> shouldImportParameter [
^ self shouldImport: #Parameter
]

{ #category : 'testing' }
FamixTypeScriptImportingContext >> shouldImportParameterType [

<generated>
^ self shouldImport: #ParameterType
]

{ #category : 'testing' }
FamixTypeScriptImportingContext >> shouldImportParametricArrowFunction [

Expand Down Expand Up @@ -558,20 +579,48 @@ FamixTypeScriptImportingContext >> shouldImportParametricFunction [
^ self shouldImport: #ParametricFunction
]

{ #category : 'testing' }
FamixTypeScriptImportingContext >> shouldImportParametricImplementation [

<generated>
^ self shouldImport: #ParametricImplementation
]

{ #category : 'testing' }
FamixTypeScriptImportingContext >> shouldImportParametricInheritance [

<generated>
^ self shouldImport: #ParametricInheritance
]

{ #category : 'testing' }
FamixTypeScriptImportingContext >> shouldImportParametricInterface [

<generated>
^ self shouldImport: #ParametricInterface
]

{ #category : 'testing' }
FamixTypeScriptImportingContext >> shouldImportParametricInvocation [

<generated>
^ self shouldImport: #ParametricInvocation
]

{ #category : 'testing' }
FamixTypeScriptImportingContext >> shouldImportParametricMethod [

<generated>
^ self shouldImport: #ParametricMethod
]

{ #category : 'testing' }
FamixTypeScriptImportingContext >> shouldImportParametricReference [

<generated>
^ self shouldImport: #ParametricReference
]

{ #category : 'testing' }
FamixTypeScriptImportingContext >> shouldImportPrimitiveType [

Expand Down Expand Up @@ -635,6 +684,13 @@ FamixTypeScriptImportingContext >> shouldImportType [
^ self shouldImport: #Type
]

{ #category : 'testing' }
FamixTypeScriptImportingContext >> shouldImportTypeParameter [

<generated>
^ self shouldImport: #TypeParameter
]

{ #category : 'testing' }
FamixTypeScriptImportingContext >> shouldImportVariable [

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
"
## Relations
======================

### Other
| Relation | Origin | Opposite | Type | Comment |
|---|
| `concretizations` | `FamixTParametricAssociation` | `triggeringAssociation` | `FamixTConcretization` | The parameter concretizations associated with this association.|



"
Class {
#name : 'FamixTypeScriptParametricImplementation',
#superclass : 'FamixTypeScriptImplementation',
#traits : 'FamixTParametricAssociation',
#classTraits : 'FamixTParametricAssociation classTrait',
#category : 'Famix-TypeScript-Entities-Entities',
#package : 'Famix-TypeScript-Entities',
#tag : 'Entities'
}

{ #category : 'meta' }
FamixTypeScriptParametricImplementation class >> annotation [

<FMClass: #ParametricImplementation super: #FamixTypeScriptImplementation>
<package: #'Famix-TypeScript-Entities'>
<generated>
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
"
## Relations
======================

### Other
| Relation | Origin | Opposite | Type | Comment |
|---|
| `concretizations` | `FamixTParametricAssociation` | `triggeringAssociation` | `FamixTConcretization` | The parameter concretizations associated with this association.|



"
Class {
#name : 'FamixTypeScriptParametricInheritance',
#superclass : 'FamixTypeScriptInheritance',
#traits : 'FamixTParametricAssociation',
#classTraits : 'FamixTParametricAssociation classTrait',
#category : 'Famix-TypeScript-Entities-Entities',
#package : 'Famix-TypeScript-Entities',
#tag : 'Entities'
}

{ #category : 'meta' }
FamixTypeScriptParametricInheritance class >> annotation [

<FMClass: #ParametricInheritance super: #FamixTypeScriptInheritance>
<package: #'Famix-TypeScript-Entities'>
<generated>
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
"
## Relations
======================

### Other
| Relation | Origin | Opposite | Type | Comment |
|---|
| `concretizations` | `FamixTParametricAssociation` | `triggeringAssociation` | `FamixTConcretization` | The parameter concretizations associated with this association.|



"
Class {
#name : 'FamixTypeScriptParametricInvocation',
#superclass : 'FamixTypeScriptInvocation',
#traits : 'FamixTParametricAssociation',
#classTraits : 'FamixTParametricAssociation classTrait',
#category : 'Famix-TypeScript-Entities-Entities',
#package : 'Famix-TypeScript-Entities',
#tag : 'Entities'
}

{ #category : 'meta' }
FamixTypeScriptParametricInvocation class >> annotation [

<FMClass: #ParametricInvocation super: #FamixTypeScriptInvocation>
<package: #'Famix-TypeScript-Entities'>
<generated>
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
"
## Relations
======================

### Other
| Relation | Origin | Opposite | Type | Comment |
|---|
| `concretizations` | `FamixTParametricAssociation` | `triggeringAssociation` | `FamixTConcretization` | The parameter concretizations associated with this association.|



"
Class {
#name : 'FamixTypeScriptParametricReference',
#superclass : 'FamixTypeScriptReference',
#traits : 'FamixTParametricAssociation',
#classTraits : 'FamixTParametricAssociation classTrait',
#category : 'Famix-TypeScript-Entities-Entities',
#package : 'Famix-TypeScript-Entities',
#tag : 'Entities'
}

{ #category : 'meta' }
FamixTypeScriptParametricReference class >> annotation [

<FMClass: #ParametricReference super: #FamixTypeScriptReference>
<package: #'Famix-TypeScript-Entities'>
<generated>
]
26 changes: 26 additions & 0 deletions src/Famix-TypeScript-Entities/FamixTypeScriptReference.class.st
Original file line number Diff line number Diff line change
@@ -1,6 +1,32 @@
"
## Relations
======================

### Association source
| Relation | Origin | Opposite | Type | Comment |
|---|
| `referencer` | `FamixTReference` | `outgoingReferences` | `FamixTWithReferences` | Source entity making the reference. from-side of the association|

### Association target
| Relation | Origin | Opposite | Type | Comment |
|---|
| `referredEntity` | `FamixTReference` | `incomingReferences` | `FamixTReferenceable` | Target entity referenced. to-side of the association|

### Other
| Relation | Origin | Opposite | Type | Comment |
|---|
| `next` | `FamixTAssociation` | `previous` | `FamixTAssociation` | Next association in an ordered collection of associations. Currently not supported by the Moose importer|
| `previous` | `FamixTAssociation` | `next` | `FamixTAssociation` | Previous association in an ordered collection of associations. Currently not supported by the Moose importer|
| `sourceAnchor` | `FamixTSourceEntity` | `element` | `FamixTSourceAnchor` | SourceAnchor entity linking to the original source code for this entity|



"
Class {
#name : 'FamixTypeScriptReference',
#superclass : 'FamixTypeScriptEntity',
#traits : 'FamixTReference',
#classTraits : 'FamixTReference classTrait',
#category : 'Famix-TypeScript-Entities-Entities',
#package : 'Famix-TypeScript-Entities',
#tag : 'Entities'
Expand Down
Loading
Loading