#include <language.h>
methods with the symbol identifiers of all methods this languaget can provide a body for, but doesn't populate that body in languaget::typecheck (i.e. languaget should populate the body of method function_id in symbol_table. Definition at line 36 of file language.h.
Definition at line 219 of file language.h.
Definition at line 220 of file language.h.
Is it possible to call three-argument typecheck() on this object?
Reimplemented in ansi_c_languaget, and statement_list_languaget.
Definition at line 132 of file language.h.
Requests this languaget should populate the body of method function_id in symbol_table.
This will only be called if methods_provided advertised the given function_id could be provided by this languaget instance.
Reimplemented in java_bytecode_languaget.
Definition at line 103 of file language.h.
Definition at line 26 of file language.cpp.
Implemented in java_bytecode_languaget, ansi_c_languaget, cpp_languaget, json_symtab_languaget, and statement_list_languaget.
Implemented in java_bytecode_languaget, ansi_c_languaget, cpp_languaget, json_symtab_languaget, and statement_list_languaget.
Final adjustments, e.g.
initializing stub functions and globals that were discovered during function loading
Reimplemented in java_bytecode_languaget.
Definition at line 16 of file language.cpp.
Formats the given expression in a language-specific way.
Reimplemented in java_bytecode_languaget, ansi_c_languaget, cpp_languaget, and statement_list_languaget.
Definition at line 32 of file language.cpp.
Formats the given type in a language-specific way.
Reimplemented in java_bytecode_languaget, ansi_c_languaget, cpp_languaget, and statement_list_languaget.
Definition at line 41 of file language.cpp.
Create language-specific support functions, such as __CPROVER_start, __CPROVER_initialize and language-specific library functions.
This runs after the typecheck phase but before lazy function loading. Anything that must wait until lazy function loading is done can be deferred until final, which runs after lazy function loading is complete. Functions introduced here are visible to lazy loading and can influence its decisions (e.g. picking the types of input parameters and globals), whereas anything introduced during final cannot.
Implemented in json_symtab_languaget, statement_list_languaget, java_bytecode_languaget, ansi_c_languaget, and cpp_languaget.
Implemented in java_bytecode_languaget, ansi_c_languaget, cpp_languaget, json_symtab_languaget, and statement_list_languaget.
Definition at line 21 of file language.cpp.
Should fill methods with the symbol identifiers of all methods this languaget can provide a body for, but doesn't populate that body in languaget::typecheck (i.e.
there is no need to mention methods whose bodies are eagerly generated). It should be prepared to handle a convert_lazy_method call for any symbol added to methods.
Reimplemented in java_bytecode_languaget.
Definition at line 94 of file language.h.
Reimplemented in java_bytecode_languaget, ansi_c_languaget, cpp_languaget, and statement_list_languaget.
Definition at line 84 of file language.h.
Implemented in java_bytecode_languaget, ansi_c_languaget, cpp_languaget, json_symtab_languaget, and statement_list_languaget.
Implemented in java_bytecode_languaget, ansi_c_languaget, cpp_languaget, json_symtab_languaget, and statement_list_languaget.
Reimplemented in java_bytecode_languaget, ansi_c_languaget, and cpp_languaget.
Definition at line 46 of file language.h.
Set language-specific options.
Reimplemented in java_bytecode_languaget, ansi_c_languaget, cpp_languaget, and statement_list_languaget.
Definition at line 40 of file language.h.
Implemented in java_bytecode_languaget, ansi_c_languaget, cpp_languaget, json_symtab_languaget, and statement_list_languaget.
Parses the given string into an expression.
Implemented in json_symtab_languaget, java_bytecode_languaget, ansi_c_languaget, cpp_languaget, and statement_list_languaget.
Encodes the given type in a language-specific way.
Reimplemented in ansi_c_languaget, cpp_languaget, and statement_list_languaget.
Definition at line 50 of file language.cpp.
Implemented in java_bytecode_languaget, statement_list_languaget, ansi_c_languaget, cpp_languaget, and json_symtab_languaget.
typecheck without removing specified entries from the symbol table
Some concrete subclasses of languaget discard unused symbols from a goto binary as part of typechecking it. This function allows the caller to specify a list of symbols that should be kept, even if that language's typecheck() implementation would normally discard those symbols.
This function should only be called on objects for which a call to can_keep_symbols() returns true.
Reimplemented in ansi_c_languaget, and statement_list_languaget.
Definition at line 146 of file language.h.