Esempio n. 1
0
 public void Reset(IStringLiteralLexerRule newLiteral)
 {
     LexerRule = newLiteral;
     _index = 0;
     _capture = null;
     Literal = newLiteral.Literal;
 }
Esempio n. 2
0
 public void Reset(IStringLiteralLexerRule newLiteral, int position)
 {
     LexerRule = newLiteral;
     _index    = 0;
     _capture  = null;
     Position  = position;
     Literal   = newLiteral.Literal;
 }
Esempio n. 3
0
 public StringLiteralLexeme(IStringLiteralLexerRule lexerRule)
 {
     Reset(lexerRule);
 }
Esempio n. 4
0
 public StringLiteralLexeme(IStringLiteralLexerRule lexerRule, int position)
 {
     Reset(lexerRule, position);
 }
Esempio n. 5
0
 public StringLiteralLexeme(IStringLiteralLexerRule lexerRule)
     : this(lexerRule.Literal, lexerRule.TokenType)
 {
 }