public AbstractLexer(IScheduler scheduler, IParser parser, IGrammarContainer grammarContainer, ReactiveList <SourceCodeLine> sourceLines, ILexerOptions lexerOptions) { _parser = parser; CheckNextTokenSubscriptionRegister(scheduler, parser); GrammarChangeIdentifiedSubscriptionRegister(scheduler, parser); _grammarContainer = grammarContainer; _sourceLines = sourceLines; SourceLinesChangedSubscriptionRegister(scheduler, sourceLines); _lexerOptions = lexerOptions; OptionsChangedSubscriptionRegister(scheduler, lexerOptions); _parser.RegisterLexer(scheduler, this); }
public StepLexer(IParser parser, IGrammarContainer grammarContainer, ReactiveList <SourceCodeLine> sourceLines, ILexerOptions lexerOptions) : base(parser, grammarContainer, sourceLines, lexerOptions) { }