AstNode
Public / Constants
Public / Methods
CheckCount
Checks if the number of child nodes (see Count) is within the given range.
- ValidatingException
-
If the check has failed.
CheckType
Checks if the type of this node if equal to the given one.
- ValidatingException
-
If the check has failed.
CheckValue
Checks if the textual value of this node in the code input matches the given expected value.
- ValidatingException
-
If the check has failed.
Child
2 overloads
Returns the first child node that has the given token type.
Returns the n-th child node, assuming that it exists.
Extract
Extracts the range of this AST node from the given string.
The given string must be identical to the parser input (e.g. see CodeInput).
- See also