GME
13
|
#include <OCLTree.h>
OclTree::TreeNode::TreeNode | ( | TreeManager * | pManager, |
NodeKind | eKind | ||
) |
Definition at line 71 of file OCLTree.cpp.
OclTree::TreeNode::~TreeNode | ( | ) | [virtual] |
Definition at line 76 of file OCLTree.cpp.
void OclTree::TreeNode::AddViolation | ( | ObjectContext & | context, |
int | iLine, | ||
const std::string & | strSignature, | ||
const std::string & | strMessage = "" |
||
) |
Definition at line 289 of file OCLTree.cpp.
void OclTree::TreeNode::AddViolation | ( | ObjectContext & | context, |
Violation & | violation | ||
) |
Definition at line 326 of file OCLTree.cpp.
bool OclTree::TreeNode::CastType | ( | TypeContext & | context, |
const Position & | position, | ||
const TypeSeq & | vecTypeFrom, | ||
const TypeSeq & | vecTypeTo | ||
) | const |
Definition at line 127 of file OCLTree.cpp.
bool OclTree::TreeNode::Check | ( | TypeContext & | context | ) |
Definition at line 378 of file OCLTree.cpp.
OclMeta::Feature * OclTree::TreeNode::CheckAmbiguity | ( | const std::vector< OclMeta::Type * > & | vecTypes, |
const std::vector< OclSignature::Feature * > & | vecSignatures, | ||
std::vector< int > & | vecAmbiguities, | ||
int & | iPrecedence, | ||
OclCommon::ExceptionPool & | exAmbiguity | ||
) |
Definition at line 205 of file OCLTree.cpp.
OclMeta::Object OclTree::TreeNode::CheckFalseResult | ( | ObjectContext & | context, |
OclMeta::Object | spObject, | ||
int | iLine, | ||
const std::string & | strSignature | ||
) |
Definition at line 340 of file OCLTree.cpp.
virtual bool OclTree::TreeNode::CheckImplementation | ( | TypeContext & | context | ) | [protected, pure virtual] |
Implemented in OclTree::Constraint, OclTree::ContextNode, OclTree::VariableNode, OclTree::AttributeNode, OclTree::AssociationNode, OclTree::FunctionNode, OclTree::MethodNode, OclTree::IteratorNode, OclTree::OperatorNode, OclTree::IfThenElseNode, OclTree::TypeCastNode, OclTree::DeclarationNode, OclTree::CollectionNode, and OclTree::ObjectNode.
void OclTree::TreeNode::CheckInitialize | ( | ) | [protected, virtual] |
Reimplemented in OclTree::ContextNode, OclTree::VariableNode, OclTree::AttributeNode, OclTree::AssociationNode, OclTree::FunctionNode, OclTree::MethodNode, OclTree::IteratorNode, OclTree::OperatorNode, OclTree::TypeCastNode, and OclTree::DeclarationNode.
Definition at line 372 of file OCLTree.cpp.
VariableNode * OclTree::TreeNode::CreateThis | ( | TypeContext & | context, |
int | iImplicitPos | ||
) | const |
Definition at line 188 of file OCLTree.cpp.
virtual OclMeta::Object OclTree::TreeNode::Evaluate | ( | ObjectContext & | context | ) | [pure virtual] |
Implemented in OclTree::Constraint, OclTree::ContextNode, OclTree::VariableNode, OclTree::AttributeNode, OclTree::AssociationNode, OclTree::FunctionNode, OclTree::MethodNode, OclTree::IteratorNode, OclTree::OperatorNode, OclTree::IfThenElseNode, OclTree::TypeCastNode, OclTree::DeclarationNode, OclTree::CollectionNode, and OclTree::ObjectNode.
OclMeta::Object OclTree::TreeNode::EvaluateCast | ( | ObjectContext & | context, |
OclMeta::Object | spObject, | ||
int | iLine, | ||
const std::string & | strSignature, | ||
const std::string & | strTypeName = "" , |
||
bool | bOnlyTest = true |
||
) |
Definition at line 352 of file OCLTree.cpp.
TreeNode::NodeKind OclTree::TreeNode::GetKind | ( | ) | const |
Definition at line 85 of file OCLTree.cpp.
int OclTree::TreeNode::GetLastExceptionCode | ( | TypeContext & | context | ) | const |
Definition at line 199 of file OCLTree.cpp.
TypeSeq OclTree::TreeNode::GetParametralTypeSeq | ( | const TypeSeq & | vecType1, |
const TypeSeq & | vecType2, | ||
const TypeSeq & | vecTypeReturn | ||
) |
Definition at line 140 of file OCLTree.cpp.
TreeManager * OclTree::TreeNode::GetTreeManager | ( | ) | const |
Definition at line 80 of file OCLTree.cpp.
bool OclTree::TreeNode::IsBooleanReturned | ( | ) |
Definition at line 335 of file OCLTree.cpp.
bool OclTree::TreeNode::ParseTypeSeq | ( | TypeContext & | context, |
const Position & | position, | ||
std::string & | strType, | ||
TypeSeq & | vecType | ||
) | const |
Definition at line 90 of file OCLTree.cpp.
virtual std::string OclTree::TreeNode::Print | ( | const std::string & | strTabs | ) | const [pure virtual] |
Implemented in OclTree::Constraint, OclTree::ContextNode, OclTree::VariableNode, OclTree::AttributeNode, OclTree::AssociationNode, OclTree::FunctionNode, OclTree::MethodNode, OclTree::IteratorNode, OclTree::OperatorNode, OclTree::IfThenElseNode, OclTree::TypeCastNode, OclTree::DeclarationNode, OclTree::CollectionNode, and OclTree::ObjectNode.