Global Namespace
Inheritance Tree
Inheritance Graph
Name Index
namespace
Synopsis
::
TypeAnalysis
class ConstEvaluator
File:
../Synopsis/TypeAnalysis/ConstEvaluator.hh
Evaluate the value of a constant expression.
Public Member functions Summary:
constructor
ConstEvaluator
(const
SymbolLookup::Scope
*
s
)
bool
evaluate
(const
PTree::Node
*
node
, long&
value
)
Private Member functions Summary:
virtual
void
visit
(
PTree::Literal
*)
virtual
void
visit
(
PTree::Identifier
*)
virtual
void
visit
(
PTree::FstyleCastExpr
*)
virtual
void
visit
(
PTree::InfixExpr
*)
virtual
void
visit
(
PTree::SizeofExpr
*)
virtual
void
visit
(
PTree::UnaryExpr
*)
virtual
void
visit
(
PTree::CondExpr
*)
virtual
void
visit
(
PTree::ParenExpr
*)
Private Data members Summary:
bool
my_valid
long
my_value
const
SymbolLookup::Scope
*
my_scope
Generated on Thu Apr 16 16:28:01 2009 by
synopsis
(version devel)