Go to the documentation of this file.
50 symbol.type=eval_type;
73 symbol.
name=
"decl_symbol";
82 const std::vector<std::string> builtin_objects=
84 "#lg",
"#lg_isNan",
"#lg_isFinite",
"#lop",
"#lop_toString",
85 "#lop_valueOf",
"#lop_isPrototypeOf",
"#lfunction",
"#lfp",
86 "#leval",
"#lerror",
"#lep",
"#lrerror",
"#lrep",
"#lterror",
87 "#ltep",
"#lserror",
"#lsep",
"#levalerror",
"#levalerrorp",
88 "#lrangeerror",
"#lrangeerrorp",
"#lurierror",
"#lurierrorp",
89 "#lobject",
"#lobject_get_prototype_of",
"#lboolean",
"#lbp",
90 "#lbp_toString",
"#lbp_valueOf",
"#lnumber",
"#lnp",
91 "#lnp_toString",
"#lnp_valueOf",
"#lmath",
"#lstring",
"#lsp",
92 "#lsp_toString",
"#lsp_valueOf",
"#larray",
"#lap",
"#ljson"
95 for(
const auto &identifier : builtin_objects)
98 new_symbol.
name=identifier;
101 new_symbol.
mode=
"jsil";
106 dest.
add(new_symbol);
void jsil_internal_additions(symbol_tablet &dest)
The type of an expression, extends irept.
typet type
Type of symbol.
Fixed-width bit-vector with IEEE floating-point interpretation.
irep_idt base_name
Base (non-scoped) name.
typet jsil_builtin_object_type()
irep_idt mode
Language mode.
signedbv_typet signed_int_type()
irep_idt rounding_mode_identifier()
Return the identifier of the program symbol used to store the current rounding mode.
bool add(const symbolt &symbol)
Add a new symbol to the symbol table.
irep_idt name
The unique identifier.