|
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:]
Related information:Class protocol:instance creationInstance protocol:accessing
|
|
|
ST/X 7.1.0.0; WebServer 1.663 at exept.de:8081; Wed, 17 Dec 2025 06:28:34 GMT
|