coan 4.2.4
|
![]() |
Modules | |
Macro-generated code | |
Files | |
file | evaluator.c |
file | evaluator.h |
Functions | |
line_type_t | eval_line (void) |
eval_result_t | eval_definition_text (char const **pdef) |
eval_result_t eval_definition_text | ( | char const ** | pdef | ) |
Evaluate text within a symbol definition.
pdef | On entry points to the address from whih to parse definitional text. On exit receives the address of the unparsed remainder of the text. |
The function is a wrapper for eval_table that controls entry and exit from the state of parsing a symbol definition as opposed to input source. When parsing a symbol definition diagnostics are suppressed that would be emitted if parsing input source.
Definition at line 1323 of file evaluator.c.
References eval_table(), SET_PUBLIC, and SET_STATE.
Referenced by symbol_resolve().
line_type_t eval_line | ( | void | ) |
Parse the current input line and return its line type.
Definition at line 1158 of file evaluator.c.
References bail(), canonical_identifier(), canonical_string_dispose(), canonical_string_length(), canonical_string_text(), chew_on(), CMD_ERRORS, CMD_PRAGMAS, CMD_SYMBOLS, configured_symbol_match(), debug(), dropping_line(), eligible_line(), eval_free_form_directive(), eval_hash_define(), eval_hash_include(), eval_hash_undef(), eval_if(), EVENT_SUMMARY_ERROR_OUTPUT, flush_contradiction(), forget_contradiction(), get_directive_type(), get_line(), GET_PUBLIC, GRIPE_GARBAGE_AFTER_DIRECTIVE, GRIPE_UNBALANCED_PAREN, GRIPE_UNCONDITIONAL_ERROR_INPUT, GRIPE_UNKNOWN_DIRECTIVE, HASH_DEFINE, HASH_ELIF, HASH_ELSE, HASH_ENDIF, HASH_ERROR, HASH_IF, HASH_IFDEF, HASH_IFNDEF, HASH_INCLUDE, HASH_PRAGMA, HASH_UNDEF, is_unconditional_line(), line_len(), LS_CODE, LS_DIRECTIVE, LS_NEUTER, LT_DIRECTIVE_KEEP, LT_ELIF, LT_ELSE, LT_ENDIF, LT_EOF, LT_FALSE, LT_IF, LT_PLAIN, LT_TRUE, NO_COMMENT, read_offset(), read_pos(), report(), report_symbol(), set_exit_flags(), SET_PUBLIC, SET_STATE, symbol_definition(), transition(), unconfigured_symbol_tally(), and was_unconditional_line().
Referenced by node_proc().