Synopsis - Synopsis/TypeAnalysis/ConstEvaluator.hh Details

# Synopsis/TypeAnalysis/ConstEvaluator.hh

source code

## Includes from this file:

- include Synopsis/PTree/Visitor.hh
- include Synopsis/PTree/Atoms.hh
- include Synopsis/PTree/Lists.hh
- include Synopsis/SymbolLookup/Scope.hh

## Declarations in this file:

### Classes in Synopsis::TypeAnalysis

ConstEvaluator

Evaluate the value of a constant expression.

### Data members in Synopsis::TypeAnalysis::ConstEvaluator

my_scope
my_valid
my_value

### Functions in Synopsis::TypeAnalysis

evaluate_const(const SymbolLookup::Scope*,const PTree::Node*,long&)

Evaluate the value of a constant expression.

### Member functions in Synopsis::TypeAnalysis::ConstEvaluator

ConstEvaluator(const SymbolLookup::Scope*)
evaluate(const PTree::Node*,long&)
visit(PTree::CondExpr*)
visit(PTree::FstyleCastExpr*)
visit(PTree::Identifier*)
visit(PTree::InfixExpr*)
visit(PTree::Literal*)
visit(PTree::ParenExpr*)
visit(PTree::SizeofExpr*)
visit(PTree::UnaryExpr*)

### Namespaces in Synopsis

TypeAnalysis