Home
last modified time | relevance | path

Searched refs:stateNumber (Results 1 – 25 of 47) sorted by relevance

12

/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime/
DNoViableAltException.cs68 …ltException(string grammarDecisionDescription, int decisionNumber, int stateNumber, IIntStream inp… in NoViableAltException() argument
69 : this(grammarDecisionDescription, decisionNumber, stateNumber, input, 1) in NoViableAltException()
73 …ltException(string grammarDecisionDescription, int decisionNumber, int stateNumber, IIntStream inp… in NoViableAltException() argument
78 this._stateNumber = stateNumber; in NoViableAltException()
81 …ng message, string grammarDecisionDescription, int decisionNumber, int stateNumber, IIntStream inp… in NoViableAltException() argument
82 : this(message, grammarDecisionDescription, decisionNumber, stateNumber, input, 1) in NoViableAltException()
86 …ng message, string grammarDecisionDescription, int decisionNumber, int stateNumber, IIntStream inp… in NoViableAltException() argument
91 this._stateNumber = stateNumber; in NoViableAltException()
94 …ng message, string grammarDecisionDescription, int decisionNumber, int stateNumber, IIntStream inp… in NoViableAltException() argument
95 … : this(message, grammarDecisionDescription, decisionNumber, stateNumber, input, 1, innerException) in NoViableAltException()
[all …]
/external/antlr/tool/src/main/java/org/antlr/analysis/
DDFA.java305 boolean alreadyRenumbered = s.stateNumber<i; in resetStateNumbersToBeContiguous()
308 s.stateNumber = snum; // rewrite state numbers to be 0..n-1 in resetStateNumbersToBeContiguous()
435 accept.set(s.stateNumber,
535 min.set(s.stateNumber, Utils.integer((char)smin));
536 max.set(s.stateNumber, Utils.integer((char)smax));
548 int smax = max.get(s.stateNumber);
549 int smin = min.get(s.stateNumber);
553 transition.set(s.stateNumber, stateTransitions);
560 Utils.integer(edge.target.stateNumber));
570 Utils.integer(edge.target.stateNumber));
[all …]
DDecisionProbe.java290 Integer stateI = Utils.integer(d.stateNumber); in removeRecursiveOverflowState()
602 dfaStatesUnaliased.add(Utils.integer(d.stateNumber)); in getUnaliasedDFAStateSet()
646 if ( d.stateNumber > 0 ) { in reportRecursionOverflow()
647 Integer stateI = Utils.integer(d.stateNumber); in reportRecursionOverflow()
710 stateReachable.put(startState.stateNumber, REACHABLE_YES); in reachesState()
716 stateReachable.put(s.stateNumber, REACHABLE_BUSY); in reachesState()
724 Integer targetStatus = stateReachable.get(edgeTarget.stateNumber); in reachesState()
729 stateReachable.put(s.stateNumber, REACHABLE_YES); in reachesState()
738 stateReachable.put(s.stateNumber, REACHABLE_YES); in reachesState()
743 stateReachable.put(s.stateNumber, REACHABLE_NO); in reachesState()
[all …]
DNFAContext.java123 this.cachedHashCode = invokingState.stateNumber; in NFAContext()
255 if ( sp.invokingState.stateNumber == state ) { in recursionDepthEmanatingFromState()
290 buf.append(sp.invokingState.stateNumber); in toString()
DNFAToDFAConverter.java88 System.out.println("convert DFA state "+d.stateNumber+ in convert()
417 Integer tI = Utils.integer(targetState.stateNumber); in addTransition()
599 System.out.println("closure at "+p.enclosingRule.name+" state "+p.stateNumber+"|"+ in closure()
600 alt+" filling DFA state "+d.stateNumber+" with context "+context in closure()
613 new NFAConfiguration(p.stateNumber, in closure()
623 System.out.println("state is "+d.dfa.decisionNumber+"."+d.stateNumber); in closure()
637 int depth = context.recursionDepthEmanatingFromState(p.stateNumber); in closure()
664 System.out.println("analysis overflow in closure("+d.stateNumber+")"); in closure()
898 dfa.setState(labelDFATarget.stateNumber, null); in reach()
958 dfa.setState(d.stateNumber, existingState); in addDFAStateToWorkList()
[all …]
DTransition.java68 return label.hashCode() + target.stateNumber; in hashCode()
85 return label+"->"+target.stateNumber; in toString()
DDFAOptimizer.java185 Integer sI = Utils.integer(d.stateNumber); in optimizeExitBranches()
215 Integer sI = Utils.integer(d.stateNumber); in optimizeEOTBranches()
DMachineProbe.java88 if (e.target.stateNumber == nextState.stateNumber) { in getEdgeLabels()
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
DNoViableAltException.cs62 …ltException(string grammarDecisionDescription, int decisionNumber, int stateNumber, IIntStream inp… in NoViableAltException() argument
66 this._stateNumber = stateNumber; in NoViableAltException()
69 …ng message, string grammarDecisionDescription, int decisionNumber, int stateNumber, IIntStream inp… in NoViableAltException() argument
73 this._stateNumber = stateNumber; in NoViableAltException()
76 …ng message, string grammarDecisionDescription, int decisionNumber, int stateNumber, IIntStream inp… in NoViableAltException() argument
80 this._stateNumber = stateNumber; in NoViableAltException()
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/
DNoViableAltException.java33 public int stateNumber; field in NoViableAltException
40 int stateNumber, in NoViableAltException() argument
46 this.stateNumber = stateNumber; in NoViableAltException()
/external/antlr/runtime/ObjC/Framework/
DNoViableAltException.h33 int stateNumber; variable
40 - (void)setStateNumber:(NSInteger)stateNumber;
44 @property (getter=stateNumber,setter=setStateNumber:) NSInteger stateNumber;
DNoViableAltException.m44 stateNumber = theStateNumber;
52 [desc appendFormat:@" decision:%d state:%d", decisionNumber, stateNumber];
70 // stateNumber
72 - (NSInteger) stateNumber
74 return stateNumber;
79 stateNumber = aStateNumber;
/external/antlr/runtime/JavaScript/src/org/antlr/runtime/
DNoViableAltException.js3 stateNumber, argument
9 this.stateNumber = stateNumber;
/external/antlr/tool/src/main/java/org/antlr/tool/
DDOTGenerator.java77 Utils.integer(startState.stateNumber)); in getDOT()
85 Utils.integer(startState.stateNumber)); in getDOT()
114 if ( markedStates.contains(Utils.integer(s.stateNumber)) ) { in walkCreatingDFADOT()
118 markedStates.add(Utils.integer(s.stateNumber)); // mark this node as completed. in walkCreatingDFADOT()
314 String stateLabel = String.valueOf(s.stateNumber); in getStateLabel()
318 buf.append(s.stateNumber); in getStateLabel()
DNFAFactory.java70 n.stateNumber = state; in newState()
438 firstAlt.endOfBlockStateNumber = blockEndNFAState.stateNumber; in build_AlternativeBlock()
470 decisionState.endOfBlockStateNumber = blockEndNFAState.stateNumber; in build_Aoptional()
485 A.left.endOfBlockStateNumber = A.right.stateNumber; in build_Aoptional()
531 A.left.endOfBlockStateNumber = A.right.stateNumber; in build_Aplus()
601 A.left.endOfBlockStateNumber = A.right.stateNumber; in build_Astar()
602 bypassDecisionState.endOfBlockStateNumber = blockEndNFAState.stateNumber; in build_Astar()
DFASerializer.java142 int normalizedStateNumber = s.stateNumber; in walkSerializingFA()
180 int normalizedTargetStateNumber = edge.target.stateNumber; in walkSerializingFA()
/external/antlr/runtime/ActionScript/project/src/org/antlr/runtime/
DNoViableAltException.as33 public var stateNumber:int; variable in org.antlr.runtime.NoViableAltException
37 stateNumber:int,
43 this.stateNumber = stateNumber;
/external/antlr/runtime/Python3/antlr3/
Dexceptions.py305 self, grammarDecisionDescription, decisionNumber, stateNumber, input argument
311 self.stateNumber = stateNumber
/external/antlr/runtime/Python/antlr3/
Dexceptions.py306 self, grammarDecisionDescription, decisionNumber, stateNumber, input argument
312 self.stateNumber = stateNumber
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/JavaScript/
DJavaScript.stg827 dfaState(k,edges,eotPredictsAlt,description,stateNumber,semPredState) ::= <<
828 var LA<decisionNumber>_<stateNumber> = this.input.LA(<k>);<\n>
836 …new org.antlr.runtime.NoViableAltException("<description>", <decisionNumber>, <stateNumber>, this.…
848 dfaOptionalBlockState(k,edges,eotPredictsAlt,description,stateNumber,semPredState) ::= <<
849 var LA<decisionNumber>_<stateNumber> = this.input.LA(<k>);<\n>
859 dfaLoopbackState(k,edges,eotPredictsAlt,description,stateNumber,semPredState) ::= <<
860 var LA<decisionNumber>_<stateNumber> = this.input.LA(<k>);<\n>
891 dfaStateSwitch(k,edges,eotPredictsAlt,description,stateNumber,semPredState) ::= <<
900 …new org.antlr.runtime.NoViableAltException("<description>", <decisionNumber>, <stateNumber>, this.…
907 dfaOptionalBlockStateSwitch(k,edges,eotPredictsAlt,description,stateNumber,semPredState) ::= <<
[all …]
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Perl5/
DPerl5.stg851 dfaState(k,edges,eotPredictsAlt,description,stateNumber,semPredState) ::= <<
852 my $LA<decisionNumber>_<stateNumber> = $self->input->LA(<k>);<\n>
863 state_number => <stateNumber>,
877 dfaOptionalBlockState(k,edges,eotPredictsAlt,description,stateNumber,semPredState) ::= <<
878 my $LA<decisionNumber>_<stateNumber> = $self->input->LA(<k>);<\n>
888 dfaLoopbackState(k,edges,eotPredictsAlt,description,stateNumber,semPredState) ::= <<
889 my $LA<decisionNumber>_<stateNumber> = $self->input->LA(<k>);<\n>
920 dfaStateSwitch(k,edges,eotPredictsAlt,description,stateNumber,semPredState) ::= <<
932 state_number => <stateNumber>,
942 dfaOptionalBlockStateSwitch(k,edges,eotPredictsAlt,description,stateNumber,semPredState) ::= <<
[all …]
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Python3/
DPython3.stg984 dfaState(k,edges,eotPredictsAlt,description,stateNumber,semPredState) ::= <<
985 LA<decisionNumber>_<stateNumber> = self.input.LA(<k>)<\n>
992 nvae = NoViableAltException("<description>", <decisionNumber>, <stateNumber>, self.input)<\n>
1003 dfaOptionalBlockState(k,edges,eotPredictsAlt,description,stateNumber,semPredState) ::= <<
1004 LA<decisionNumber>_<stateNumber> = self.input.LA(<k>)<\n>
1014 dfaLoopbackState(k,edges,eotPredictsAlt,description,stateNumber,semPredState) ::= <<
1015 LA<decisionNumber>_<stateNumber> = self.input.LA(<k>)<\n>
1045 dfaStateSwitch(k,edges,eotPredictsAlt,description,stateNumber,semPredState) ::= <<
1059 nvae = NoViableAltException("<description>", <decisionNumber>, <stateNumber>, self.input)<\n>
1066 dfaOptionalBlockStateSwitch(k,edges,eotPredictsAlt,description,stateNumber,semPredState) ::= <<
[all …]
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Scala/
DScala.stg886 dfaState(k,edges,eotPredictsAlt,description,stateNumber,semPredState) ::= <<
887 val LA<decisionNumber>_<stateNumber> = input.LA(<k>)<\n>
894 val nvae = new NoViableAltException("<description>", <decisionNumber>, <stateNumber>, input)<\n>
906 dfaOptionalBlockState(k,edges,eotPredictsAlt,description,stateNumber,semPredState) ::= <<
907 val LA<decisionNumber>_<stateNumber> = input.LA(<k>)<\n>
917 dfaLoopbackState(k,edges,eotPredictsAlt,description,stateNumber,semPredState) ::= <<
918 val LA<decisionNumber>_<stateNumber> = input.LA(<k>)<\n>
949 dfaStateSwitch(k,edges,eotPredictsAlt,description,stateNumber,semPredState) ::= <<
957 val nvae = new NoViableAltException("<description>", <decisionNumber>, <stateNumber>, input)<\n>
964 dfaOptionalBlockStateSwitch(k,edges,eotPredictsAlt,description,stateNumber,semPredState) ::= <<
[all …]
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Java/
DJava.stg907 dfaState(k,edges,eotPredictsAlt,description,stateNumber,semPredState) ::= <<
908 int LA<decisionNumber>_<stateNumber> = input.LA(<k>);
917 new NoViableAltException("<description>", <decisionNumber>, <stateNumber>, input);
962 dfaOptionalBlockState(k,edges,eotPredictsAlt,description,stateNumber,semPredState) ::= <<
963 int LA<decisionNumber>_<stateNumber> = input.LA(<k>);
973 dfaLoopbackState(k,edges,eotPredictsAlt,description,stateNumber,semPredState) ::= <<
974 int LA<decisionNumber>_<stateNumber> = input.LA(<k>);
1005 dfaStateSwitch(k,edges,eotPredictsAlt,description,stateNumber,semPredState) ::= <<
1014 new NoViableAltException("<description>", <decisionNumber>, <stateNumber>, input);
1021 dfaOptionalBlockStateSwitch(k,edges,eotPredictsAlt,description,stateNumber,semPredState) ::= <<
[all …]
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/ActionScript/
DActionScript.stg844 dfaState(k,edges,eotPredictsAlt,description,stateNumber,semPredState) ::= <<
845 var LA<decisionNumber>_<stateNumber>:int = input.LA(<k>);<\n>
852 throw new NoViableAltException("<description>", <decisionNumber>, <stateNumber>, input);<\n>
863 dfaOptionalBlockState(k,edges,eotPredictsAlt,description,stateNumber,semPredState) ::= <<
864 var LA<decisionNumber>_<stateNumber>:int = input.LA(<k>);<\n>
874 dfaLoopbackState(k,edges,eotPredictsAlt,description,stateNumber,semPredState) ::= <<
875 var LA<decisionNumber>_<stateNumber>:int = input.LA(<k>);<\n>
906 dfaStateSwitch(k,edges,eotPredictsAlt,description,stateNumber,semPredState) ::= <<
914 throw new NoViableAltException("<description>", <decisionNumber>, <stateNumber>, input);<\n>
920 dfaOptionalBlockStateSwitch(k,edges,eotPredictsAlt,description,stateNumber,semPredState) ::= <<
[all …]

12