Skip to content
Merged
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
14 changes: 7 additions & 7 deletions src/BaselineOfFASTPython/BaselineOfFASTPython.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -12,25 +12,25 @@ Class {
BaselineOfFASTPython >> baseline: spec [

<baseline>
spec for: #common do: [
"Dependencies"
spec for: #common do: [ "Dependencies"
self
fast: spec;
treeSitter: spec.

"Packages"
spec
package: 'FAST-Python-Model' with: [ spec requires: #( 'FAST' 'TreeSitter' ) ];
package: 'FAST-Python-Model-Generator';
package: 'FAST-Python-Model-Tests' with: [ spec requires: #( 'FAST-Python-Model' ) ];
package: 'FAST-Python-Tools' with: [ spec requires: #( 'FAST-Python-Model' ) ];
package: 'FAST-Python-Tools-Tests' with: [ spec requires: #( 'FAST-Python-Tools' ) ].
package: 'FAST-Python-Tools' with: [ spec requires: #( 'FAST-Python-Model' 'FAST-Python-Visitor' ) ];
package: 'FAST-Python-Tools-Tests' with: [ spec requires: #( 'FAST-Python-Tools' ) ];
package: 'FAST-Python-Visitor' with: [ spec requires: #( 'FAST-Python-Model' ) ].

"Groups"
spec
group: 'Core' with: #( 'FAST-Python-Model' 'FAST-Python-Tools' );
group: 'Core' with: #( 'FAST-Python-Model' 'FAST-Python-Tools' 'FAST-Python-Visitor' );
group: 'Generator' with: #( 'FAST-Python-Model-Generator' );
group: 'Tests' with: #( 'FAST-Python-Model-Tests' 'FAST-Python-Tools-Tests') ]
group: 'Tests' with: #( 'FAST-Python-Model-Tests' 'FAST-Python-Tools-Tests' ) ]
]

{ #category : 'dependencies' }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,12 +161,24 @@ Class {
#package : 'FAST-Python-Model-Generator'
}

{ #category : 'accessing' }
FASTPythonMetamodelGenerator class >> metamodelToolGenerators [

^ { FamixVisitorGenerator }
]

{ #category : 'accessing' }
FASTPythonMetamodelGenerator class >> packageName [

^ #'FAST-Python-Model'
]

{ #category : 'accessing' }
FASTPythonMetamodelGenerator class >> packageNameForVisitor [

^ #'FAST-Python-Visitor'
]

{ #category : 'accessing' }
FASTPythonMetamodelGenerator class >> prefix [

Expand Down
8 changes: 8 additions & 0 deletions src/FAST-Python-Visitor/FASTPyAsPattern.extension.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Extension { #name : 'FASTPyAsPattern' }

{ #category : '*FAST-Python-Visitor' }
FASTPyAsPattern >> accept: aVisitor [

<generated>
^ aVisitor visitFASTPyAsPattern: self
]
8 changes: 8 additions & 0 deletions src/FAST-Python-Visitor/FASTPyAssertStatement.extension.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Extension { #name : 'FASTPyAssertStatement' }

{ #category : '*FAST-Python-Visitor' }
FASTPyAssertStatement >> accept: aVisitor [

<generated>
^ aVisitor visitFASTPyAssertStatement: self
]
8 changes: 8 additions & 0 deletions src/FAST-Python-Visitor/FASTPyAssignment.extension.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Extension { #name : 'FASTPyAssignment' }

{ #category : '*FAST-Python-Visitor' }
FASTPyAssignment >> accept: aVisitor [

<generated>
^ aVisitor visitFASTPyAssignment: self
]
8 changes: 8 additions & 0 deletions src/FAST-Python-Visitor/FASTPyAttributeAccess.extension.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Extension { #name : 'FASTPyAttributeAccess' }

{ #category : '*FAST-Python-Visitor' }
FASTPyAttributeAccess >> accept: aVisitor [

<generated>
^ aVisitor visitFASTPyAttributeAccess: self
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Extension { #name : 'FASTPyAugmentedAssignment' }

{ #category : '*FAST-Python-Visitor' }
FASTPyAugmentedAssignment >> accept: aVisitor [

<generated>
^ aVisitor visitFASTPyAugmentedAssignment: self
]
8 changes: 8 additions & 0 deletions src/FAST-Python-Visitor/FASTPyAwait.extension.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Extension { #name : 'FASTPyAwait' }

{ #category : '*FAST-Python-Visitor' }
FASTPyAwait >> accept: aVisitor [

<generated>
^ aVisitor visitFASTPyAwait: self
]
8 changes: 8 additions & 0 deletions src/FAST-Python-Visitor/FASTPyBinaryOperator.extension.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Extension { #name : 'FASTPyBinaryOperator' }

{ #category : '*FAST-Python-Visitor' }
FASTPyBinaryOperator >> accept: aVisitor [

<generated>
^ aVisitor visitFASTPyBinaryOperator: self
]
8 changes: 8 additions & 0 deletions src/FAST-Python-Visitor/FASTPyBoolean.extension.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Extension { #name : 'FASTPyBoolean' }

{ #category : '*FAST-Python-Visitor' }
FASTPyBoolean >> accept: aVisitor [

<generated>
^ aVisitor visitFASTPyBoolean: self
]
8 changes: 8 additions & 0 deletions src/FAST-Python-Visitor/FASTPyBooleanOperator.extension.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Extension { #name : 'FASTPyBooleanOperator' }

{ #category : '*FAST-Python-Visitor' }
FASTPyBooleanOperator >> accept: aVisitor [

<generated>
^ aVisitor visitFASTPyBooleanOperator: self
]
8 changes: 8 additions & 0 deletions src/FAST-Python-Visitor/FASTPyBreakStatement.extension.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Extension { #name : 'FASTPyBreakStatement' }

{ #category : '*FAST-Python-Visitor' }
FASTPyBreakStatement >> accept: aVisitor [

<generated>
^ aVisitor visitFASTPyBreakStatement: self
]
8 changes: 8 additions & 0 deletions src/FAST-Python-Visitor/FASTPyCall.extension.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Extension { #name : 'FASTPyCall' }

{ #category : '*FAST-Python-Visitor' }
FASTPyCall >> accept: aVisitor [

<generated>
^ aVisitor visitFASTPyCall: self
]
8 changes: 8 additions & 0 deletions src/FAST-Python-Visitor/FASTPyCaseClause.extension.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Extension { #name : 'FASTPyCaseClause' }

{ #category : '*FAST-Python-Visitor' }
FASTPyCaseClause >> accept: aVisitor [

<generated>
^ aVisitor visitFASTPyCaseClause: self
]
8 changes: 8 additions & 0 deletions src/FAST-Python-Visitor/FASTPyChevron.extension.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Extension { #name : 'FASTPyChevron' }

{ #category : '*FAST-Python-Visitor' }
FASTPyChevron >> accept: aVisitor [

<generated>
^ aVisitor visitFASTPyChevron: self
]
8 changes: 8 additions & 0 deletions src/FAST-Python-Visitor/FASTPyClassDefinition.extension.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Extension { #name : 'FASTPyClassDefinition' }

{ #category : '*FAST-Python-Visitor' }
FASTPyClassDefinition >> accept: aVisitor [

<generated>
^ aVisitor visitFASTPyClassDefinition: self
]
8 changes: 8 additions & 0 deletions src/FAST-Python-Visitor/FASTPyClassPattern.extension.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Extension { #name : 'FASTPyClassPattern' }

{ #category : '*FAST-Python-Visitor' }
FASTPyClassPattern >> accept: aVisitor [

<generated>
^ aVisitor visitFASTPyClassPattern: self
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Extension { #name : 'FASTPyCollectionInitializer' }

{ #category : '*FAST-Python-Visitor' }
FASTPyCollectionInitializer >> accept: aVisitor [

<generated>
^ aVisitor visitFASTPyCollectionInitializer: self
]
8 changes: 8 additions & 0 deletions src/FAST-Python-Visitor/FASTPyComment.extension.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Extension { #name : 'FASTPyComment' }

{ #category : '*FAST-Python-Visitor' }
FASTPyComment >> accept: aVisitor [

<generated>
^ aVisitor visitFASTPyComment: self
]
8 changes: 8 additions & 0 deletions src/FAST-Python-Visitor/FASTPyComparisonOperator.extension.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Extension { #name : 'FASTPyComparisonOperator' }

{ #category : '*FAST-Python-Visitor' }
FASTPyComparisonOperator >> accept: aVisitor [

<generated>
^ aVisitor visitFASTPyComparisonOperator: self
]
8 changes: 8 additions & 0 deletions src/FAST-Python-Visitor/FASTPyComplex.extension.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Extension { #name : 'FASTPyComplex' }

{ #category : '*FAST-Python-Visitor' }
FASTPyComplex >> accept: aVisitor [

<generated>
^ aVisitor visitFASTPyComplex: self
]
8 changes: 8 additions & 0 deletions src/FAST-Python-Visitor/FASTPyComprehension.extension.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Extension { #name : 'FASTPyComprehension' }

{ #category : '*FAST-Python-Visitor' }
FASTPyComprehension >> accept: aVisitor [

<generated>
^ aVisitor visitFASTPyComprehension: self
]
8 changes: 8 additions & 0 deletions src/FAST-Python-Visitor/FASTPyConcatenatedString.extension.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Extension { #name : 'FASTPyConcatenatedString' }

{ #category : '*FAST-Python-Visitor' }
FASTPyConcatenatedString >> accept: aVisitor [

<generated>
^ aVisitor visitFASTPyConcatenatedString: self
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Extension { #name : 'FASTPyConditionalExpression' }

{ #category : '*FAST-Python-Visitor' }
FASTPyConditionalExpression >> accept: aVisitor [

<generated>
^ aVisitor visitFASTPyConditionalExpression: self
]
8 changes: 8 additions & 0 deletions src/FAST-Python-Visitor/FASTPyConstrainedType.extension.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Extension { #name : 'FASTPyConstrainedType' }

{ #category : '*FAST-Python-Visitor' }
FASTPyConstrainedType >> accept: aVisitor [

<generated>
^ aVisitor visitFASTPyConstrainedType: self
]
8 changes: 8 additions & 0 deletions src/FAST-Python-Visitor/FASTPyContinueStatement.extension.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Extension { #name : 'FASTPyContinueStatement' }

{ #category : '*FAST-Python-Visitor' }
FASTPyContinueStatement >> accept: aVisitor [

<generated>
^ aVisitor visitFASTPyContinueStatement: self
]
8 changes: 8 additions & 0 deletions src/FAST-Python-Visitor/FASTPyDecorator.extension.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Extension { #name : 'FASTPyDecorator' }

{ #category : '*FAST-Python-Visitor' }
FASTPyDecorator >> accept: aVisitor [

<generated>
^ aVisitor visitFASTPyDecorator: self
]
8 changes: 8 additions & 0 deletions src/FAST-Python-Visitor/FASTPyDeleteStatement.extension.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Extension { #name : 'FASTPyDeleteStatement' }

{ #category : '*FAST-Python-Visitor' }
FASTPyDeleteStatement >> accept: aVisitor [

<generated>
^ aVisitor visitFASTPyDeleteStatement: self
]
8 changes: 8 additions & 0 deletions src/FAST-Python-Visitor/FASTPyDictionary.extension.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Extension { #name : 'FASTPyDictionary' }

{ #category : '*FAST-Python-Visitor' }
FASTPyDictionary >> accept: aVisitor [

<generated>
^ aVisitor visitFASTPyDictionary: self
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Extension { #name : 'FASTPyDictionaryComprehension' }

{ #category : '*FAST-Python-Visitor' }
FASTPyDictionaryComprehension >> accept: aVisitor [

<generated>
^ aVisitor visitFASTPyDictionaryComprehension: self
]
8 changes: 8 additions & 0 deletions src/FAST-Python-Visitor/FASTPyDottedName.extension.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Extension { #name : 'FASTPyDottedName' }

{ #category : '*FAST-Python-Visitor' }
FASTPyDottedName >> accept: aVisitor [

<generated>
^ aVisitor visitFASTPyDottedName: self
]
8 changes: 8 additions & 0 deletions src/FAST-Python-Visitor/FASTPyERROR.extension.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Extension { #name : 'FASTPyERROR' }

{ #category : '*FAST-Python-Visitor' }
FASTPyERROR >> accept: aVisitor [

<generated>
^ aVisitor visitFASTPyERROR: self
]
8 changes: 8 additions & 0 deletions src/FAST-Python-Visitor/FASTPyElifClause.extension.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Extension { #name : 'FASTPyElifClause' }

{ #category : '*FAST-Python-Visitor' }
FASTPyElifClause >> accept: aVisitor [

<generated>
^ aVisitor visitFASTPyElifClause: self
]
8 changes: 8 additions & 0 deletions src/FAST-Python-Visitor/FASTPyEllipsis.extension.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Extension { #name : 'FASTPyEllipsis' }

{ #category : '*FAST-Python-Visitor' }
FASTPyEllipsis >> accept: aVisitor [

<generated>
^ aVisitor visitFASTPyEllipsis: self
]
8 changes: 8 additions & 0 deletions src/FAST-Python-Visitor/FASTPyElseClause.extension.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Extension { #name : 'FASTPyElseClause' }

{ #category : '*FAST-Python-Visitor' }
FASTPyElseClause >> accept: aVisitor [

<generated>
^ aVisitor visitFASTPyElseClause: self
]
8 changes: 8 additions & 0 deletions src/FAST-Python-Visitor/FASTPyEntity.extension.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Extension { #name : 'FASTPyEntity' }

{ #category : '*FAST-Python-Visitor' }
FASTPyEntity >> accept: aVisitor [

<generated>
^ aVisitor visitFASTPyEntity: self
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Extension { #name : 'FASTPyEscapeInterpolation' }

{ #category : '*FAST-Python-Visitor' }
FASTPyEscapeInterpolation >> accept: aVisitor [

<generated>
^ aVisitor visitFASTPyEscapeInterpolation: self
]
8 changes: 8 additions & 0 deletions src/FAST-Python-Visitor/FASTPyEscapeSequence.extension.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Extension { #name : 'FASTPyEscapeSequence' }

{ #category : '*FAST-Python-Visitor' }
FASTPyEscapeSequence >> accept: aVisitor [

<generated>
^ aVisitor visitFASTPyEscapeSequence: self
]
8 changes: 8 additions & 0 deletions src/FAST-Python-Visitor/FASTPyExceptClause.extension.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Extension { #name : 'FASTPyExceptClause' }

{ #category : '*FAST-Python-Visitor' }
FASTPyExceptClause >> accept: aVisitor [

<generated>
^ aVisitor visitFASTPyExceptClause: self
]
8 changes: 8 additions & 0 deletions src/FAST-Python-Visitor/FASTPyExecStatement.extension.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Extension { #name : 'FASTPyExecStatement' }

{ #category : '*FAST-Python-Visitor' }
FASTPyExecStatement >> accept: aVisitor [

<generated>
^ aVisitor visitFASTPyExecStatement: self
]
Loading
Loading