Home
last modified time | relevance | path

Searched refs:AttributeScope (Results 1 – 13 of 13) sorted by relevance

/external/antlr/tool/src/main/java/org/antlr/tool/
DRuleLabelScope.java32 public class RuleLabelScope extends AttributeScope {
36 public static AttributeScope predefinedRulePropertiesScope =
37 new AttributeScope("RulePredefined",null) {{
46 public static AttributeScope predefinedTreeRulePropertiesScope =
47 new AttributeScope("RulePredefined",null) {{
55 public static AttributeScope predefinedLexerRulePropertiesScope =
56 new AttributeScope("LexerRulePredefined",null) {{
69 public static AttributeScope[] grammarTypeToRulePropertiesScope =
90 AttributeScope rulePropertiesScope = in getAttribute()
DAttributeScope.java42 public class AttributeScope { class
48 public static final AttributeScope tokenScope = new AttributeScope("Token",null);
89 public AttributeScope(String name, Token derivedFromToken) { in AttributeScope() method in AttributeScope
93 public AttributeScope(Grammar grammar, String name, Token derivedFromToken) { in AttributeScope() method in AttributeScope
173 public Set<String> intersection(AttributeScope other) { in intersection()
DRule.java74 public AttributeScope returnScope;
76 public AttributeScope parameterScope;
79 public AttributeScope ruleScope;
374 public AttributeScope getAttributeScope(String name) { in getAttributeScope()
375 AttributeScope scope = getLocalAttributeScope(name); in getAttributeScope()
386 public AttributeScope getLocalAttributeScope(String name) { in getLocalAttributeScope()
387 AttributeScope scope = null; in getLocalAttributeScope()
395 AttributeScope rulePropertiesScope = in getLocalAttributeScope()
DGrammar.java451 protected Map<String, AttributeScope> scopes = new HashMap<String, AttributeScope>();
1763 public AttributeScope defineGlobalScope(String name, Token scopeAction) { in defineGlobalScope()
1764 AttributeScope scope = new AttributeScope(this, name, scopeAction); in defineGlobalScope()
1769 public AttributeScope createReturnScope(String ruleName, Token retAction) { in createReturnScope()
1770 AttributeScope scope = new AttributeScope(this, ruleName, retAction); in createReturnScope()
1775 public AttributeScope createRuleScope(String ruleName, Token scopeAction) { in createRuleScope()
1776 AttributeScope scope = new AttributeScope(this, ruleName, scopeAction); in createRuleScope()
1781 public AttributeScope createParameterScope(String ruleName, Token argAction) { in createParameterScope()
1782 AttributeScope scope = new AttributeScope(this, ruleName, argAction); in createParameterScope()
1788 public AttributeScope getGlobalScope(String name) { in getGlobalScope()
[all …]
DNameSpaceChecker.java68 for (AttributeScope scope : grammar.getGlobalScopes().values()) { in checkConflicts()
179 protected void checkForGlobalScopeTokenConflict(AttributeScope scope) { in checkForGlobalScopeTokenConflict()
DLeftRecursiveRuleAnalyzer.java337 AttributeScope returnScope = grammar.createReturnScope("",t); in getNamesFromArgAction()
/external/antlr/tool/src/main/java/org/antlr/codegen/
DPerl5Target.java31 import org.antlr.tool.AttributeScope;
40 AttributeScope.tokenScope.addAttribute("self", null); in Perl5Target()
DCodeGenerator.java1117 AttributeScope scope = grammar.getGlobalScope(x); in issueInvalidScopeError()
1165 AttributeScope scope = refdRule.getAttributeScope(y); in issueInvalidAttributeError()
1208 AttributeScope scope = enclosingRule.getAttributeScope(x); in issueInvalidAttributeError()
/external/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/
DActionTranslator.g150 AttributeScope scope = r.getLocalAttributeScope(attrName);
157 AttributeScope resolveDynamicScope(String scopeName) {
192 AttributeScope scope = enclosingRule.getLocalAttributeScope($y.text);
242 AttributeScope scope = enclosingRule.getLocalAttributeScope($y.text);
274 AttributeScope.tokenScope.getAttribute($y.text)!=null}?
292 AttributeScope.tokenScope.getAttribute($y.text)!=null &&
313 st.add("attr", AttributeScope.tokenScope.getAttribute($y.text));
386 AttributeScope scope = refdRule.getLocalAttributeScope($y.text);
494 AttributeScope scope = enclosingRule.getLocalAttributeScope($ID.text);
528 AttributeScope scope = enclosingRule.getLocalAttributeScope($ID.text);
[all …]
DActionAnalysis.g77 AttributeScope scope = null;
122 AttributeScope scope = enclosingRule.getLocalAttributeScope($ID.text);
DDefineGrammarItemsWalker.g133 AttributeScope scope = grammar.defineGlobalScope($name.text,$attrs.getToken());
/external/antlr/tool/src/test/java/org/antlr/test/
DTestAttributes.java157 AttributeScope parameters = r.parameterScope; in testBracketArgParsing()
2200 AttributeScope retScope = r.returnScope; in testReturnInitValue()
2219 AttributeScope retScope = r.returnScope; in testMultipleReturnInitValue()
2238 AttributeScope retScope = r.returnScope; in testCStyleReturnInitValue()
/external/antlr/tool/
DCHANGES.txt1425 src/org/antlr/tool/AttributeScope.java # edit