HomeSort by relevance Sort by last modified time
    Searched refs:NFAState (Results 26 - 44 of 44) sorted by null

12

  /external/skia/src/sksl/lex/
NFAtoDFA.h 11 #include "NFAState.h"
74 void add(int nfaState, std::vector<int>* states) {
75 NFAState state = fNFA.fStates[nfaState];
76 if (state.fKind == NFAState::kRemapped_Kind) {
82 if (nfaState == state) {
86 states->push_back(nfaState);
107 const NFAState& nfaState = fNFA.fStates[idx];
108 if (nfaState.accept(c))
    [all...]
  /external/skqp/src/sksl/lex/
NFAtoDFA.h 11 #include "NFAState.h"
74 void add(int nfaState, std::vector<int>* states) {
75 NFAState state = fNFA.fStates[nfaState];
76 if (state.fKind == NFAState::kRemapped_Kind) {
82 if (nfaState == state) {
86 states->push_back(nfaState);
107 const NFAState& nfaState = fNFA.fStates[idx];
108 if (nfaState.accept(c))
    [all...]
  /external/antlr/tool/src/main/java/org/antlr/analysis/
NFAContext.java 106 public NFAState invokingState;
119 public NFAContext(NFAContext parent, NFAState invokingState) {
NFAToDFAConverter.java 140 NFAState alt = dfa.decisionNFAStartState;
154 dfa.getNFADecisionStartState().decisionStateType==NFAState.LOOPBACK )
159 closure((NFAState)alt.transition[0].target,
169 closure((NFAState)alt.transition[0].target,
184 alt = (NFAState)alt.transition[1].target;
591 public void closure(NFAState p,
681 NFAState ruleTarget = (NFAState)ref.target;
686 NFAState whichStateInvokedRule = context.invokingState;
689 NFAState continueState = edgeToRule.followState
    [all...]
DFAOptimizer.java 161 (decisionType==NFAState.OPTIONAL_BLOCK_START ||
162 decisionType==NFAState.LOOPBACK) )
DFA.java 73 /** From what NFAState did we create the DFA? */
74 public NFAState decisionNFAStartState;
226 public DFA(int decisionNumber, NFAState decisionStartState) {
749 NFAState nfaStart = getNFADecisionStartState();
751 NFAState TokensRuleStart = r.startState;
752 NFAState TokensDecisionStart =
753 (NFAState)TokensRuleStart.transition[0].target;
    [all...]
DFAState.java 224 public void addNFAConfiguration(NFAState state, NFAConfiguration c) {
262 public NFAConfiguration addNFAConfiguration(NFAState state,
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/pgen2/
pgen.py 174 assert isinstance(start, NFAState)
175 assert isinstance(finish, NFAState)
181 assert isinstance(state, NFAState)
191 for nfastate in state.nfaset:
192 for label, next in nfastate.arcs:
255 aa = NFAState()
256 zz = NFAState()
304 a = NFAState()
305 z = NFAState()
337 class NFAState(object):
    [all...]
  /external/python/cpython2/Lib/lib2to3/pgen2/
pgen.py 174 assert isinstance(start, NFAState)
175 assert isinstance(finish, NFAState)
181 assert isinstance(state, NFAState)
191 for nfastate in state.nfaset:
192 for label, next in nfastate.arcs:
255 aa = NFAState()
256 zz = NFAState()
304 a = NFAState()
305 z = NFAState()
337 class NFAState(object)
    [all...]
  /external/python/cpython3/Lib/lib2to3/pgen2/
pgen.py 174 assert isinstance(start, NFAState)
175 assert isinstance(finish, NFAState)
181 assert isinstance(state, NFAState)
191 for nfastate in state.nfaset:
192 for label, next in nfastate.arcs:
255 aa = NFAState()
256 zz = NFAState()
304 a = NFAState()
305 z = NFAState()
337 class NFAState(object)
    [all...]
  /external/antlr/tool/src/main/java/org/antlr/tool/
CompositeGrammar.java 30 import org.antlr.analysis.NFAState;
65 protected Set<NFAState> refClosureBusy = new HashSet<NFAState>();
73 * Maps state number to NFAState object.
78 protected Vector<NFAState> numberToStateList = new Vector<NFAState>(1000);
328 public void addState(NFAState state) {
333 public NFAState getState(int s) {
451 " invoking rule: "+((NFAState)refAST.NFAStartState.transition[0].target).enclosingRule);
452 refs.add(((NFAState)refAST.NFAStartState.transition[0].target).enclosingRule)
    [all...]
GrammarAST.java 31 import org.antlr.analysis.NFAState;
69 public NFAState NFAStartState = null;
75 public NFAState NFATreeDownState = null;
81 public NFAState followingNFAState = null;
184 public NFAState getNFAStartState() {
188 public void setNFAStartState(NFAState nfaStartState) {
Grammar.java 39 import org.antlr.analysis.NFAState;
200 public NFAState startState;
    [all...]
Rule.java 30 import org.antlr.analysis.NFAState;
48 public NFAState startState;
49 public NFAState stopState;
ErrorManager.java 33 import org.antlr.analysis.NFAState;
703 Collection<? extends Collection<? extends NFAState>> callSiteStates)
    [all...]
  /external/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/
TreeToNFAConverter.g 121 protected void addFollowTransition( String ruleName, NFAState following ) {
125 NFAState end = r.stopState;
128 end = (NFAState)end.transition( 1 ).target;
134 NFAState n = factory.newState();
244 NFAState start = thisR.startState;
259 NFAState end = thisR.stopState;
433 NFAState altBlockState = (NFAState)$g.left.transition(0).target;
455 NFAState altBlockState = (NFAState)$g.left.transition(0).target
    [all...]
CodeGenTreeWalker.g 890 NFAState afterDOWN = (NFAState)$start.NFATreeDownState.transition(0).target;
    [all...]
  /external/antlr/tool/src/main/java/org/antlr/codegen/
ACyclicDFACodeGenerator.java 78 if ( dfa.getNFADecisionStartState().decisionStateType==NFAState.LOOPBACK ) {
81 else if ( dfa.getNFADecisionStartState().decisionStateType==NFAState.OPTIONAL_BLOCK_START ) {
CodeGenerator.java 560 NFAState followingNFAState = referencedElementNode.followingNFAState;
    [all...]

Completed in 1106 milliseconds

12