A cross-platform functional programming language

TokenData Struct Reference

The token data returned by the lexer. More...

#include <Token.hpp>

Inheritance diagram for TokenData:

List of all members.

Public Attributes

int id
 Token id.
char svalue [MaxTokenSize]
 Token text.
char * lvalue
 Token text, if length > MaxTokenSize.
bool hidden
 Whether token should be passed to parser.
int line
 Line number of token.
int col
 Column number of token.

Detailed Description

The token data returned by the lexer.

This is the data that gets passed to the parser. This is because the parser expects plain C struct without even a default ctor.

The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines