Package antlr
Class ASTPair
- java.lang.Object
-
- antlr.ASTPair
-
public class ASTPair extends Object
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.
-
-
Constructor Summary
Constructors Constructor Description ASTPair()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
advanceChildToEnd()
Make sure that child is the last siblingASTPair
copy()
Copy an ASTPair.String
toString()
-