01: package antlr;
02:
03: /* ANTLR Translator Generator
04: * Project led by Terence Parr at http://www.cs.usfca.edu
05: * Software rights: http://www.antlr.org/license.html
06: */
07:
08: /**
09: * This class contains information about how an action
10: * was translated (using the AST conversion rules).
11: */
12: public class ActionTransInfo {
13: public boolean assignToRoot = false; // somebody did a "#rule = "
14: public String refRuleRoot = null; // somebody referenced #rule; string is translated var
15: public String followSetName = null; // somebody referenced $FOLLOW; string is the name of the lookahead set
16:
17: public String toString() {
18: return "assignToRoot:" + assignToRoot + ", refRuleRoot:"
19: + refRuleRoot + ", FOLLOW Set:" + followSetName;
20: }
21: }
|