Home | History | Annotate | Download | only in lex

Lines Matching refs:NFAState

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)) {
109 for (int nextState : nfaState.fNext) {
110 if (fNFA.fStates[nextState].fKind == NFAState::kAccept_Kind) {