Home
last modified time | relevance | path

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

/external/antlr/antlr-3.4/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 =
89 AttributeScope rulePropertiesScope = in getAttribute()
DAttributeScope.java42 public class AttributeScope { class
48 public static AttributeScope tokenScope = new AttributeScope("Token",null);
88 public AttributeScope(String name, Token derivedFromToken) { in AttributeScope() method in AttributeScope
92 public AttributeScope(Grammar grammar, String name, Token derivedFromToken) { in AttributeScope() method in AttributeScope
172 public Set intersection(AttributeScope other) { in intersection()
DRule.java69 public AttributeScope returnScope;
71 public AttributeScope parameterScope;
74 public AttributeScope ruleScope;
368 public AttributeScope getAttributeScope(String name) { in getAttributeScope()
369 AttributeScope scope = getLocalAttributeScope(name); in getAttributeScope()
380 public AttributeScope getLocalAttributeScope(String name) { in getLocalAttributeScope()
381 AttributeScope scope = null; in getLocalAttributeScope()
389 AttributeScope rulePropertiesScope = in getLocalAttributeScope()
DNameSpaceChecker.java72 AttributeScope scope = (AttributeScope) it.next(); in checkConflicts()
187 protected void checkForGlobalScopeTokenConflict(AttributeScope scope) { in checkForGlobalScopeTokenConflict()
DGrammar.java1722 public AttributeScope defineGlobalScope(String name, Token scopeAction) { in defineGlobalScope()
1723 AttributeScope scope = new AttributeScope(this, name, scopeAction); in defineGlobalScope()
1728 public AttributeScope createReturnScope(String ruleName, Token retAction) { in createReturnScope()
1729 AttributeScope scope = new AttributeScope(this, ruleName, retAction); in createReturnScope()
1734 public AttributeScope createRuleScope(String ruleName, Token scopeAction) { in createRuleScope()
1735 AttributeScope scope = new AttributeScope(this, ruleName, scopeAction); in createRuleScope()
1740 public AttributeScope createParameterScope(String ruleName, Token argAction) { in createParameterScope()
1741 AttributeScope scope = new AttributeScope(this, ruleName, argAction); in createParameterScope()
1747 public AttributeScope getGlobalScope(String name) { in getGlobalScope()
1748 return (AttributeScope)scopes.get(name); in getGlobalScope()
DLeftRecursiveRuleAnalyzer.java336 AttributeScope returnScope = grammar.createReturnScope("",t); in getNamesFromArgAction()
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/
DPerl5Target.java31 import org.antlr.tool.AttributeScope;
40 AttributeScope.tokenScope.addAttribute("self", null); in Perl5Target()
DCodeGenerator.java1087 AttributeScope scope = grammar.getGlobalScope(x); in issueInvalidScopeError()
1135 AttributeScope scope = refdRule.getAttributeScope(y); in issueInvalidAttributeError()
1178 AttributeScope scope = enclosingRule.getAttributeScope(x); in issueInvalidAttributeError()
/external/antlr/antlr-3.4/tool/src/main/antlr3/org/antlr/grammar/v3/
DActionTranslator.g149 AttributeScope scope = r.getLocalAttributeScope(attrName);
156 AttributeScope resolveDynamicScope(String scopeName) {
191 AttributeScope scope = enclosingRule.getLocalAttributeScope($y.text);
241 AttributeScope scope = enclosingRule.getLocalAttributeScope($y.text);
273 AttributeScope.tokenScope.getAttribute($y.text)!=null}?
291 AttributeScope.tokenScope.getAttribute($y.text)!=null &&
312 st.add("attr", AttributeScope.tokenScope.getAttribute($y.text));
385 AttributeScope scope = refdRule.getLocalAttributeScope($y.text);
493 AttributeScope scope = enclosingRule.getLocalAttributeScope($ID.text);
527 AttributeScope scope = enclosingRule.getLocalAttributeScope($ID.text);
[all …]
DActionAnalysis.g76 AttributeScope scope = null;
121 AttributeScope scope = enclosingRule.getLocalAttributeScope($ID.text);
DDefineGrammarItemsWalker.g132 AttributeScope scope = grammar.defineGlobalScope($name.text,$attrs.getToken());
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
DTestAttributes.java155 AttributeScope parameters = r.parameterScope; in testBracketArgParsing()
2198 AttributeScope retScope = r.returnScope; in testReturnInitValue()
2217 AttributeScope retScope = r.returnScope; in testMultipleReturnInitValue()
2236 AttributeScope retScope = r.returnScope; in testCStyleReturnInitValue()
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CPP/
DCPP.stg1228 * templates), but really wanted to pass in AttributeScope and Attribute
/external/antlr/antlr-3.4/tool/
DCHANGES.txt1354 src/org/antlr/tool/AttributeScope.java # edit