public Token(string value, int origin, TokenType tokenType) { Value = value; Origin = origin; TokenType = tokenType; _hashCode = ComputeHashCode(); }
public DfaLexeme(IDfaState dfaState, TokenType tokenType) { _capture = new StringBuilder(); _currentState = dfaState; TokenType = tokenType; }
public GrammarLexerRule(TokenType tokenType, IGrammar grammar) : base(GrammarLexerRuleType, tokenType) { Grammar = grammar; }
public StringLiteralLexerRule(string literal, TokenType tokenType) { Literal = literal; TokenType = tokenType; }
public DfaLexerRule(IDfaState state, TokenType tokenType) : base(DfaLexerRuleType, tokenType) { Start = state; }
public DfaLexerRule(IDfaState state, TokenType tokenType) { Start = state; TokenType = tokenType; }
public TerminalLexerRule(ITerminal terminal, TokenType tokenType) : base(TerminalLexerRuleType, tokenType) { Terminal = terminal; }
protected BaseLexerRule(LexerRuleType lexerRuleType, TokenType tokenType) { _lexerRuleType = lexerRuleType; _tokenType = tokenType; }
public StringLiteralLexerRule(string literal, TokenType tokenType) : base(StringLiteralLexerRuleType, tokenType) { Literal = literal; }
public StringLiteralLexeme(string literal, TokenType tokenType) { Literal = literal; TokenType = tokenType; _capture = new StringBuilder(); }
public TerminalLexerRule(ITerminal terminal, TokenType tokenType) { Terminal = terminal; TokenType = tokenType; }
public GrammarLexerRule(TokenType tokenType, IGrammar grammar) { Grammar = grammar; TokenType = tokenType; }
public TerminalLexeme(ITerminal terminal, TokenType tokenType) : this(new TerminalLexerRule(terminal, tokenType)) { }
public TerminalLexeme(ITerminal terminal, TokenType tokenType) { Terminal = terminal; TokenType = tokenType; Capture = string.Empty; }
public ParseEngineLexeme(IParseEngine parseEngine, TokenType tokenType) { TokenType = tokenType; _capture = new StringBuilder(); _parseEngine = parseEngine; }