libmya 0.1.0
Library to parse Mya language.
|
Go to the source code of this file.
Functions | |
unsigned int | parse_statement (module_t *module, ast_node_t *parent, token_t *token) |
Parse a statement adding it as a children on parent AST node. | |
unsigned int | parse_statement_include (module_t *module, ast_node_t *parent, token_t *token) |
Parse a include statement adding it as a children on parent AST node. | |
unsigned int | parse_statement_set (module_t *module, ast_node_t *parent, token_t *token) |
Parse a set statement adding it as a children on parent AST node. | |
unsigned int | parse_expression (module_t *module, ast_node_t *parent, token_t *token) |
Parse a mathematical expression adding it as a children on parent AST node. | |
unsigned int parse_expression | ( | module_t * | module, |
ast_node_t * | parent, | ||
token_t * | token ) |
Parse a mathematical expression adding it as a children on parent
AST node.
module | The module where the AST is. |
parent | The AST node parent for the expression. |
token | The token where to start parsing the expression. |
Definition at line 17 of file parse_expression.c.
unsigned int parse_statement | ( | module_t * | module, |
ast_node_t * | parent, | ||
token_t * | token ) |
Parse a statement adding it as a children on parent
AST node.
module | The module where the AST is. |
parent | The AST node parent for the statement. |
token | The token where to start parsing the statement. |
Definition at line 8 of file parse_statement.c.
unsigned int parse_statement_include | ( | module_t * | module, |
ast_node_t * | parent, | ||
token_t * | token ) |
Parse a include statement adding it as a children on parent
AST node.
module | The module where the AST is. |
parent | The AST node parent for the statement. |
token | The token where to start parsing the statement. |
Definition at line 6 of file parse_statement_include.c.
unsigned int parse_statement_set | ( | module_t * | module, |
ast_node_t * | parent, | ||
token_t * | token ) |
Parse a set statement adding it as a children on parent
AST node.
module | The module where the AST is. |
parent | The AST node parent for the statement. |
token | The token where to start parsing the statement. |
Definition at line 6 of file parse_statement_set.c.