Home
last modified time | relevance | path

Searched refs:returnScope (Results 1 – 25 of 46) sorted by relevance

12

/external/antlr/tool/src/main/java/org/antlr/tool/
DRule.java74 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()
DNameSpaceChecker.java76 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()
DRuleLabelScope.java96 if ( referencedRule.returnScope!=null ) { in getAttribute()
97 return referencedRule.returnScope.getAttribute(name); in getAttribute()
DLeftRecursiveRuleAnalyzer.java337 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/
DST4ObjC.stg39 @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() ::= <<
DST.stg40 /* ST returnScope.properties */
65 /* ST returnScope.synthesize */
71 /* ST returnScope.methods */
86 @returnScope.ruleReturnMembers() ::= <<
88 /* ST returnScope.ruleReturnMembers -- empty */
DAST.stg120 /** 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 */
DASTTreeParser.stg47 /** 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/
DLangParser.m46 /* 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 */
DLangDumpDecl.m62 @end /* end of returnScope implementation */
/external/antlr/runtime/ObjC/Framework/examples/simplecTreeParser/
DSimpleCParser.m271 /* 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/
DTreeRewriteParser.m44 /* 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/
DPolyParser.m64 /* 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 */
DSimplifier.m118 /* 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 …]
DPolyPrinter.m89 @implementation PolyPrinter_poly_return /* returnScope */
102 @end /* end of returnScope implementation */
DPolyDifferentiator.m70 /* AST returnScope.synthesize */
83 /* AST returnScope.methods */
105 @end /* end of returnScope implementation */
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Python3/
DST.stg38 @returnScope.ruleReturnInit() ::= <<
42 @returnScope.ruleReturnMembers() ::= <<
DPython3.stg412 <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/
DST.stg38 @returnScope.ruleReturnInit() ::= <<
42 @returnScope.ruleReturnMembers() ::= <<
/external/antlr/runtime/Python/
DTODO4 - did I miss a change to Python.stg/returnScope?
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/
DCSharp3.stg532 <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/
DST.stg40 @returnScope.ruleReturnMembers() ::= <<
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/
DCSharp2.stg551 <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() ::= <<
DST.stg46 @returnScope.ruleReturnMembers() ::= <<
/external/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/
DDefineGrammarItemsWalker.g240 r.returnScope = grammar.createReturnScope(name,$ret.getToken());
241 r.returnScope.addAttributes($ret.text, ',');

12