Home
last modified time | relevance | path

Searched refs:Usecode_symbol (Results 1 – 14 of 14) sorted by relevance

/dports/games/exult/exult-snapshot-v1.7.0.20211128/usecode/
H A Ducsymtbl.h35 class Usecode_symbol {
54 Usecode_symbol(const char *nm, Symbol_kind k, int v, int e = -1)
57 virtual ~Usecode_symbol() = default;
72 class Usecode_scope_symbol : public Usecode_symbol {
74 using Syms_vector = std::vector<Usecode_symbol *>;
78 using Name_table = std::map<std::string, Usecode_symbol *>;
79 using Val_table = std::map<int, Usecode_symbol *>;
92 : Usecode_symbol(nm, k, v) in Usecode_symbol() function
97 void add_sym(Usecode_symbol *sym);
98 Usecode_symbol *operator[](const char *nm);
[all …]
H A Ducsymtbl.cc53 static_cast<Usecode_symbol::Symbol_kind>(Read2(in)); in read()
55 Usecode_symbol *sym; in read()
56 if (kind == Usecode_symbol::class_scope) { in read()
65 if (kind == Usecode_symbol::shape_fun) { in read()
69 sym = new Usecode_symbol(nm, kind, val, shape); in read()
102 void Usecode_scope_symbol::add_sym(Usecode_symbol *sym) { in add_sym()
117 Usecode_symbol *sym = *it; in setup_by_name()
124 Usecode_symbol *sym = *it; in setup_by_val()
140 Usecode_symbol *Usecode_scope_symbol::operator[](const char *nm) { in operator []()
150 Usecode_symbol *Usecode_scope_symbol::operator[](int val) { in operator []()
[all …]
H A Ducinternal.cc273 Usecode_symbol *fsym = symtbl ? (*symtbl)[funcid] : nullptr; in call_function()
341 Usecode_symbol *fsym = symtbl ? (*symtbl)[oldfunction] : nullptr; in return_from_function()
351 Usecode_symbol *fsym = symtbl ? (*symtbl)[newfunction] : nullptr; in return_from_function()
376 Usecode_symbol *fsym = symtbl ? (*symtbl)[oldfunction] : nullptr; in return_from_procedure()
388 Usecode_symbol *fsym = symtbl ? (*symtbl)[newfunction] : nullptr; in return_from_procedure()
3015 Usecode_symbol *fsym = cls ? (*cls)[id] : nullptr; in call_method()
3047 Usecode_symbol *ucsym = symtbl ? (*symtbl)[nm] : nullptr; in find_function()
3064 Usecode_symbol *ucsym = symtbl ? (*symtbl)[funcid] : nullptr; in find_function_name()
3147 Usecode_symbol *fsym = symtbl ? (*symtbl)[fun->id] : nullptr; in write()
3256 Usecode_symbol *fsym = symtbl ? (*symtbl)[nm] : nullptr; in read_usevars()
H A Dintrinsics.cc3463 Usecode_symbol *ucsym = symtbl ? (*symtbl)[usefun] : nullptr; in USECODE_INTRINSIC()
/dports/games/exult/exult-snapshot-v1.7.0.20211128/mapedit/
H A Ducbrowse.cc333 Usecode_symbol::Symbol_kind kind = sym->get_kind(); in setup_list()
339 case Usecode_symbol::fun_defined: in setup_list()
344 case Usecode_symbol::shape_fun: in setup_list()
349 case Usecode_symbol::object_fun: in setup_list()
354 case Usecode_symbol::class_scope: in setup_list()
/dports/games/exult/exult-snapshot-v1.7.0.20211128/usecode/compiler/
H A Ducfun.cc887 Usecode_symbol *Uc_function::create_sym( in create_sym()
889 Usecode_symbol::Symbol_kind kind = Usecode_symbol::fun_defined; in create_sym()
892 kind = Usecode_symbol::fun_extern_defined; in create_sym()
894 kind = Usecode_symbol::shape_fun; in create_sym()
896 kind = Usecode_symbol::object_fun; in create_sym()
897 return new Usecode_symbol(get_name(), kind, get_usecode_num(), in create_sym()
H A Ducclass.cc178 Usecode_symbol *Uc_class::create_sym( in create_sym()
181 Usecode_symbol::class_scope, num, num_vars); in create_sym()
H A Ducclass.h62 Usecode_symbol *create_sym() override;
H A Ducsym.h42 class Usecode_symbol; variable
672 virtual Usecode_symbol *create_sym() = 0;
H A Ducfun.h220 Usecode_symbol *create_sym() override;
/dports/games/exult/exult-snapshot-v1.7.0.20211128/usecode/ucxt/src/
H A Ducdata.cc377 Usecode_symbol::Symbol_kind kind; in load_funcs()
381 kind = Usecode_symbol::shape_fun; in load_funcs()
383 kind = Usecode_symbol::object_fun; in load_funcs()
385 kind = Usecode_symbol::fun_defined; in load_funcs()
H A Ducfunc.cc199 if (fmp->second.kind == Usecode_symbol::shape_fun) in output_ucs_funcname()
201 else if (fmp->second.kind == Usecode_symbol::object_fun) in output_ucs_funcname()
1183 Usecode_symbol *sym = (*symtbl)[ucf._funcid]; in readbin_U7UCFunc()
/dports/games/exult/exult-snapshot-v1.7.0.20211128/usecode/ucxt/include/
H A Ducfunc.h33 … bool new_class_fun, const std::string &new_funcname, Usecode_symbol::Symbol_kind new_kind, in UCFuncSet()
45 Usecode_symbol::Symbol_kind kind; // Type of function.
265 Usecode_symbol *_sym = nullptr;
/dports/games/exult/exult-snapshot-v1.7.0.20211128/
H A Dschedule.cc403 Usecode_symbol *ucsym = (*cls)[meth]; in find_method()