Searched refs:elementRef (Results 1 – 3 of 3) sorted by relevance
184 public void defineLabel(Token label, GrammarAST elementRef, int type) { in defineLabel() argument185 Grammar.LabelElementPair pair = grammar.new LabelElementPair(label,elementRef); in defineLabel()
164 public GrammarAST elementRef; field in Grammar.LabelElementPair171 public LabelElementPair(Token label, GrammarAST elementRef) { in LabelElementPair() argument173 this.elementRef = elementRef; in LabelElementPair()174 this.referencedRuleName = elementRef.getText(); in LabelElementPair()180 return elementRef.toString(); in toString()1935 Rule refdRule = getRule(pair.elementRef.getText()); in removeUselessLabels()
293 … getElementLabel($x.text).elementRef.token.getType()==ANTLRParser.TOKEN_REF ||294 … getElementLabel($x.text).elementRef.token.getType()==ANTLRParser.STRING_LITERAL)}?