ACT Library
|
Functions to support the faster expression parser used by CHP/dataflow bodies. More...
#include <stdio.h>
#include <act/lang.h>
#include <common/file.h>
#include "treetypes.h"
#include "expr.h"
Go to the source code of this file.
Functions | |
void | act_init_fexpr (LFILE *) |
int | act_is_a_fexpr (LFILE *) |
void | act_free_a_fexpr (void *) |
void * | act_parse_a_fexpr (LFILE *) |
void * | act_walk_X_fexpr (ActTree *, void *) |
Variables | |
Expr *(* | expr_parse_basecase_extra )(LFILE *l) |
Functions to support the faster expression parser used by CHP/dataflow bodies.
void act_free_a_fexpr | ( | void * | ) |
External parser for fast expression parsing: free returned data
void act_init_fexpr | ( | LFILE * | ) |
External parser for fast expression parsing: initialization function
int act_is_a_fexpr | ( | LFILE * | ) |
External parser for fast expression parsing: return 1 if next symbol could be the start of an expression
void * act_parse_a_fexpr | ( | LFILE * | ) |
External parser for fast expression parsing: parse an expression, returning NULL on error, or data structure otherwise (returns an Expr *)
void * act_walk_X_fexpr | ( | ActTree * | , |
void * | |||
) |
External parser for fast expression parsing: walk the parser data structure, returning the walked fexpr type (which is also an Expr ). This just calls the act_walk_X_expr() function, since it returns the same data structure as a standard expression.
|
extern |