top | up | prev | next

Token Struct

Definition at line 18 of Token.hpp

Constructors

Token()
Token(int id_)
Token(int id_, const Lexeme& match_, int line_)

Member Variables

int id
int line
Lexeme match

Constructor Details

Token Constructor

soulng::lexer::Token::Token()

Definition at line 20 of Token.hpp :
20 : id(INVALID_TOKEN)match()line(1) { }


Token Constructor

soulng::lexer::Token::Token(int id_)

Definition at line 21 of Token.hpp :
21 : id(id_)match()line(1) { }


Token Constructor

soulng::lexer::Token::Token(int id_, const Lexeme & match_, int line_)

Definition at line 22 of Token.hpp :
22 : id(id_)match(match_)line(line_) { }


top | up | prev | next