/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
D | GrammarUnreachableAltsMessage.java | 41 public List alts; field in GrammarUnreachableAltsMessage 44 List alts) in GrammarUnreachableAltsMessage() argument 48 this.alts = alts; in GrammarUnreachableAltsMessage() 68 for (int i = 0; i < alts.size(); i++) { in toString() 69 Integer altI = (Integer) alts.get(i); in toString() 82 st.add("alts", alts); in toString()
|
D | GrammarDanglingStateMessage.java | 64 List alts = new ArrayList(); in toString() local 65 alts.addAll(problemState.getAltSet()); in toString() 66 Collections.sort(alts); in toString() 67 st.add("danglingAlts", alts); in toString()
|
D | GrammarInsufficientPredicatesMessage.java | 64 List<Integer> alts = new ArrayList<Integer>(); in toString() local 65 alts.addAll(altToLocations.keySet()); in toString() 66 Collections.sort(alts); in toString() 67 for (Integer altI : alts) { in toString()
|
D | DOTGenerator.java | 326 Set alts = ((DFAState)s).getAltSet(); in getStateLabel() local 327 if ( alts!=null ) { in getStateLabel() 331 altList.addAll(alts); in getStateLabel()
|
D | NFAFactory.java | 703 List alts = new ArrayList(); in build_WildcardTree() local 704 alts.add(wildRoot); in build_WildcardTree() 705 alts.add(optionalNodeAlt); in build_WildcardTree() 706 StateCluster blk = build_AlternativeBlock(alts); in build_WildcardTree()
|
D | GrammarAST.java | 555 int alts = 0; in getBlockALT() local 558 alts++; in getBlockALT() 560 if (alts == i) { in getBlockALT()
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
D | SerializedGrammar.java | 60 List[] alts; field in SerializedGrammar.Block 61 public Block(List[] alts) { in Block() argument 62 this.alts = alts; in Block() 67 for (int i = 0; i < alts.length; i++) { in toString() 68 List alt = alts[i]; in toString() 135 List[] alts = new List[nalts]; in readBlock() local 139 alts[i] = alt; in readBlock() 142 return new Block(alts); in readBlock()
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/ |
D | LL1DFA.java | 88 List<Integer> alts = edgeMap.get(edge); in LL1DFA() local 89 Collections.sort(alts); // make sure alts are attempted in order in LL1DFA() 95 if ( alts.size()==1 ) { in LL1DFA() 97 int alt = alts.get(0); in LL1DFA() 105 for (int i = 0; i < alts.size(); i++) { in LL1DFA() 106 int alt = (int)alts.get(i); in LL1DFA()
|
D | DFAState.java | 646 Set alts = new HashSet(); in getAltSet() local 649 alts.add(Utils.integer(configuration.alt)); in getAltSet() 651 if ( alts.size()==0 ) { in getAltSet() 654 return alts; in getAltSet()
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Ruby/ |
D | ST.stg | 26 rewriteTemplate(alts) ::= << 28 <first(alts):rewriteTemplateAltFirst(); anchor> 29 <rest(alts):{a| els<rewriteTemplateAltRest(a)>}; anchor, separator="\n\n"> 74 rewriteEmptyTemplate(alts) ::= <<
|
/external/antlr/antlr-3.4/tool/src/main/antlr3/org/antlr/grammar/v3/ |
D | TreeToNFAConverter.g | 247 // track decision if > 1 alts 283 List<StateCluster> alts = new ArrayList<StateCluster>(); 295 alts.add($a.g); 304 {$g = factory.build_AlternativeBlock(alts);} 389 // track decision if > 1 alts 435 $g.left.setDecisionNumber(d); // this is the bypass decision (2 alts) 796 testBlockAsSet returns [int alts=0] 803 ( ^(ALT (BACKTRACK_SEMPRED)? testSetElement {{$alts += $testSetElement.alts;}} EOA) 811 testSetRule returns [int alts=0] 819 ( ^(ALT (BACKTRACK_SEMPRED)? testSetElement {{$alts += $testSetElement.alts;}} EOA) [all …]
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ |
D | LeftRecursiveRules.stg | 50 recRule(ruleName, precArgDef, argName, alts, setResultAction, buildAST, 66 : <alts; separator="\n | "> 72 recPrimaryRule(ruleName, alts, userRetvals) ::= << 75 : <alts; separator="\n | ">
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Python/ |
D | ST.stg | 78 rewriteTemplate(alts) ::= << 82 <first(alts):rewriteTemplateAltFirst()> 83 <rest(alts):{it | el<rewriteTemplateAlt(it)>}> 87 <first(alts):rewriteTemplateAltFirst()> 88 <rest(alts):{it | el<rewriteTemplateAlt(it)>}> 134 rewriteEmptyTemplate(alts) ::= <<
|
/external/python/cpython2/Lib/lib2to3/ |
D | patcomp.py | 80 alts = [self.compile_node(ch) for ch in node.children[::2]] 81 if len(alts) == 1: 82 return alts[0] 83 p = pytree.WildcardPattern([[a] for a in alts], min=1, max=1)
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | otTables.py | 340 alts = rawTable["AlternateSet"] 341 if len(input) != len(alts): 342 assert len(input) == len(alts) 344 alternates[input[i]] = alts[i].Alternate 365 alts = AlternateSet() 366 alts.Alternate = set 367 alternates.append(alts) 714 for base, alts in _equivalents.items(): 716 for alt in alts:
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/ |
D | ST.stg | 63 rewriteTemplate(alts) ::= << 69 <alts:rewriteTemplateAlt(); separator="else "> 73 <alts:rewriteTemplateAlt(); separator="else "> 106 rewriteEmptyTemplate(alts) ::= <<
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/ |
D | ST.stg | 86 rewriteTemplate(alts) ::= << 92 <alts:rewriteTemplateAlt(); separator="else "> 96 <alts:rewriteTemplateAlt(); separator="else "> 128 rewriteEmptyTemplate(alts) ::= <<
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Java/ |
D | ST.stg | 78 rewriteTemplate(alts) ::= << 83 <alts:rewriteTemplateAlt(); separator="else "> 87 <alts:rewriteTemplateAlt(); separator="else "> 119 rewriteEmptyTemplate(alts) ::= <<
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ObjC/ |
D | ST4ObjC.stg | 148 rewriteTemplate(alts) ::= << 153 <alts:rewriteTemplateAlt(); separator="else "> 157 <alts:rewriteTemplateAlt(); separator="else "> 189 rewriteEmptyTemplate(alts) ::= <<
|
D | ST.stg | 269 rewriteTemplate(alts) ::= << 274 <alts:rewriteTemplateAlt(); separator="else "> 278 <alts:rewriteTemplateAlt(); separator="else "> 315 rewriteEmptyTemplate(alts) ::= <<
|
/external/python/cpython2/Lib/distutils/command/ |
D | sdist.py | 236 alts = fn 238 for fn in alts: 246 string.join(alts, ', '))
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/tool/templates/messages/languages/ |
D | en.stg | 208 "alts with rewrites can't use heterogeneous types left of ->" 249 UNREACHABLE_ALTS(alts) ::= << 250 The following alternatives can never be matched: <alts; separator=","><\n> 291 NONREGULAR_DECISION(ruleName,alts) ::= << 292 …as non-LL(*) decision due to recursive rule invocations reachable from alts <alts; separator=",">.…
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CPP/ |
D | CPP.stg | 561 block(alts,decls,decision,enclosingBlockLevel,blockLevel,decisionNumber, 571 <alts:altSwitchCase()> 577 ruleBlock(alts,decls,decision,enclosingBlockLevel,blockLevel,decisionNumber,maxK,maxAlt,description… 585 <alts:altSwitchCase()> 589 ruleBlockSingleAlt(alts,decls,decision,enclosingBlockLevel,blockLevel,decisionNumber,description) :… 593 <alts> 598 blockSingleAlt(alts,decls,decision,enclosingBlockLevel,blockLevel,decisionNumber,description) ::= << 602 <alts> 607 positiveClosureBlock(alts,decls,decision,enclosingBlockLevel,blockLevel,decisionNumber,maxK,maxAlt,… 618 <alts:altSwitchCase()> [all …]
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ActionScript/ |
D | ActionScript.stg | 491 block(alts,decls,decision,enclosingBlockLevel,blockLevel,decisionNumber,maxK,maxAlt,description) ::… 500 <alts:altSwitchCase()> 506 ruleBlock(alts,decls,decision,enclosingBlockLevel,blockLevel,decisionNumber,maxK,maxAlt,description… 514 <alts:altSwitchCase()> 518 ruleBlockSingleAlt(alts,decls,decision,enclosingBlockLevel,blockLevel,decisionNumber,description) :… 522 <alts> 527 blockSingleAlt(alts,decls,decision,enclosingBlockLevel,blockLevel,decisionNumber,description) ::= << 531 <alts> 536 positiveClosureBlock(alts,decls,decision,enclosingBlockLevel,blockLevel,decisionNumber,maxK,maxAlt,… 548 <alts:altSwitchCase()> [all …]
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/JavaScript/ |
D | JavaScript.stg | 500 block(alts,decls,decision,enclosingBlockLevel,blockLevel,decisionNumber,maxK,maxAlt,description) ::… 509 <alts:altSwitchCase()> 515 ruleBlock(alts,decls,decision,enclosingBlockLevel,blockLevel,decisionNumber,maxK,maxAlt,description… 523 <alts:altSwitchCase()> 527 ruleBlockSingleAlt(alts,decls,decision,enclosingBlockLevel,blockLevel,decisionNumber,description) :… 531 <alts> 536 blockSingleAlt(alts,decls,decision,enclosingBlockLevel,blockLevel,decisionNumber,description) ::= << 540 <alts> 545 positiveClosureBlock(alts,decls,decision,enclosingBlockLevel,blockLevel,decisionNumber,maxK,maxAlt,… 557 <alts:altSwitchCase()> [all …]
|