22 #ifndef UTAP_LIBPARSER_HH
23 #define UTAP_LIBPARSER_HH
39 #define ID_TOO_LONG "$Identifier_is_too_long._Limit_length_is_4000."
bool isKeyword(const char *id, uint32_t syntax)
Definition: keywords.cc:310
Definition: libparser.h:41
Definition: libparser.h:42
static void reset()
Resets position tracker to position 0.
static uint32_t position
Definition: libparser.h:63
static uint32_t offset
Definition: libparser.h:62
static std::string path
Definition: libparser.h:64
static syntax_t syntax
Definition: parser.cc:102
static int increment(ParserBuilder *builder, int n)
Sets the position of builder to [position, position + n) and increments position and offset by n...
Definition: lexer.cc:602
static void newline(ParserBuilder *builder, int n)
Increments line by n and adds the position to builder.
Definition: lexer.cc:609
Definition: libparser.h:44
The ParserBuilder interface is used by the parser to output the parsed system.
Definition: builder.h:79
syntax_t
Definition: libparser.h:41
static uint32_t line
Definition: libparser.h:61
Definition: libparser.h:46
static void setPath(ParserBuilder *builder, std::string s)
Sets the current path to s, offset to 0 and line to 1.
Definition: lexer.cc:587
Definition: libparser.h:43
Help class used by the lexer, parser and xmlreader to keep track of the current position.
Definition: libparser.h:58
Definition: libparser.h:45