public AlloyColorizerLexer(ICharStream input, AlloyClassifierLexer lexer)
            : this(input)
        {
            Contract.Requires <ArgumentNullException>(lexer != null, "lexer");

            _lexer = lexer;
        }
Example #2
0
        public AlloyColorizerLexer(ICharStream input, [NotNull] AlloyClassifierLexer lexer)
            : this(input)
        {
            Requires.NotNull(lexer, nameof(lexer));

            _lexer = lexer;
        }