public Grammar.LabelElementPair getElementLabel(String id) { return enclosingRule.getLabel(id); }
public Grammar.LabelElementPair getElementLabel(String id) { return enclosingRule.getLabel(id); }
public Grammar.LabelElementPair getElementLabel(String id) { return enclosingRule.getLabel(id); }
public final boolean isListLabel(String label) { boolean hasListLabel = false; if ( label != null ) { Rule r = grammar.getRule( currentRuleName ); //String stName = null; if ( r != null ) { Grammar.LabelElementPair pair = r.getLabel( label ); if ( pair != null && ( pair.type == Grammar.TOKEN_LIST_LABEL || pair.type == Grammar.RULE_LIST_LABEL || pair.type == Grammar.WILDCARD_TREE_LIST_LABEL ) ) { hasListLabel = true; } } } return hasListLabel; }
public final boolean isListLabel(String label) { boolean hasListLabel = false; if ( label != null ) { Rule r = grammar.getRule( currentRuleName ); //String stName = null; if ( r != null ) { Grammar.LabelElementPair pair = r.getLabel( label ); if ( pair != null && ( pair.type == Grammar.TOKEN_LIST_LABEL || pair.type == Grammar.RULE_LIST_LABEL || pair.type == Grammar.WILDCARD_TREE_LIST_LABEL ) ) { hasListLabel = true; } } } return hasListLabel; }
public boolean isListLabel(String label) { boolean hasListLabel=false; if ( label!=null ) { Rule r = grammar.getRule(currentRuleName); String stName = null; if ( r!=null ) { Grammar.LabelElementPair pair = r.getLabel(label); if ( pair!=null && (pair.type==Grammar.TOKEN_LIST_LABEL|| pair.type==Grammar.RULE_LIST_LABEL|| pair.type==Grammar.WILDCARD_TREE_LIST_LABEL) ) { hasListLabel=true; } } } return hasListLabel; }
String labelName = el.getText(); Rule enclosingRule = getLocallyDefinedRule(el.enclosingRuleName); LabelElementPair pair = enclosingRule.getLabel(labelName);
String labelName = el.getText(); Rule enclosingRule = getLocallyDefinedRule(el.enclosingRuleName); LabelElementPair pair = enclosingRule.getLabel(labelName);
Rule enclosingRule = getLocallyDefinedRule(el.enclosingRuleName); if ( enclosingRule==null ) continue; LabelElementPair pair = enclosingRule.getLabel(labelName);
Rule enclosingRule = getLocallyDefinedRule(el.enclosingRuleName); if ( enclosingRule==null ) continue; LabelElementPair pair = enclosingRule.getLabel(labelName);
String labelName = (LABEL21!=null?LABEL21.getText():null); Rule rule = grammar.getRule(currentRuleName); Grammar.LabelElementPair pair = rule.getLabel(labelName); if ( labelName.equals(currentRuleName) )
String labelName = (LABEL21!=null?LABEL21.getText():null); Rule rule = grammar.getRule(currentRuleName); Grammar.LabelElementPair pair = rule.getLabel(labelName); if ( labelName.equals(currentRuleName) )
Grammar.LabelElementPair pair = rule.getLabel(labelName); if ( labelName.equals(currentRuleName) ) {