Skip to content

Commit

Permalink
removing "Fortran" from TFortranUnary and BinaryExpression
Browse files Browse the repository at this point in the history
  • Loading branch information
lsafina committed Sep 12, 2023
1 parent a4e86e9 commit 7e6d85b
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ a Fortran Binary Expression (arithmetic, logical)
Class {
#name : #FASTFortranBinaryExpression,
#superclass : #FASTFortranEntity,
#traits : 'FASTFortranTExpression + FASTFortranTFortranBinaryExpression',
#classTraits : 'FASTFortranTExpression classTrait + FASTFortranTFortranBinaryExpression classTrait',
#traits : 'FASTFortranTBinaryExpression + FASTFortranTExpression',
#classTraits : 'FASTFortranTBinaryExpression classTrait + FASTFortranTExpression classTrait',
#instVars : [
'#operator => FMProperty',
'#left => FMOne type: #FASTFortranTExpression opposite: #parentExpression',
'#operator => FMProperty',
'#right => FMOne type: #FASTFortranTExpression opposite: #parentExpression'
],
#category : #'FAST-Fortran-Entities-Entities'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
I represent a fortran binary expression
"
Trait {
#name : #FASTFortranTFortranBinaryExpression,
#name : #FASTFortranTBinaryExpression,
#category : #'FAST-Fortran-Entities-Traits'
}

{ #category : #meta }
FASTFortranTFortranBinaryExpression classSide >> annotation [
FASTFortranTBinaryExpression classSide >> annotation [

<FMClass: #TFortranBinaryExpression super: #Object>
<FMClass: #TBinaryExpression super: #Object>
<package: #'FAST-Fortran-Entities'>
<generated>
^ self
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
I represent a fortran unary expression
"
Trait {
#name : #FASTFortranTFortranUnaryExpression,
#name : #FASTFortranTUnaryExpression,
#category : #'FAST-Fortran-Entities-Traits'
}

{ #category : #meta }
FASTFortranTFortranUnaryExpression classSide >> annotation [
FASTFortranTUnaryExpression classSide >> annotation [

<FMClass: #TFortranUnaryExpression super: #Object>
<FMClass: #TUnaryExpression super: #Object>
<package: #'FAST-Fortran-Entities'>
<generated>
^ self
Expand Down
8 changes: 4 additions & 4 deletions src/FAST-Fortran-Entities/FASTFortranUnaryExpression.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ a Fortran Unary Expression (arithmetic, logical, character)
Class {
#name : #FASTFortranUnaryExpression,
#superclass : #FASTFortranEntity,
#traits : 'FASTFortranTExpression + FASTFortranTFortranUnaryExpression',
#classTraits : 'FASTFortranTExpression classTrait + FASTFortranTFortranUnaryExpression classTrait',
#traits : 'FASTFortranTExpression + FASTFortranTUnaryExpression',
#classTraits : 'FASTFortranTExpression classTrait + FASTFortranTUnaryExpression classTrait',
#instVars : [
'#operator => FMProperty',
'#expression => FMOne type: #FASTFortranTExpression opposite: #parentExpression'
'#expression => FMOne type: #FASTFortranTExpression opposite: #parentExpression',
'#operator => FMProperty'
],
#category : #'FAST-Fortran-Entities-Entities'
}
Expand Down
4 changes: 2 additions & 2 deletions src/FAST-Fortran-Generator/FASTFortranGenerator.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -878,8 +878,8 @@ FASTFortranGenerator >> defineTraits [

tFortranLabelledStatement := builder newTraitNamed: #TLabelledStatement comment: 'I represent a fortran statement with a label'.

tFortranBinaryExpression := builder newTraitNamed: #TFortranBinaryExpression comment: 'I represent a fortran binary expression'.
tFortranBinaryExpression := builder newTraitNamed: #TBinaryExpression comment: 'I represent a fortran binary expression'.

tFortranUnaryExpression := builder newTraitNamed: #TFortranUnaryExpression comment: 'I represent a fortran unary expression'.
tFortranUnaryExpression := builder newTraitNamed: #TUnaryExpression comment: 'I represent a fortran unary expression'.

]

0 comments on commit 7e6d85b

Please sign in to comment.