Skip to content

Commit

Permalink
add source code
Browse files Browse the repository at this point in the history
  • Loading branch information
badetitou committed Nov 5, 2020
1 parent 905280c commit 8193b48
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/FAST-Core-Model-Extension/FASTEntity.extension.st
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@ FASTEntity >> rootNode [
^ self parentNode ifNil: [ self ] ifNotNil: [:parent | parent rootNode ]
]

{ #category : #'*FAST-Core-Model-Extension' }
FASTEntity >> sourceCode [
"I should be overriden in my users"

^ self sourceText copyFrom: self startPos to: self endPos
]

{ #category : #'*FAST-Core-Model-Extension' }
FASTEntity >> sourceText [
"I should be overriden in my users"
Expand Down

0 comments on commit 8193b48

Please sign in to comment.