GScanner

Undocumented in source.

Members

Variables

config
GScannerConfig* config;

link into the scanner configuration

inputName
const(char)* inputName;

name of input stream, featured by the default message handler

line
uint line;

line number of the last token from g_scanner_get_next_token()

maxParseErrors
uint maxParseErrors;

unused

msgHandler
GScannerMsgFunc msgHandler;

handler function for _warn and _error

nextLine
uint nextLine;

line number of the last token from g_scanner_peek_next_token()

nextPosition
uint nextPosition;

char number of the last token from g_scanner_peek_next_token()

nextToken
GTokenType nextToken;

token parsed by the last g_scanner_peek_next_token()

nextValue
GTokenValue nextValue;

value of the last token from g_scanner_peek_next_token()

parseErrors
uint parseErrors;

g_scanner_error() increments this field

position
uint position;

char number of the last token from g_scanner_get_next_token()

qdata
GData* qdata;

quarked data

token
GTokenType token;

token parsed by the last g_scanner_get_next_token()

userData
void* userData;

unused

value
GTokenValue value;

value of the last token from g_scanner_get_next_token()