Smalltalk/X WebserverDocumentation of class 'ParseErrorNode': | |
Class: ParseErrorNodeInheritance:Object | +--ParseNode | +--ParseErrorNode
Description:ParseErrorNode represent an erroneous portion of the source code. Error nodes are created by error-tolerant parser. So far the only user is SmallSenseParser (https://bitbucket.org/janvrany/jv-smallsense). Error nodes may have children which may not be error nodes. Such children represent a part of the code that actuallu could be parsed. Example: printValue: value Transcript show: (value printStringRadix: 12 Transcript cr The tolerant parser may create tree like: statement (StatementNode) #show: (MessageNode) Transcript (ContantNode) <<error>> (ParseErrorNode) #printStringRadix: (MessageNode) value (VariableNode) 12 (ContantNode) statement (StatementNode) #cr (MessageNode) Transcript (ContantNode) [instance variables:] [class variables:] Class protocol:instance creationInstance protocol:accessing
|
|
ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Thu, 21 Nov 2024 12:15:44 GMT |