Class ASTPair
java.lang.Object
antlr.ASTPair
ASTPair: utility class used for manipulating a pair of ASTs
representing the current AST root and current AST sibling.
This exists to compensate for the lack of pointers or 'var'
arguments in Java.
-
Field Details
-
root
-
child
-
-
Constructor Details
-
ASTPair
public ASTPair()
-
-
Method Details
-
advanceChildToEnd
public final void advanceChildToEnd()Make sure that child is the last sibling -
copy
Copy an ASTPair. Don't call it clone() because we want type-safety -
toString
-