lib
SequenceParser Class Reference
#include <sequenceparser.h>
Detailed Description
The parser that gets the element list and returns a syntax tree.Definition at line 39 of file sequenceparser.h.
Public Member Functions | |
SequenceParser (const SymbolTable &table) | |
ElementType * | parse (QPtrList< BasicElement > &elements) |
void | nextToken () |
uint | getStart () const |
uint | getEnd () const |
TokenType | getTokenType () const |
void | setElementType (uint pos, ElementType *type) |
ElementType * | getPrimitive () |
QString | text () |
Member Function Documentation
ElementType * SequenceParser::parse | ( | QPtrList< BasicElement > & | elements | ) |
void SequenceParser::nextToken | ( | ) |
void SequenceParser::setElementType | ( | uint | pos, | |
ElementType * | type | |||
) |
Tells the element about its new type.
- Parameters:
-
pos the position of the element type the new type
Definition at line 38 of file sequenceparser.cc.
ElementType * SequenceParser::getPrimitive | ( | ) |
QString SequenceParser::text | ( | ) |
The documentation for this class was generated from the following files: