1 package antlr; 2 3 /* ANTLR Translator Generator 4 * Project led by Terence Parr at http://www.jGuru.com 5 * Software rights: http://www.antlr.org/RIGHTS.html 6 * 7 * $Id: //depot/code/org.antlr/main/main/antlr/ActionTransInfo.java#5 $ 8 */ 9 10 /** 11 * This class contains information about how an action 12 * was translated (using the AST conversion rules). 13 */ 14 public class ActionTransInfo { 15 public boolean assignToRoot = false; // somebody did a "#rule = " 16 public String refRuleRoot = null; // somebody referenced #rule; string is translated var 17 public String lookaheadSetName = null; // somebody referenced $lookaheadSet; string is the name of the lookahead set 18 19 public String toString() { 20 return "assignToRoot:" + assignToRoot + ", refRuleRoot:" + refRuleRoot + ", lookaheadSetName:" + lookaheadSetName; 21 } 22 } 23