public ChapelClassifierLexer([NotNull] ICharStream input, ChapelClassifierLexerState state) { Requires.NotNull(input, nameof(input)); _input = input; _languageLexer = new ChapelCodeClassifierLexer(input, this); //_commentLexer = new ChapelDocCommentClassifierLexer(input, this); State = state; }
public ChapelClassifierLexer(ICharStream input, ChapelClassifierLexerState state) { Contract.Requires <ArgumentNullException>(input != null, "input"); _input = input; _languageLexer = new ChapelCodeClassifierLexer(input, this); //_commentLexer = new ChapelDocCommentClassifierLexer(input, this); State = state; }