AERA
|
Public Member Functions | |
Compiler (bool allow_variables_and_wildcards_outside_pattern_skeleton=false) | |
bool | compile (std::istream *stream, r_comp::Image *image, r_comp::Metadata *metadata, std::string &error, bool trace) |
bool | read_any (bool &indented, bool enforce, const Class *p, uint16 write_index, uint16 &extent_index, bool write) |
bool | read_number (bool &indented, bool enforce, const Class *p, uint16 write_index, uint16 &extent_index, bool write) |
bool | read_timestamp (bool &indented, bool enforce, const Class *p, uint16 write_index, uint16 &extent_index, bool write) |
bool | read_duration (bool &indented, bool enforce, const Class *p, uint16 write_index, uint16 &extent_index, bool write) |
bool | read_boolean (bool &indented, bool enforce, const Class *p, uint16 write_index, uint16 &extent_index, bool write) |
bool | read_string (bool &indented, bool enforce, const Class *p, uint16 write_index, uint16 &extent_index, bool write) |
bool | read_node (bool &indented, bool enforce, const Class *p, uint16 write_index, uint16 &extent_index, bool write) |
bool | read_device (bool &indented, bool enforce, const Class *p, uint16 write_index, uint16 &extent_index, bool write) |
bool | read_function (bool &indented, bool enforce, const Class *p, uint16 write_index, uint16 &extent_index, bool write) |
bool | read_expression (bool &indented, bool enforce, const Class *p, uint16 write_index, uint16 &extent_index, bool write) |
bool | read_set (bool &indented, bool enforce, const Class *p, uint16 write_index, uint16 &extent_index, bool write) |
bool | read_class (bool &indented, bool enforce, const Class *p, uint16 write_index, uint16 &extent_index, bool write) |
std::string | getObjectName (const uint16 index) const |
Definition at line 97 of file compiler.h.
r_comp::Compiler::Compiler | ( | bool | allow_variables_and_wildcards_outside_pattern_skeleton = false | ) |
Create a Compiler instance.
allow_variables_and_wildcards_outside_pattern_skeleton | (optional) Normally, a variable or a wildcard character : is not allowed in a statement, so this is false by default. But the decompiler output contains imdl and icst expressions, and these have wildcards. So, if you are compiling the decompiler output, you can set this true to allow it. (Note that the decompiled output repeats objects which were defined in the original user-supplied code which was compiled with this flag false, so it was already checked for no illegal variables or wildcards.) |
Definition at line 98 of file compiler.cpp.