top | up | prev | next

ConditionalCompilationDisjunctionNode Class

Definition at line 582 of Statement.hpp

Constructors

ConditionalCompilationDisjunctionNode(const Span& span_)
ConditionalCompilationDisjunctionNode(const Span& span_, 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_)

Definition at line 1213 of Statement.cpp :
1213 : ConditionalCompilationBinaryExpressionNode(NodeType::conditionalCompilationDisjunctionNodespan_)
1214 {
1215 }


Declaration at line 585 of Statement.hpp


ConditionalCompilationDisjunctionNode Constructor

sngcm::ast::ConditionalCompilationDisjunctionNode::ConditionalCompilationDisjunctionNode(const Span& span_, ConditionalCompilationExpressionNode * left_, ConditionalCompilationExpressionNode * right_)

Definition at line 1217 of Statement.cpp :
1217 :
1218 ConditionalCompilationBinaryExpressionNode(NodeType::conditionalCompilationDisjunctionNodespan_left_right_)
1219 {
1220 }


Declaration at line 586 of Statement.hpp


Member Function Details

Accept Member Function

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

Definition at line 1227 of Statement.cpp :
1228 {
1229     visitor.Visit(*this);
1230 }


Declaration at line 588 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 1222 of Statement.cpp :
1223 {
1224     return new ConditionalCompilationDisjunctionNode(GetSpan()static_cast<ConditionalCompilationExpressionNode*>(Left()->Clone(cloneContext))static_cast<ConditionalCompilationExpressionNode*>(Right()->Clone(cloneContext)));
1225 }


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


top | up | prev | next