coan 4.2.4
#include "report.h"
#include "chew.h"
#include "evaluator.h"
#include "configured_symbols.h"
#include "io.h"
#include "contradiction.h"
#include "args.h"
#include "swiss_army.h"
#include "line_select.h"
#include "if_control.h"
Include dependency graph for symbol.c:

Go to the source code of this file.

Functions

static void symbol_init (symbol_h sym, char const *name, size_t namelen)
static void symbol_copy_init (symbol_h dest, symbol_const_h src)
static int symbol_name_compare (symbol_const_h sym, char const *name, size_t namelen)
static void report_symbol_configuration (bool define, int gripe, symbol_const_h sym, canonical_string_const_h old_def, canonical_string_const_h new_def, char const *tail)
static canonical_string_h symbol_definition_resolve (symbol_const_h sym, ptr_vector_h history)
symbol_h symbol_new (char const *name, size_t namelen)
void symbol_dispose (symbol_h sym)
symbol_h symbol_copy (symbol_const_h src)
void symbol_swap (symbol_h lhs, symbol_h rhs)
void symbol_assign (symbol_h dest, symbol_const_h src)
bool symbol_equal (symbol_const_h lhs, symbol_const_h rhs)
line_type_t symbol_define (symbol_h sym, char const *tail, char const **pend)
line_type_t symbol_undefine (symbol_h sym, char const *tail, char const **pend)
char const * symbol_name (symbol_const_h sym)
canonical_string_const_h symbol_definition (symbol_const_h sym)
int symbol_compare (symbol_const_h lhs, void const *rhs, size_t len)
bool symbol_is_legal (char const *tok, size_t toklen)
bool symbol_is_configured (symbol_const_h sym)
bool symbol_is_global (symbol_const_h sym)
bool is_symbol_start_char (char cp)
bool is_symbol_inner_char (char cp)
bool symbol_reported (symbol_const_h sym)
canonical_string_const_h symbol_resolve (symbol_h sym, ptr_vector_h history)
line_type_t symbol_evaluate_status (bool define, char const *symstart, const char *tail, const char **pend)

Detailed Description

This file implements the Symbol component

Definition in file symbol.c.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines