Inferno
0.2
|
#include <typeof.hpp>
Public Member Functions | |
virtual TreePtr< Node > | operator() (TreePtr< Node > c, TreePtr< Node > root) |
TreePtr< CPPTree::Type > | Get (TreePtr< CPPTree::Expression > o) |
TreePtr< CPPTree::Type > | Get (TreePtr< CPPTree::Operator > op, Sequence< CPPTree::Type > optypes) |
TreePtr< CPPTree::Type > | GetStandard (Sequence< CPPTree::Type > &optypes) |
TreePtr< CPPTree::Type > | GetStandard (Sequence< CPPTree::Numeric > &optypes) |
TreePtr< CPPTree::Type > | GetSpecial (TreePtr< CPPTree::Operator > op, Sequence< CPPTree::Type > &optypes) |
TreePtr< CPPTree::Type > | GetLiteral (TreePtr< CPPTree::Literal > l) |
TreePtr< CPPTree::Expression > | IsConstructorCall (TreePtr< Node > c, TreePtr< CPPTree::Call > call) |
Static Public Attributes | |
static TypeOf | instance |
Definition at line 7 of file typeof.hpp.
TreePtr< Type > TypeOf::Get | ( | TreePtr< CPPTree::Expression > | o | ) |
Definition at line 13 of file typeof.cpp.
References ASSERT, ASSERTFAIL, FOREACH, INT, TypeDb::int_default_signed, TypeDb::integral_bits, OOStd::Sequence< Itemiser::Element, TreePtrInterface, deque< TreePtr< VALUE_TYPE > > >::push_back(), and TRACE.
Referenced by operator()().
TreePtr< Type > TypeOf::Get | ( | TreePtr< CPPTree::Operator > | op, |
Sequence< CPPTree::Type > | optypes | ||
) |
Definition at line 112 of file typeof.cpp.
References ASSERT, ASSERTFAIL, FOREACH, INT, TypeDb::integral_bits, and OOStd::ContainerCommon< Itemiser::Element, TreePtrInterface, deque< TreePtr< VALUE_TYPE > > >::size().
TreePtr< Type > TypeOf::GetLiteral | ( | TreePtr< CPPTree::Literal > | l | ) |
Definition at line 319 of file typeof.cpp.
References ASSERT, ASSERTFAIL, TypeDb::char_bits, and TypeDb::char_default_signed.
TreePtr< Type > TypeOf::GetSpecial | ( | TreePtr< CPPTree::Operator > | op, |
Sequence< CPPTree::Type > & | optypes | ||
) |
Definition at line 282 of file typeof.cpp.
References ASSERT, ASSERTFAIL, and OOStd::ContainerCommon< Itemiser::Element, TreePtrInterface, deque< TreePtr< VALUE_TYPE > > >::size().
TreePtr< Type > TypeOf::GetStandard | ( | Sequence< CPPTree::Type > & | optypes | ) |
TreePtr< Type > TypeOf::GetStandard | ( | Sequence< CPPTree::Numeric > & | optypes | ) |
Definition at line 215 of file typeof.cpp.
References ASSERT, INT, TypeDb::integral_bits, and OOStd::ContainerCommon< Itemiser::Element, TreePtrInterface, deque< TreePtr< VALUE_TYPE > > >::size().
TreePtr< Expression > TypeOf::IsConstructorCall | ( | TreePtr< Node > | c, |
TreePtr< CPPTree::Call > | call | ||
) |
Definition at line 366 of file typeof.cpp.
References ASSERT.
TypeOf TypeOf::instance [static] |
Definition at line 32 of file typeof.hpp.
Referenced by Steps::AddStateEnumVar::AddStateEnumVar(), Steps::CleanupCompoundExpression::CleanupCompoundExpression(), Steps::DetectCombableFor::DetectCombableFor(), DetectSCDynamic< SCFUNC >::DetectSCDynamic(), DetectSCNotifyDelta::DetectSCNotifyDelta(), DetectSCNotifyImmediate::DetectSCNotifyImmediate(), Steps::ExtractCallParams::ExtractCallParams(), Steps::GenerateImplicitCasts::GenerateImplicitCasts(), Steps::LabelVarsToEnum::LabelVarsToEnum(), Steps::MultiplexorToIf::MultiplexorToIf(), Validate::operator()(), Steps::ReduceVoidCompoundExpression::ReduceVoidCompoundExpression(), Steps::SwitchToIfGoto::SwitchToIfGoto(), and Steps::UseTempForReturnValue::UseTempForReturnValue().