80 void output(FILE*out)
const;
YWhere where
defined where
Definition: symbtbl.hh:171
Parse_type * Type
Definition: symbtbl.hh:201
struct Scope * son
Definition: symbtbl.hh:84
Definition: symbtbl.hh:110
YSymbol_type
Definition: symbtbl.hh:191
void output(FILE *out) const
Scope * scope
Definition: symbtbl.hh:93
bool search_scopes(const char *, YSymbol *&) const
search current scope and all abov
const YSymbolTable::Scope * scope
Definition: symbtbl.hh:186
YSymbol * last_symbol
Definition: symbtbl.hh:87
Definition: symbtbl.hh:113
Definition: symbtbl.hh:41
const YSymbol * pop_scope()
YLiteral value
Definition: symbtbl.hh:141
Scope * global_scope
Definition: symbtbl.hh:96
const YSymbol * owner
Definition: symbtbl.hh:89
bool search_my_scope(const char *, const YSymbol *, YSymbol *&) const
search a specified scope of a symbol
void insert_symbol(YSymbol *) const
bool search_global_scope(const char *, YSymbol *&) const
search the global_scope
const YSymbol * get_defining_symbol() const
get the symbol that defines this scope
Definition: symbtbl.hh:113
YSymbol * symbols
Definition: symbtbl.hh:86
Parse_enum::Enumerator * enumerator
Definition: symbtbl.hh:208
struct Scope * next
Definition: symbtbl.hh:84
bool search_this_scope(const char *, const Scope *, YSymbol *&) const
long Integer
Definition: symbtbl.hh:121
bool owned_by_symbol
defines wether this symbol is owned by another symbol or by a scope
Definition: symbtbl.hh:176
YConstant constant
Definition: symbtbl.hh:205
void push_scope(YSymbol *)
const char * String
Definition: symbtbl.hh:123
Definition: symbtbl.hh:78
Definition: symbtbl.hh:193
Definition: symbtbl.hh:113
Parse_composite::Element * Attribute
Definition: symbtbl.hh:203
Definition: symbtbl.hh:113
Definition: symbtbl.hh:191
Definition: symbtbl.hh:195
YSymbol * next
Definition: symbtbl.hh:184
enum YSymbol::YSymbol_type type
Definition: symbtbl.hh:157
bool search_scopes_above(const YSymbol *, YSymbol *&) const
search me all scopes above me, and not myself
Definition: symbtbl.hh:113
Definition: symbtbl.hh:138
Definition: symbtbl.hh:194
bool search_scope(const char *, YSymbol *&) const
search only current scope
bool scoped_symbol(YSymbol **result, const char *name, const YWhere &where)
creates a symbol in the current scoped
const char * get_name() const
Definition: symbtbl.hh:168
enum YLiteral::Literal_type type
double Real
Definition: symbtbl.hh:119
char Character
Definition: symbtbl.hh:125
bool Boolean
Definition: symbtbl.hh:127
Definition: symbtbl.hh:192
const YSymbolTable::Scope * defines
Definition: symbtbl.hh:188
Parse_type * type
Definition: symbtbl.hh:143
const YSymbol * get_symbol(const char *name) const
get the corresponding symbol to name
Literal_type
Definition: symbtbl.hh:113
struct Scope * up
Definition: symbtbl.hh:83