SequenceParser Class Reference
The parser that gets the element list and returns a syntax tree. More...
#include <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 () |
Detailed Description
The parser that gets the element list and returns a syntax tree.
Definition at line 39 of file sequenceparser.h.
Member Function Documentation
|
Definition at line 44 of file sequenceparser.cc. Referenced by SequenceElement::parse(). |
|
Reads the next token.
Definition at line 51 of file sequenceparser.cc. References BasicElement::getTokenType(). |
|
Tells the element about its new token.
Definition at line 38 of file sequenceparser.cc. |
|
Definition at line 192 of file sequenceparser.cc. |
|
Definition at line 231 of file sequenceparser.cc. References BasicElement::getCharacter(), and text(). Referenced by text(). |
The documentation for this class was generated from the following files: