Searched refs:elementRef (Results 1 – 3 of 3) sorted by relevance
190 public void defineLabel(Token label, GrammarAST elementRef, int type) { in defineLabel() argument191 Grammar.LabelElementPair pair = grammar.new LabelElementPair(label,elementRef); in defineLabel()
207 public GrammarAST elementRef; field in Grammar.LabelElementPair214 public LabelElementPair(Token label, GrammarAST elementRef) { in LabelElementPair() argument216 this.elementRef = elementRef; in LabelElementPair()217 this.referencedRuleName = elementRef.getText(); in LabelElementPair()224 return elementRef.toString(); in toString()1973 Rule refdRule = getRule(pair.elementRef.getText()); in removeUselessLabels()
294 … getElementLabel($x.text).elementRef.token.getType()==ANTLRParser.TOKEN_REF ||295 … getElementLabel($x.text).elementRef.token.getType()==ANTLRParser.STRING_LITERAL)}?