You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 4c8bc82
Browse filesBrowse the repository at this point in the historyBrowse files
((context top isOfFASTType:FASTPyIfStatement) and: [ context top field =#consequence ]) ifTrue: [ ^selfhandleNode: aTSNode kind:FASTPyThenClause ].
121
121
122
-
(context top isOfFASTType:FASTPyElifClause) ifTrue: [ selfsetTopFieldTo:#statements. "We manually update the field to bypass the block and"^selfrawVisitChildren: aTSNode ].
123
-
124
-
(context top isOfFASTType:FASTPyWithStatement) ifTrue: [ selfsetTopFieldTo:#statements. "We manually update the field to bypass the block and"^selfrawVisitChildren: aTSNode ].
122
+
({ FASTPyElifClause. FASTPyWithStatement. FASTPyTryStatement. FASTPyExceptClause } anySatisfy: [ :type | context top isOfFASTType: type ]) ifTrue: [
123
+
selfsetTopFieldTo:#statements. "We manually update the field to bypass the block and"
selferror:'We sould never finish here because we took the decision of not representing them and the node visit should be skipped in #visitStringContent:.'
0 commit comments