cocos2d-x  3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
PUScriptToken Struct Reference

This struct represents a token, which is an ID'd lexeme from the parsing input stream. More...

#include <CCPUScriptLexer.h>

Public Attributes

std::string lexeme
 This is the lexeme for this token. More...
 
var lexeme
 This is the lexeme for this token. More...
 
local lexeme
 This is the lexeme for this token. More...
 
std::string file
unsigned int type
 This is the id associated with the lexeme, which comes from a lexeme-token id mapping. More...
 
unsigned int line
 This holds the line number of the input stream where the token was found. More...
 

Detailed Description

This struct represents a token, which is an ID'd lexeme from the parsing input stream.

Member Data Documentation

std::string file
var file
local file
std::string lexeme

This is the lexeme for this token.

var lexeme

This is the lexeme for this token.

local lexeme

This is the lexeme for this token.

unsigned int line

This holds the line number of the input stream where the token was found.

var line

This holds the line number of the input stream where the token was found.

local line

This holds the line number of the input stream where the token was found.

unsigned int type

This is the id associated with the lexeme, which comes from a lexeme-token id mapping.

var type

This is the id associated with the lexeme, which comes from a lexeme-token id mapping.

local type

This is the id associated with the lexeme, which comes from a lexeme-token id mapping.


The documentation for this struct was generated from the following file: