Cocos2d-x  v3.11
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups
PUScriptToken Struct Reference

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

Public Attributes

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 type
 This is the id associated with the lexeme, which comes from a lexeme-token id mapping.
 
unsigned int line
 This holds the line number of the input stream where the token was found. More...
 

Detailed Description

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

Member Data Documentation

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.


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