top | up | prev | next

ConditionalCompilationDisjunctionNode Class

Definition at line 594 of Statement.hpp

Constructors

ConditionalCompilationDisjunctionNode(const Span& span_, const boost::uuids::uuid& moduleId_)
ConditionalCompilationDisjunctionNode(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

ConditionalCompilationDisjunctionNode Constructor

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

Definition at line 1280 of Statement.cpp :
1280 :
1281 ConditionalCompilationBinaryExpressionNode(NodeType::conditionalCompilationDisjunctionNodespan_moduleId_)
1282 {
1283 }


Declaration at line 597 of Statement.hpp


ConditionalCompilationDisjunctionNode Constructor

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

Definition at line 1285 of Statement.cpp :
1286 :
1287 ConditionalCompilationBinaryExpressionNode(NodeType::conditionalCompilationDisjunctionNodespan_moduleId_left_right_)
1288 {
1289 }


Declaration at line 598 of Statement.hpp


Member Function Details

Accept Member Function

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

Definition at line 1297 of Statement.cpp :
1298 {
1299     visitor.Visit(*this);
1300 }


Declaration at line 600 of Statement.hpp

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

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


Clone Member Function

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

Definition at line 1291 of Statement.cpp :
1292 {
1293     ConditionalCompilationDisjunctionNode* clone = new ConditionalCompilationDisjunctionNode(GetSpan()ModuleId()static_cast<ConditionalCompilationExpressionNode*>(Left()->Clone(cloneContext))static_cast<ConditionalCompilationExpressionNode*>(Right()->Clone(cloneContext)));
1294     return clone;
1295 }


Declaration at line 599 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