top | up | prev | next

ConditionalCompilationConjunctionNode Class

Definition at line 603 of Statement.hpp

Constructors

ConditionalCompilationConjunctionNode(const Span& span_, const boost::uuids::uuid& moduleId_)
ConditionalCompilationConjunctionNode(const Span& span_, const boost::uuids::uuid& moduleId_, ConditionalCompilationExpressionNode* left_, ConditionalCompilationExpressionNode* right_)

Member Functions

void Accept(Visitor& visitor) override
Node* Clone(CloneContext& cloneContext) const override

Constructor Details

ConditionalCompilationConjunctionNode Constructor

sngcm::ast::ConditionalCompilationConjunctionNode::ConditionalCompilationConjunctionNode(const Span& span_, const boost::uuids::uuid& moduleId_)

Definition at line 1302 of Statement.cpp :
1302 :
1303 ConditionalCompilationBinaryExpressionNode(NodeType::conditionalCompilationConjunctionNodespan_moduleId_)
1304 {
1305 }


Declaration at line 606 of Statement.hpp


ConditionalCompilationConjunctionNode Constructor

sngcm::ast::ConditionalCompilationConjunctionNode::ConditionalCompilationConjunctionNode(const Span& span_, const boost::uuids::uuid& moduleId_, ConditionalCompilationExpressionNode * left_, ConditionalCompilationExpressionNode * right_)

Definition at line 1307 of Statement.cpp :
1308 :
1309 ConditionalCompilationBinaryExpressionNode(NodeType::conditionalCompilationConjunctionNodespan_moduleId_left_right_)
1310 {
1311 }


Declaration at line 607 of Statement.hpp


Member Function Details

Accept Member Function

void sngcm::ast::ConditionalCompilationConjunctionNode::Accept(Visitor & visitor) override

Definition at line 1319 of Statement.cpp :
1320 {
1321     visitor.Visit(*this);
1322 }


Declaration at line 609 of Statement.hpp

Base class overridden functions: sngcm::ast::Node::Accept

Calls: sngcm::ast::Visitor::Visit


Clone Member Function

Node * sngcm::ast::ConditionalCompilationConjunctionNode::Clone(CloneContext & cloneContext) const override

Definition at line 1313 of Statement.cpp :
1314 {
1315     ConditionalCompilationConjunctionNode* clone = new ConditionalCompilationConjunctionNode(GetSpan()ModuleId()static_cast<ConditionalCompilationExpressionNode*>(Left()->Clone(cloneContext))static_cast<ConditionalCompilationExpressionNode*>(Right()->Clone(cloneContext)));
1316     return clone;
1317 }


Declaration at line 608 of Statement.hpp

Base class overridden functions: sngcm::ast::Node::Clone

Calls: sngcm::ast::ConditionalCompilationBinaryExpressionNode::Left , sngcm::ast::ConditionalCompilationBinaryExpressionNode::Right , sngcm::ast::Node::Clone , sngcm::ast::Node::GetSpan , sngcm::ast::Node::ModuleId


top | up | prev | next