public void Reset(IStringLiteralLexerRule newLiteral) { LexerRule = newLiteral; _index = 0; _capture = null; Literal = newLiteral.Literal; }
public void Reset(IStringLiteralLexerRule newLiteral, int position) { LexerRule = newLiteral; _index = 0; _capture = null; Position = position; Literal = newLiteral.Literal; }
public StringLiteralLexeme(IStringLiteralLexerRule lexerRule) { Reset(lexerRule); }
public StringLiteralLexeme(IStringLiteralLexerRule lexerRule, int position) { Reset(lexerRule, position); }
public StringLiteralLexeme(IStringLiteralLexerRule lexerRule) : this(lexerRule.Literal, lexerRule.TokenType) { }