Structures for AEL - the Asterisk extension language. More...
Go to the source code of this file.
Data Structures | |
struct | ael_extension |
struct | ael_priority |
struct | parse_io |
Macros | |
#define | QUAD_MAX (0x7fffffffffffffffLL) |
#define | QUAD_MIN (-0x7fffffffffffffffLL-1) |
#define | YY_TYPEDEF_YY_SCANNER_T |
Typedefs | |
typedef void * | yyscan_t |
Enumerations | |
enum | ael_priority_type { AEL_APPCALL, AEL_CONTROL1, AEL_FOR_CONTROL, AEL_IF_CONTROL, AEL_IFTIME_CONTROL, AEL_RAND_CONTROL, AEL_LABEL, AEL_RETURN } |
Functions | |
struct pval * | ael2_parse (char *fname, int *errs) |
void | ael2_print (char *fname, pval *tree) |
void | ael2_semantic_check (pval *item, int *errs, int *warns, int *notes) |
void | destroy_pval (pval *item) |
pval * | linku1 (pval *head, pval *tail) |
pval * | npval (pvaltype type, int first_line, int last_line, int first_column, int last_column) |
Variables | |
char * | prev_word |
Structures for AEL - the Asterisk extension language.
Definition in file ael_structs.h.
#define QUAD_MAX (0x7fffffffffffffffLL) |
Definition at line 54 of file ael_structs.h.
#define QUAD_MIN (-0x7fffffffffffffffLL-1) |
Definition at line 51 of file ael_structs.h.
#define YY_TYPEDEF_YY_SCANNER_T |
Definition at line 70 of file ael_structs.h.
typedef void* yyscan_t |
Definition at line 71 of file ael_structs.h.
enum ael_priority_type |
Enumerator | |
---|---|
AEL_APPCALL | |
AEL_CONTROL1 | |
AEL_FOR_CONTROL | |
AEL_IF_CONTROL | |
AEL_IFTIME_CONTROL | |
AEL_RAND_CONTROL | |
AEL_LABEL | |
AEL_RETURN |
Definition at line 84 of file ael_structs.h.
struct pval* ael2_parse | ( | char * | fname, |
int * | errs | ||
) |
Definition at line 3344 of file ael_lex.c.
References ael_yy_scan_string(), ael_yylex_destroy(), ael_yylex_init(), ael_yyparse(), ael_yyset_lineno(), ast_log(), calloc, errno, free, io, LOG_ERROR, malloc, parse_io::pval, parse_io::scanner, strdup, and parse_io::syntax_error_count.
Referenced by pbx_load_module().
void ael2_print | ( | char * | fname, |
pval * | tree | ||
) |
Definition at line 384 of file pval.c.
References ast_log(), LOG_ERROR, and print_pval_list().
void ael2_semantic_check | ( | pval * | item, |
int * | errs, | ||
int * | warns, | ||
int * | notes | ||
) |
Definition at line 2892 of file pval.c.
References ast_alloca, ast_config_AST_VAR_DIR, check_context_names(), check_pval(), errs, notes, and warns.
Referenced by pbx_load_module().
void destroy_pval | ( | pval * | item | ) |
Definition at line 4979 of file pval.c.
Referenced by destroy_pval_item(), pbx_load_module(), and switch().
Definition at line 5926 of file pval.c.
Referenced by pvalAppCallAddArg(), pvalCasePatDefAddStatement(), pvalContextAddStatement(), pvalESwitchesAddSwitch(), pvalGlobalsAddStatement(), pvalIncludesAddInclude(), pvalIncludesAddIncludeWithTimeConstraints(), pvalMacroAddArg(), pvalMacroAddStatement(), pvalMacroCallAddArg(), pvalStatementBlockAddStatement(), pvalSwitchAddCase(), pvalSwitchesAddSwitch(), pvalTopLevAddObject(), and switch().
struct pval * npval | ( | pvaltype | type, |
int | first_line, | ||
int | last_line, | ||
int | first_column, | ||
int | last_column | ||
) |
Definition at line 3966 of file ael.tab.c.
References calloc, pval::endcol, pval::endline, pval::filename, first_column, first_line, S_OR, pval::startcol, pval::startline, strdup, pval::type, and type.
Referenced by npval2(), and switch().
char* prev_word |
Definition at line 874 of file ael_lex.c.
Referenced by c_prevword(), and switch().