IntConstExpr Class ReferenceAn expression representing an integer constant.
More...
#include <IntConstExpr.h>
Inheritance diagram for IntConstExpr:
[legend]List of all members.
Detailed Description
An expression representing an integer constant.
Polaris Expression - See also:
- Expression/IntConstExpr.h
Expression/IntConstExpr.h
Expression/Expression.cc
An IntConstExpr represents an integer constant expression.
Definition at line 26 of file IntConstExpr.h.
Constructor & Destructor Documentation
| IntConstExpr::IntConstExpr |
( |
int |
val |
) |
[inline] |
|
| IntConstExpr::IntConstExpr |
( |
int |
val, |
|
|
int |
int_size |
|
) |
[inline] |
|
| IntConstExpr::IntConstExpr |
( |
const IntConstExpr & |
e |
) |
[inline] |
|
| IntConstExpr::IntConstExpr |
( |
|
) |
[inline, protected] |
|
Member Function Documentation
| int IntConstExpr::value |
( |
|
) |
const [virtual] |
|
| void IntConstExpr::value |
( |
int |
|
) |
[virtual] |
|
| Expression * IntConstExpr::clone |
( |
|
) |
const [virtual] |
|
| virtual void IntConstExpr::print_debug |
( |
ostream & |
o, |
|
|
Boolean |
debug |
|
) |
const [virtual] |
|
|
|
debug indicates whether it should contain extra fields
Implements Expression. |
| int IntConstExpr::structures_OK |
( |
|
) |
const [virtual] |
|
| virtual void IntConstExpr::convert |
( |
BinRep & |
exprSet, |
|
|
Symtab & |
symtab |
|
) |
[virtual] |
|
|
|
Read in the values of my fields and my subexpressions from the given BinRep object.
Convert(BinRep) expects the BinRep to be referencing an expression set of the same type as the expression. On return, all data from the expression set has been inserted into the appropriate fields in the expression object. NOTE that this converts the expression to an intermediate form which may contain TableExpr objects.
Implements Expression. |
| const ExprSignature & IntConstExpr::update_signature |
( |
|
) |
[virtual] |
|
| int IntConstExpr::node_compare |
( |
const Expression & |
ex |
) |
const [virtual] |
|
| int IntConstExpr::exchange_expr |
( |
VDL & |
vdl |
) |
[virtual] |
|
| Expression * IntConstExpr::_divide_by_int |
( |
int & |
|
) |
[protected, virtual] |
|
| int IntConstExpr::_gcd |
( |
void |
|
) |
const [protected, virtual] |
|
Friends And Related Function Documentation
Member Data Documentation
The documentation for this class was generated from the following files:
|