/external/antlr/tool/src/main/java/org/antlr/tool/ |
D | Rule.java | 74 public AttributeScope returnScope; field in Rule 388 if ( returnScope!=null && returnScope.getAttribute(name)!=null ) { in getLocalAttributeScope() 389 scope = returnScope; in getLocalAttributeScope() 462 (returnScope!=null && returnScope.attributes.size()>1); in getHasMultipleReturnValues() 469 (returnScope!=null && returnScope.attributes.size()==1); in getHasSingleReturnValue() 476 (returnScope!=null && returnScope.attributes.size()>0); in getHasReturnValue() 480 if ( returnScope!=null && returnScope.attributes.size()==1 ) { in getSingleValueReturnType() 481 return returnScope.attributes.values().iterator().next().type; in getSingleValueReturnType() 487 if ( returnScope!=null && returnScope.attributes.size()==1 ) { in getSingleValueReturnName() 488 return returnScope.attributes.values().iterator().next().name; in getSingleValueReturnName()
|
D | NameSpaceChecker.java | 76 if ( r.returnScope!=null ) { in checkForRuleArgumentAndReturnValueConflicts() 77 Set<String> conflictingKeys = r.returnScope.intersection(r.parameterScope); in checkForRuleArgumentAndReturnValueConflicts() 197 else if ( (r.returnScope!=null&&r.returnScope.getAttribute(attrName)!=null) || in checkForRuleScopeAttributeConflict() 229 else if ( (r.returnScope!=null&&r.returnScope.getAttribute(label.getText())!=null) || in checkForLabelConflict()
|
D | RuleLabelScope.java | 96 if ( referencedRule.returnScope!=null ) { in getAttribute() 97 return referencedRule.returnScope.getAttribute(name); in getAttribute()
|
D | LeftRecursiveRuleAnalyzer.java | 337 AttributeScope returnScope = grammar.createReturnScope("",t); in getNamesFromArgAction() local 338 returnScope.addAttributes(t.getText(), ','); in getNamesFromArgAction() 339 return returnScope.attributes.keySet(); in getNamesFromArgAction()
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/ObjC/ |
D | ST4ObjC.stg | 39 @returnScope.ruleReturnMembers() ::= << 40 /* ST returnScope.ruleReturnMembers -- empty */ 44 @returnScope.ruleReturn.memvars() ::= << 49 @returnScope.ruleReturn.properties() ::= << 54 @returnScope.ruleReturn.methodsDecl() ::= << 60 @returnScope.ruleReturn.synthesize() ::= << 65 @returnScope.ruleReturn.methods() ::= <<
|
D | ST.stg | 40 /* ST returnScope.properties */ 65 /* ST returnScope.synthesize */ 71 /* ST returnScope.methods */ 86 @returnScope.ruleReturnMembers() ::= << 88 /* ST returnScope.ruleReturnMembers -- empty */
|
D | AST.stg | 120 /** the interface of returnScope properties */ 126 /** the interface of returnScope methodsDecl */ 133 /** the implementation of returnScope synthesize */ 135 /* AST returnScope.synthesize */ 139 /** the implementation of returnScope methods */ 141 /* AST returnScope.methods */
|
D | ASTTreeParser.stg | 47 /** the interface of returnScope methodsDecl */ 54 /** the implementation of returnScope methods */ 55 @returnScope.methods() ::= << 56 /* ASTTreeParser returnScope.methods */
|
/external/antlr/runtime/ObjC/Framework/examples/treeparser/ |
D | LangParser.m | 46 /* AST returnScope.synthesize */ 59 /* AST returnScope.methods */ 81 @end /* end of returnScope implementation */ 84 /* AST returnScope.synthesize */ 97 /* AST returnScope.methods */ 119 @end /* end of returnScope implementation */ 122 /* AST returnScope.synthesize */ 135 /* AST returnScope.methods */ 157 @end /* end of returnScope implementation */
|
D | LangDumpDecl.m | 62 @end /* end of returnScope implementation */
|
/external/antlr/runtime/ObjC/Framework/examples/simplecTreeParser/ |
D | SimpleCParser.m | 271 /* AST returnScope.synthesize */ 284 /* AST returnScope.methods */ 306 @end /* end of returnScope implementation */ 309 /* AST returnScope.synthesize */ 322 /* AST returnScope.methods */ 344 @end /* end of returnScope implementation */ 347 /* AST returnScope.synthesize */ 360 /* AST returnScope.methods */ 382 @end /* end of returnScope implementation */ 385 /* AST returnScope.synthesize */ [all …]
|
/external/antlr/runtime/ObjC/Framework/examples/treerewrite/ |
D | TreeRewriteParser.m | 44 /* AST returnScope.synthesize */ 57 /* AST returnScope.methods */ 79 @end /* end of returnScope implementation */ 82 /* AST returnScope.synthesize */ 95 /* AST returnScope.methods */ 117 @end /* end of returnScope implementation */
|
/external/antlr/runtime/ObjC/Framework/examples/polydiff/ |
D | PolyParser.m | 64 /* AST returnScope.synthesize */ 77 /* AST returnScope.methods */ 99 @end /* end of returnScope implementation */ 102 /* AST returnScope.synthesize */ 115 /* AST returnScope.methods */ 137 @end /* end of returnScope implementation */ 140 /* AST returnScope.synthesize */ 153 /* AST returnScope.methods */ 175 @end /* end of returnScope implementation */
|
D | Simplifier.m | 118 /* AST returnScope.synthesize */ 131 /* AST returnScope.methods */ 153 @end /* end of returnScope implementation */ 156 /* AST returnScope.synthesize */ 169 /* AST returnScope.methods */ 191 @end /* end of returnScope implementation */ 194 /* AST returnScope.synthesize */ 207 /* AST returnScope.methods */ 229 @end /* end of returnScope implementation */ 232 /* AST returnScope.synthesize */ [all …]
|
D | PolyPrinter.m | 89 @implementation PolyPrinter_poly_return /* returnScope */ 102 @end /* end of returnScope implementation */
|
D | PolyDifferentiator.m | 70 /* AST returnScope.synthesize */ 83 /* AST returnScope.methods */ 105 @end /* end of returnScope implementation */
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Python3/ |
D | ST.stg | 38 @returnScope.ruleReturnInit() ::= << 42 @returnScope.ruleReturnMembers() ::= <<
|
D | Python3.stg | 412 <returnScope(scope=ruleDescriptor.returnScope)> 490 <elseif(ruleDescriptor.returnScope)> 491 <ruleDescriptor.returnScope.attributes:{ a | 1309 returnScope(scope) ::= <<
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Python/ |
D | ST.stg | 38 @returnScope.ruleReturnInit() ::= << 42 @returnScope.ruleReturnMembers() ::= <<
|
/external/antlr/runtime/Python/ |
D | TODO | 4 - did I miss a change to Python.stg/returnScope?
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/ |
D | CSharp3.stg | 532 <returnScope(ruleDescriptor.returnScope)> 610 …criptor)> retval = new <returnType(ruleDescriptor)>(<if(ruleDescriptor.returnScope.attributes)>thi… 612 <elseif(ruleDescriptor.returnScope)> 613 <ruleDescriptor.returnScope.attributes:{ a | 1504 <if(ruleDescriptor.returnScope.attributes && ruleDescriptor.hasMultipleReturnValues)> 1548 returnScope(scope) ::= << 1562 @returnScope.ruleReturnMembers() ::= <<
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Java/ |
D | ST.stg | 40 @returnScope.ruleReturnMembers() ::= <<
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/ |
D | CSharp2.stg | 551 <returnScope(ruleDescriptor.returnScope)> 634 <elseif(ruleDescriptor.returnScope)> 635 <ruleDescriptor.returnScope.attributes:{ a | 1524 <if(ruleDescriptor.returnScope.attributes && ruleDescriptor.hasMultipleReturnValues)> 1568 returnScope(scope) ::= << 1582 @returnScope.ruleReturnMembers() ::= <<
|
D | ST.stg | 46 @returnScope.ruleReturnMembers() ::= <<
|
/external/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ |
D | DefineGrammarItemsWalker.g | 240 r.returnScope = grammar.createReturnScope(name,$ret.getToken()); 241 r.returnScope.addAttributes($ret.text, ',');
|