Lines Matching defs:state
44 // create state 0, the "reject" state
46 // create a state representing being in all of the NFA's start states at once
49 // this becomes state 1, our start state
64 * Returns an existing state with the given label, or creates a new one and returns it.
77 NFAState state = fNFA.fStates[nfaState];
78 if (state.fKind == NFAState::kRemapped_Kind) {
79 for (int next : state.fData) {
103 void scanState(DFAState* state) {
104 state->fIsScanned = true;
108 for (int idx : state->fLabel.fStates) {
121 this->addTransition(c, state->fId, nextState->fId);