CBMC
Loading...
Searching...
No Matches
class_identifier.h
Go to the documentation of this file.
1/*******************************************************************\
2
3Module: Extract class identifier
4
5Author: Chris Smowton, [email protected]
6
7\*******************************************************************/
8
11
12#ifndef CPROVER_GOTO_PROGRAMS_CLASS_IDENTIFIER_H
13#define CPROVER_GOTO_PROGRAMS_CLASS_IDENTIFIER_H
14
15class exprt;
16class namespacet;
18class struct_exprt;
19
20#define JAVA_CLASS_IDENTIFIER_FIELD_NAME "@class_identifier"
21
23 const exprt &this_expr,
25 const namespacet &ns);
26
28 struct_exprt &expr,
29 const namespacet &ns,
31
32#endif
void set_class_identifier(struct_exprt &expr, const namespacet &ns, const struct_tag_typet &class_type)
If expr has its components filled in then sets the @class_identifier member of the struct.
exprt get_class_identifier_field(const exprt &this_expr, const struct_tag_typet &suggested_type, const namespacet &ns)
ait supplies three of the four components needed: an abstract interpreter (in this case handling func...
Definition ai.h:562
Base class for all expressions.
Definition expr.h:56
A namespacet is essentially one or two symbol tables bound together, to allow for symbol lookups in t...
Definition namespace.h:91
Struct constructor from list of elements.
Definition std_expr.h:1877
A struct tag type, i.e., struct_typet with an identifier.
Definition std_types.h:493