public AntlrClassifierLexer(ICharStream input, AntlrClassifierLexerState state) { Contract.Requires <ArgumentNullException>(input != null, "input"); _input = input; _grammarLexer = new AntlrGrammarClassifierLexer(input, this); _actionLexer = new AntlrActionClassifierLexer(input, this); SetCurrentState(state); }
public AntlrClassifierLexer([NotNull] ICharStream input, AntlrClassifierLexerState state) { Requires.NotNull(input, nameof(input)); _input = input; _grammarLexer = new AntlrGrammarClassifierLexer(input, this); _actionLexer = new AntlrActionClassifierLexer(input, this); SetCurrentState(state); }