Пример #1
0
 protected LexerStateBase(IForwardReadSequence <char> sequence, LexerStateBase lastState, IParserSet parsers)
 {
     Sequence   = sequence;
     Parsers    = parsers;
     LastState  = lastState.ToMaybe();
     TokenValue = Maybe <string> .Nothing;
 }
 public SpecialSymbolLexerState(IForwardReadSequence <char> sequence, char c, LexerStateBase lastState, IParserSet parsers) : base(sequence, c, lastState, parsers)
 {
 }
Пример #3
0
 protected LexerStateBase(IForwardReadSequence <char> sequence, string token, LexerStateBase lastState, IParserSet parsers) : this(sequence, lastState, parsers)
 {
     TokenValue = token;
 }
Пример #4
0
 protected LexerStateBase(IForwardReadSequence <char> sequence, char c, LexerStateBase lastState, IParserSet parsers) : this(sequence, lastState, parsers)
 {
     TokenValue = c.ToString();
 }
Пример #5
0
 public InitialLexerState(IForwardReadSequence <char> sequence, LexerStateBase lastState, IParserSet parsers) : base(sequence, lastState, parsers)
 {
 }
Пример #6
0
 public NumberLexerState(IForwardReadSequence <char> sequence, char c, LexerStateBase lastState, IParserSet parsers) : base(sequence, c, lastState, parsers)
 {
 }
Пример #7
0
 public SymbolLexerState(IForwardReadSequence <char> sequence, string token, char c, LexerStateBase lastState, IParserSet parsers) : base(sequence, token, c, lastState, parsers)
 {
 }