top | up | prev | next

ConditionalCompilationBinaryExpressionNode Abstract Class

Definition at line 580 of Statement.hpp

Constructors

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

Member Functions

ConditionalCompilationExpressionNode* Left() const
void Read(AstReader& reader) override
ConditionalCompilationExpressionNode* Right() const
void Write(AstWriter& writer) override

Member Variables

std::unique_ptr<ConditionalCompilationExpressionNode> left
std::unique_ptr<ConditionalCompilationExpressionNode> right

Constructor Details

ConditionalCompilationBinaryExpressionNode Constructor

sngcm::ast::ConditionalCompilationBinaryExpressionNode::ConditionalCompilationBinaryExpressionNode(NodeType nodeType_, const Span& span_, const boost::uuids::uuid& moduleId_)

Definition at line 1252 of Statement.cpp :
1252 :
1253 ConditionalCompilationExpressionNode(nodeType_span_moduleId_)
1254 {
1255 }


Declaration at line 583 of Statement.hpp


ConditionalCompilationBinaryExpressionNode Constructor

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

Definition at line 1257 of Statement.cpp :
1257 :
1258 ConditionalCompilationExpressionNode(nodeType_span_moduleId_)left(left_)right(right_)
1259 {
1260     left->SetParent(this);
1261     right->SetParent(this);
1262 }


Declaration at line 584 of Statement.hpp


Member Function Details

Left Member Function

ConditionalCompilationExpressionNode * sngcm::ast::ConditionalCompilationBinaryExpressionNode::Left() const

Definition at line 587 of Statement.hpp :
587 { return left.get(); }

Called by: sngcm::ast::ConditionalCompilationConjunctionNode::Clone , sngcm::ast::ConditionalCompilationDisjunctionNode::Clone , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit


Read Member Function

void sngcm::ast::ConditionalCompilationBinaryExpressionNode::Read(AstReader & reader) override

Definition at line 1271 of Statement.cpp :
1272 {
1273     ConditionalCompilationExpressionNode::Read(reader);
1274     left.reset(reader.ReadConditionalCompilationExpressionNode());
1275     left->SetParent(this);
1276     right.reset(reader.ReadConditionalCompilationExpressionNode());
1277     right->SetParent(this);
1278 }


Declaration at line 586 of Statement.hpp

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

Calls: sngcm::ast::AstReader::ReadConditionalCompilationExpressionNode , sngcm::ast::Node::Read , sngcm::ast::Node::SetParent


Right Member Function

ConditionalCompilationExpressionNode * sngcm::ast::ConditionalCompilationBinaryExpressionNode::Right() const

Definition at line 588 of Statement.hpp :
588 { return right.get(); }

Called by: sngcm::ast::ConditionalCompilationConjunctionNode::Clone , sngcm::ast::ConditionalCompilationDisjunctionNode::Clone , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit


Write Member Function

void sngcm::ast::ConditionalCompilationBinaryExpressionNode::Write(AstWriter & writer) override

Definition at line 1264 of Statement.cpp :
1265 {
1266     ConditionalCompilationExpressionNode::Write(writer);
1267     writer.Write(left.get());
1268     writer.Write(right.get());
1269 }


Declaration at line 585 of Statement.hpp

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

Calls: sngcm::ast::Node::Write


top | up | prev | next