public DFA(Parser parser, NFA nfa){
		
		mParser = parser;
		mNFA = nfa;
		mNFA.Reset();
		StateDFA newState = CreateState(); // First state is also the initial state.
		mStates.add(newState);
		ProcessState(newState);
	}