Home
last modified time | relevance | path

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

/aosp_15_r20/external/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/
H A DDefineGrammarItemsWalker.g57 protected int outerAltNum = 0;
326 this.outerAltNum=1;
334 this.outerAltNum++;
365 // r.TrackAltsWithRewrites($start,this.outerAltNum);
439 $act.outerAltNum = this.outerAltNum;
444 $act2.outerAltNum = this.outerAltNum;
449 $SEMPRED.outerAltNum = this.outerAltNum;
456 $GATED_SEMPRED.outerAltNum = this.outerAltNum;
501 grammar.altReferencesRule( currentRuleName, $scope_, $rr, this.outerAltNum );
504 $rarg.outerAltNum = this.outerAltNum;
[all …]
H A DActionTranslator.g52 int outerAltNum;
66 this.outerAltNum = actionAST.outerAltNum;
72 int outerAltNum)
79 this.outerAltNum = outerAltNum;
115 new CommonToken(ANTLRParser.ACTION,action),outerAltNum);
120 return enclosingRule.getTokenRefsInAlt(id, outerAltNum)!=null;
123 return enclosingRule.getRuleRefsInAlt(id, outerAltNum)!=null;
132 refs = enclosingRule.getTokenRefsInAlt(ref, outerAltNum);
135 refs = enclosingRule.getRuleRefsInAlt(ref, outerAltNum);
302 label = enclosingRule.getElementLabel($x.text, outerAltNum, generator);
[all …]
H A DCodeGenTreeWalker.g72 private int outerAltNum = 0;
87 return outerAltNum;
91 outerAltNum = value;
558 this.outerAltNum=1;
573 this.outerAltNum++;
608 currentAltHasASTRewrite = r.hasRewrite(outerAltNum);
611 r.trackTokenReferenceInAlt($start, outerAltNum);
685 currentAltHasASTRewrite = r.hasRewrite(outerAltNum);
901 if ( grammar.buildAST() && !r.hasRewrite(outerAltNum) ) {
957 if ( encRule!=null && encRule.hasRewrite(outerAltNum) && astSuffix!=null )
[all …]
H A DTreeToNFAConverter.g65 protected int outerAltNum = 0;
81 other.outerAltNum = outerAltNum;
89 if ( r.hasRewrite( outerAltNum ) )
96 other.outerAltNum = outerAltNum;
111 other.outerAltNum = outerAltNum;
287 this.outerAltNum=1;
300 outerAltNum++;
H A DActionAnalysis.g52 int outerAltNum = 0;
60 this.outerAltNum = actionAST.outerAltNum;
94 else if ( enclosingRule.getRuleRefsInAlt(x.getText(), outerAltNum)!=null ) {
/aosp_15_r20/external/antlr/tool/src/main/java/org/antlr/tool/
H A DRule.java276 public void trackTokenReferenceInAlt(GrammarAST refAST, int outerAltNum) { in trackTokenReferenceInAlt() argument
277 List<GrammarAST> refs = altToTokenRefMap[outerAltNum].get(refAST.getText()); in trackTokenReferenceInAlt()
280 altToTokenRefMap[outerAltNum].put(refAST.getText(), refs); in trackTokenReferenceInAlt()
285 public List<GrammarAST> getTokenRefsInAlt(String ref, int outerAltNum) { in getTokenRefsInAlt() argument
286 if ( altToTokenRefMap[outerAltNum]!=null ) { in getTokenRefsInAlt()
287 List<GrammarAST> tokenRefASTs = altToTokenRefMap[outerAltNum].get(ref); in getTokenRefsInAlt()
293 public void trackRuleReferenceInAlt(GrammarAST refAST, int outerAltNum) { in trackRuleReferenceInAlt() argument
294 List<GrammarAST> refs = altToRuleRefMap[outerAltNum].get(refAST.getText()); in trackRuleReferenceInAlt()
297 altToRuleRefMap[outerAltNum].put(refAST.getText(), refs); in trackRuleReferenceInAlt()
302 public List<GrammarAST> getRuleRefsInAlt(String ref, int outerAltNum) { in getRuleRefsInAlt() argument
[all …]
H A DGrammarSanity.java267 int outerAltNum) in ensureAltIsSimpleNodeOrTree() argument
275 outerAltNum); in ensureAltIsSimpleNodeOrTree()
293 outerAltNum); in ensureAltIsSimpleNodeOrTree()
299 outerAltNum); in ensureAltIsSimpleNodeOrTree()
H A DGrammarAST.java117 public int outerAltNum; field in GrammarAST
165 this.outerAltNum = t.outerAltNum; in initialize()
H A DGrammar.java1995 int outerAltNum) in altReferencesRule() argument
2011 r.trackRuleReferenceInAlt(refAST, outerAltNum); in altReferencesRule()
2024 public void altReferencesTokenID(String ruleName, GrammarAST refAST, int outerAltNum) { in altReferencesTokenID() argument
2029 r.trackTokenReferenceInAlt(refAST, outerAltNum); in altReferencesTokenID()
/aosp_15_r20/external/antlr/tool/src/main/java/org/antlr/codegen/
H A DCodeGenerator.java950 actionTree.outerAltNum); in translateArgAction()
1067 int outerAltNum, in translateTemplateConstructor() argument
1096 gen.setOuterAltNum(outerAltNum); in translateTemplateConstructor()
1113 int outerAltNum) in issueInvalidScopeError() argument
1142 int outerAltNum) in issueInvalidAttributeError() argument
1158 if ( label!=null || enclosingRule.getRuleRefsInAlt(x, outerAltNum)!=null ) { in issueInvalidAttributeError()
1194 int outerAltNum) in issueInvalidAttributeError() argument
1211 enclosingRule.getRuleRefsInAlt(x, outerAltNum)!=null || in issueInvalidAttributeError()
/aosp_15_r20/out/soong/.intermediates/prebuilts/sdk/current/androidx/m2repository/androidx/room/room-external-antlr/2.7.0-alpha12/androidx.room_room-external-antlr/linux_glibc_common/local-combined/
Dandroidx.room_room-external-antlr.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/androidx/ META- ...
/aosp_15_r20/prebuilts/sdk/current/androidx/m2repository/androidx/room/room-external-antlr/2.7.0-alpha12/
HDroom-external-antlr-2.7.0-alpha12.jarMETA-INF/ META-INF/MANIFEST.MF androidx/ androidx/room/ androidx/ ...
/aosp_15_r20/out/soong/.intermediates/prebuilts/sdk/current/androidx/androidx.room_room-compiler-plugin/linux_glibc_common/combined/
Dandroidx.room_room-compiler-plugin.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/LICENSE.txt META ...
/aosp_15_r20/prebuilts/bazel/common/android_tools/android_tools/
Dall_android_tools_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com ...