Home
last modified time | relevance | path

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

12

/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
DRule.java69 public AttributeScope returnScope; field in Rule
382 if ( returnScope!=null && returnScope.getAttribute(name)!=null ) { in getLocalAttributeScope()
383 scope = returnScope; in getLocalAttributeScope()
456 (returnScope!=null && returnScope.attributes.size()>1); in getHasMultipleReturnValues()
463 (returnScope!=null && returnScope.attributes.size()==1); in getHasSingleReturnValue()
470 (returnScope!=null && returnScope.attributes.size()>0); in getHasReturnValue()
474 if ( returnScope!=null && returnScope.attributes.size()==1 ) { in getSingleValueReturnType()
475 Collection retvalAttrs = returnScope.attributes.values(); in getSingleValueReturnType()
483 if ( returnScope!=null && returnScope.attributes.size()==1 ) { in getSingleValueReturnName()
484 Collection retvalAttrs = returnScope.attributes.values(); in getSingleValueReturnName()
DNameSpaceChecker.java80 if ( r.returnScope!=null ) { in checkForRuleArgumentAndReturnValueConflicts()
81 Set conflictingKeys = r.returnScope.intersection(r.parameterScope); in checkForRuleArgumentAndReturnValueConflicts()
205 else if ( (r.returnScope!=null&&r.returnScope.getAttribute(attrName)!=null) || in checkForRuleScopeAttributeConflict()
237 else if ( (r.returnScope!=null&&r.returnScope.getAttribute(label.getText())!=null) || in checkForLabelConflict()
DRuleLabelScope.java95 if ( referencedRule.returnScope!=null ) { in getAttribute()
96 return referencedRule.returnScope.getAttribute(name); in getAttribute()
DLeftRecursiveRuleAnalyzer.java336 AttributeScope returnScope = grammar.createReturnScope("",t); in getNamesFromArgAction() local
337 returnScope.addAttributes(t.getText(), ','); in getNamesFromArgAction()
338 return returnScope.attributes.keySet(); in getNamesFromArgAction()
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/treeparser/
DLangParser.m45 @implementation LangParser_start_return /* returnScope */
46 /* AST returnScope.synthesize */
59 /* AST returnScope.methods */
82 @end /* end of returnScope implementation */
85 @implementation LangParser_decl_return /* returnScope */
86 /* AST returnScope.synthesize */
99 /* AST returnScope.methods */
122 @end /* end of returnScope implementation */
125 @implementation LangParser_type_return /* returnScope */
126 /* AST returnScope.synthesize */
[all …]
DLangDumpDecl.m47 @implementation LangDumpDecl_declarator_return /* returnScope */
62 @end /* end of returnScope implementation */
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/simplecTreeParser/
DSimpleCParser.m232 @implementation SimpleCParser_program_return /* returnScope */
233 /* AST returnScope.synthesize */
246 /* AST returnScope.methods */
269 @end /* end of returnScope implementation */
272 @implementation SimpleCParser_declaration_return /* returnScope */
273 /* AST returnScope.synthesize */
286 /* AST returnScope.methods */
309 @end /* end of returnScope implementation */
312 @implementation SimpleCParser_variable_return /* returnScope */
313 /* AST returnScope.synthesize */
[all …]
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/treerewrite/
DTreeRewriteParser.m43 @implementation TreeRewriteParser_rule_return /* returnScope */
44 /* AST returnScope.synthesize */
57 /* AST returnScope.methods */
80 @end /* end of returnScope implementation */
83 @implementation TreeRewriteParser_subrule_return /* returnScope */
84 /* AST returnScope.synthesize */
97 /* AST returnScope.methods */
120 @end /* end of returnScope implementation */
/external/antlr/antlr-3.4/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/antlr-3.4/runtime/ObjC/Framework/examples/simplecTreeParser/output1/
DSimpleCParser.m264 /* AST returnScope.methods */
288 @end /* end of returnScope implementation */
296 /* AST returnScope.methods */
320 @end /* end of returnScope implementation */
328 /* AST returnScope.methods */
352 @end /* end of returnScope implementation */
360 /* AST returnScope.methods */
384 @end /* end of returnScope implementation */
392 /* AST returnScope.methods */
416 @end /* end of returnScope implementation */
[all …]
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/combined/
DCombinedParser.m69 /* returnScope */
71 /* returnScope */
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Python/
DST.stg38 @returnScope.ruleReturnInit() ::= <<
42 @returnScope.ruleReturnMembers() ::= <<
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/treerewrite/output1/
DTreeRewriteParser.m84 // returnScope.methods
117 // returnScope.methods
/external/antlr/antlr-3.4/runtime/Python/
DTODO4 - did I miss a change to Python.stg/returnScope?
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/
DCSharp3.stg490 <returnScope(ruleDescriptor.returnScope)>
568 …criptor)> retval = new <returnType(ruleDescriptor)>(<if(ruleDescriptor.returnScope.attributes)>thi…
571 <ruleDescriptor.returnScope.attributes:{ a |
1452 <if(ruleDescriptor.returnScope.attributes && ruleDescriptor.hasMultipleReturnValues)>
1467 <if(referencedRule.returnScope.attributes&&referencedRule.hasMultipleReturnValues)>
1498 returnScope(scope) ::= <<
1512 @returnScope.ruleReturnMembers() ::= <<
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/
DST.stg46 @returnScope.ruleReturnMembers() ::= <<
DCSharp2.stg509 <returnScope(ruleDescriptor.returnScope)>
593 <ruleDescriptor.returnScope.attributes:{ a |
1470 <if(ruleDescriptor.returnScope.attributes && ruleDescriptor.hasMultipleReturnValues)>
1485 <if(referencedRule.returnScope.attributes&&referencedRule.hasMultipleReturnValues)>
1516 returnScope(scope) ::= <<
1530 @returnScope.ruleReturnMembers() ::= <<
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Java/
DST.stg40 @returnScope.ruleReturnMembers() ::= <<
/external/antlr/antlr-3.4/tool/src/main/antlr3/org/antlr/grammar/v3/
DDefineGrammarItemsWalker.g239 r.returnScope = grammar.createReturnScope(name,$ret.getToken());
240 r.returnScope.addAttributes($ret.text, ',');
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Delphi/
DDelphi.stg594 <returnScopeDeclaration(scope=ruleDescriptor.returnScope)>
638 <returnScope(scope=ruleDescriptor.returnScope)>
726 <ruleDescriptor.returnScope.attributes:{ a |
738 <ruleDescriptor.returnScope.attributes:{ a |
1611 returnScope(scope) ::= <<
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CPP/
DCPP.stg409 <returnScope(scope=ruleDescriptor.returnScope)>
465 <ruleDescriptor.returnScope.attributes:{ a |
1205 returnScope(scope) ::= <<
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/JavaScript/
DJavaScript.stg320 <returnScope(scope=ruleDescriptor.returnScope)>
379 <ruleDescriptor.returnScope.attributes:{ a |
1158 returnScope(scope) ::= <<

12