public virtual CommonToken Scan(string startRule, IList <NFAState> visitedStates) { LexerActionGetTokenType actions = new LexerActionGetTokenType(this, grammar); Scan(startRule, actions, visitedStates); return(actions.token); }
public virtual CommonToken Scan( String startRule, IList visitedStates ) { LexerActionGetTokenType actions = new LexerActionGetTokenType( this, grammar ); Scan( startRule, actions, visitedStates ); return actions.token; }