22 #ifndef UTAP_LIBPARSER_HH 23 #define UTAP_LIBPARSER_HH 39 #define ID_TOO_LONG "$Identifier_is_too_long._Limit_length_is_4000."
static void setPath(ParserBuilder *builder, std::string s)
Sets the current path to s, offset to 0 and line to 1.
Help class used by the lexer, parser and xmlreader to keep track of the current position.
The ParserBuilder interface is used by the parser to output the parsed system.
static void reset()
Resets position tracker to position 0.
static void newline(ParserBuilder *builder, int n)
Increments line by n and adds the position to builder.
static int increment(ParserBuilder *builder, int n)
Sets the position of builder to [position, position + n) and increments position and offset by n...
bool isKeyword(const char *id, uint32_t syntax)