Exemple #1
0
        internal AntlrActionClassifierLexer([NotNull] ICharStream input, [NotNull] AntlrClassifierLexer lexer)
            : this(input)
        {
            Requires.NotNull(input, nameof(input));
            Requires.NotNull(lexer, nameof(lexer));

            _lexer = lexer;
        }
        internal AntlrActionClassifierLexer(ICharStream input, AntlrClassifierLexer lexer)
            : this(input)
        {
            Contract.Requires <ArgumentNullException>(input != null, "input");
            Contract.Requires <ArgumentNullException>(lexer != null, "lexer");

            _lexer = lexer;
        }