#include <parser.h>
Collaboration diagram for celx::Parser:

Public Member Functions | |
| Expression * | parseAddExpression () |
| Expression * | parseAssignmentExpression () |
| Statement * | parseCompoundStatement () |
| Expression * | parseEqualityExpression () |
| Expression * | parseExpression () |
| Statement * | parseExpressionStatement () |
| Expression * | parseFinalExpression () |
| Function * | parseFunction () |
| Expression * | parseFunctionCallExpression () |
| Statement * | parseIfStatement () |
| Expression * | parseMultiplyExpression () |
| Parser (Scanner &) | |
| Expression * | parseRelationalExpression () |
| Statement * | parseReturnStatement () |
| Statement * | parseStatement () |
| Expression * | parseSubexpression () |
| Expression * | parseUnaryExpression () |
| Statement * | parseVarStatement () |
| Statement * | parseWhileStatement () |
| ~Parser () | |
Private Member Functions | |
| void | beginFrame () |
| void | defineLocal (const std::string &) |
| void | endFrame () |
| int | resolveName (const std::string &) |
| void | syntaxError (const std::string &) |
Private Attributes | |
| int | funcDepth |
| int | loopDepth |
| Scanner & | scanner |
| std::vector< std::string > | scope |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Referenced by main(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.1