Skip to content

Commit

Permalink
Add few missing methods needed by "Tree" view in inspector
Browse files Browse the repository at this point in the history
Commit 5000538 improved "Tree" view on Sprite AST but few methods
were missing in some classes causing inspector to crash on DNU
in some cases. This commit add these missing methods.
  • Loading branch information
janvrany committed Feb 27, 2024
1 parent 8347017 commit dccc49a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/SpriteLang/ECon.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,19 @@ ECon >> evaluateIn: aBindEnv [
^prim evaluateIn: aBindEnv
]

{ #category : #GT }
ECon >> gtBind [
^''
]

{ #category : #GT }
ECon >> gtChildren [
^{ prim }
^#()
]

{ #category : #GT }
ECon >> gtExpr [
^self
]

{ #category : #substitution }
Expand Down
5 changes: 5 additions & 0 deletions src/SpriteLang/SpriteImm.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ immExpr :: Imm b -> F.Expr
self subclassResponsibility
]

{ #category : #testing }
SpriteImm >> isLet [
^false
]

{ #category : #printing }
SpriteImm >> printOn: aStream [
self printStructOn: aStream
Expand Down

0 comments on commit dccc49a

Please sign in to comment.