Asterisk - The Open Source Telephony Project
18.5.0
|
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 3360 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(), include_stack_index, io, LOG_ERROR, LOG_WARNING, malloc(), my_col, my_file, my_lineno, prev_word, 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 382 of file pval.c.
References ast_log, item, LOG_ERROR, print_pval_list(), traverse_pval_item_template(), and traverse_pval_template().
Referenced by main().
void ael2_semantic_check | ( | pval * | item, |
int * | errs, | ||
int * | warns, | ||
int * | notes | ||
) |
Definition at line 2885 of file pval.c.
References ast_alloca, ast_config_AST_VAR_DIR, check_context_names(), check_pval(), errs, item, notes, and warns.
Referenced by pbx_load_module().
void destroy_pval | ( | pval * | item | ) |
struct pval * npval | ( | pvaltype | type, |
int | first_line, | ||
int | last_line, | ||
int | first_column, | ||
int | last_column | ||
) |
Definition at line 3965 of file ael.tab.c.
References calloc, pval::endcol, pval::endline, pval::filename, my_file, S_OR, pval::startcol, pval::startline, strdup, pval::type, and type.
Referenced by npval2(), and yyparse().
char* prev_word |
Definition at line 889 of file ael_lex.c.
Referenced by ael2_parse(), c_prevword(), while(), yydestruct(), and yyparse().