Home
last modified time | relevance | path

Searched refs:referencedRule (Results 1 – 15 of 15) sorted by relevance

/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
DRuleLabelScope.java78 public Rule referencedRule; field in RuleLabelScope
80 public RuleLabelScope(Rule referencedRule, Token actionToken) { in RuleLabelScope() argument
81 super("ref_"+referencedRule.name,actionToken); in RuleLabelScope()
82 this.referencedRule = referencedRule; in RuleLabelScope()
95 if ( referencedRule.returnScope!=null ) { in getAttribute()
96 return referencedRule.returnScope.getAttribute(name); in getAttribute()
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/JavaScript/
DJavaScript.stg1126 ruleLabelType(referencedRule) ::= <<
1127 <if(referencedRule.hasMultipleReturnValues)>
1128 <referencedRule.grammar.recognizerName>.<referencedRule.name>_return
1130 <if(referencedRule.hasSingleReturnValue)>
1131 <referencedRule.singleValueReturnType>
1151 …abelType(referencedRule=label.referencedRule)>!> var <label.label.text> = <initValue(typeName=rule…
1211 ruleLabelRef(referencedRule,scope,attr) ::= <<
1212 <if(referencedRule.hasMultipleReturnValues)>
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CPP/
DCPP.stg1182 ruleLabelType(referencedRule) ::= <<
1183 <if(referencedRule.hasMultipleReturnValues)>
1184 <referencedRule.name>_return
1186 <if(referencedRule.singleValueReturnType)>
1187 <referencedRule.singleValueReturnType>
1202 …leLabelType(referencedRule=label.referencedRule)> <label.label.text> = <initValue(typeName=ruleLab…
1258 ruleLabelRef(referencedRule,scope,attr) ::= <<
1259 <if(referencedRule.singleValueReturnType)>
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Java/
DJava.stg1193 ruleLabelType(referencedRule) ::= <%
1194 <if(referencedRule.hasMultipleReturnValues)>
1195 <referencedRule.grammar.recognizerName>.<referencedRule.name>_return
1197 <if(referencedRule.hasSingleReturnValue)>
1198 <referencedRule.singleValueReturnType>
1218 <ruleLabelType(referencedRule=label.referencedRule)> <label.label.text> =
1219 <initValue(typeName=ruleLabelType(referencedRule=label.referencedRule))>;<\n>
1273 ruleLabelRef(referencedRule,scope,attr) ::= <%
1274 <if(referencedRule.hasMultipleReturnValues)>
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/
DCSharp2.stg1484 ruleLabelType(referencedRule) ::= <%
1485 <if(referencedRule.returnScope.attributes&&referencedRule.hasMultipleReturnValues)>
1486 <referencedRule.grammar.recognizerName>.<referencedRule:returnStructName()>
1487 <elseif(referencedRule.hasMultipleReturnValues)>
1489 <elseif(referencedRule.hasSingleReturnValue)>
1490 <referencedRule.singleValueReturnType>
1509 …leLabelType(referencedRule=label.referencedRule)> <label.label.text> = <initValue(typeName=ruleLab…
1576 ruleLabelRef(referencedRule,scope,attr) ::= <%
1577 <if(referencedRule.hasMultipleReturnValues)>
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ActionScript/
DActionScript.stg1082 ruleLabelType(referencedRule) ::= <<
1083 <if(referencedRule.hasMultipleReturnValues)>
1086 <if(referencedRule.hasSingleReturnValue)>
1087 <referencedRule.singleValueReturnType>
1107 ….text>:<ruleLabelType(referencedRule=label.referencedRule)> = <initValue(typeName=ruleLabelType(re…
1161 ruleLabelRef(referencedRule,scope,attr) ::= <<
1162 <if(referencedRule.hasMultipleReturnValues)>
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Scala/
DScala.stg1177 ruleLabelType(referencedRule) ::= <<
1178 <if(referencedRule.hasMultipleReturnValues)>
1179 <referencedRule.name>_return
1181 <if(referencedRule.hasSingleReturnValue)>
1182 <referencedRule.singleValueReturnType>
1202 …text>: <ruleLabelType(referencedRule=label.referencedRule)> = <initValue(typeName=ruleLabelType(re…
1257 ruleLabelRef(referencedRule,scope,attr) ::= <%
1258 <if(referencedRule.hasMultipleReturnValues)>
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Delphi/
DDelphi.stg768 <ruleDescriptor.ruleListLabels:{ll|<ll.label.text>: <ruleLabelType(referencedRule=ll.referencedRule
1575 ruleLabelType(referencedRule) ::= <<
1576 <if(referencedRule.hasMultipleReturnValues)>
1577 I<referencedRule.name>_return
1579 <if(referencedRule.hasSingleReturnValue)>
1580 <referencedRule.singleValueReturnType>
1600 <label.label.text> := <initValue(typeName=ruleLabelType(referencedRule=label.referencedRule))>;<\n>
1604 <label.label.text>: <ruleLabelType(referencedRule=label.referencedRule)>;
1670 ruleLabelRef(referencedRule,scope,attr) ::= <<
1671 <if(referencedRule.hasMultipleReturnValues)>
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Perl5/
DPerl5.stg1166 ruleLabelType(referencedRule) ::= <<
1167 <if(referencedRule.hasMultipleReturnValues)>
1168 <referencedRule.name>_return
1170 <if(referencedRule.hasSingleReturnValue)>
1171 <referencedRule.singleValueReturnType>
1191 my $<label.label.text> = <initValue(typeName=ruleLabelType(referencedRule=label.referencedRule))>;<…
1250 ruleLabelRef(referencedRule,scope,attr) ::= <<
1251 <if(referencedRule.hasMultipleReturnValues)>
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/
DCSharp3.stg1466 ruleLabelType(referencedRule) ::= <%
1467 <if(referencedRule.returnScope.attributes&&referencedRule.hasMultipleReturnValues)>
1468 <referencedRule.grammar.recognizerName>.<referencedRule:returnStructName()>
1469 <elseif(referencedRule.hasMultipleReturnValues)>
1471 <elseif(referencedRule.hasSingleReturnValue)>
1472 <referencedRule.singleValueReturnType>
1491 <ruleLabelType(label.referencedRule)> <label.label.text> = <initValue(ruleLabelType(label.reference…
1560 ruleLabelRef(referencedRule,scope,attr) ::= <%
1561 <if(referencedRule.hasMultipleReturnValues)>
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ObjC/
DObjC.stg1837 ruleLabelType(referencedRule) ::= <%
1838 <if(referencedRule.hasMultipleReturnValues)>
1839 <className()>_<referencedRule.name>_return *<else>
1840 <if(referencedRule.hasSingleReturnValue)><referencedRule.singleValueReturnType><else>
1853 …leLabelType(referencedRule=label.referencedRule)> <label.label.text> = <initValue(typeName=ruleLab…
1971 ruleLabelRef(referencedRule,scope,attr) ::= <<
1972 <if(referencedRule.hasMultipleReturnValues)>
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/C/
DC.stg3013 ruleLabelType(referencedRule) ::= <%
3014 <if(referencedRule.hasMultipleReturnValues)>
3015 <referencedRule.grammar.recognizerName>_<referencedRule.name>_return
3017 <if(referencedRule.hasSingleReturnValue)>
3018 <referencedRule.singleValueReturnType>
3038 <ruleLabelType(referencedRule=label.referencedRule)> <label.label.text>;
3040 #define RETURN_TYPE_<label.label.text> <ruleLabelType(referencedRule=label.referencedRule)><\n>
3115 ruleLabelRef(referencedRule,scope,attr) ::= <<
3116 <if(referencedRule.hasMultipleReturnValues)>
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Python/
DPython.stg1353 ruleLabelRef(referencedRule,scope,attr) ::= <%
1354 <if(referencedRule.hasMultipleReturnValues)>
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Ruby/
DRuby.stg1069 ruleLabelRef(referencedRule, scope, attr) ::= <<
1070 <if(referencedRule.hasMultipleReturnValues)>
/external/antlr/antlr-3.4/tool/src/main/antlr3/org/antlr/grammar/v3/
DActionTranslator.g403 st.add("referencedRule", refdRule);