Exemplo n.º 1
0
 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);
 }
Exemplo n.º 2
0
 public StepLexer(IParser parser, IGrammarContainer grammarContainer, ReactiveList <SourceCodeLine> sourceLines, ILexerOptions lexerOptions) : base(parser, grammarContainer, sourceLines, lexerOptions)
 {
 }