top | up | prev | next

DeleteExpressionNode Class

Definition at line 242 of Expression.hpp

Constructors

DeleteExpressionNode()
DeleteExpressionNode(const Span& span_, bool array__, Node* ptr_)

Member Functions

void Accept(Visitor& visitor) override
bool Array() const
void Read(Reader& reader) override
void Write(Writer& writer) override

Member Variables

bool array_

Constructor Details

DeleteExpressionNode Constructor

sngcpp::ast::DeleteExpressionNode::DeleteExpressionNode()

Definition at line 481 of Expression.cpp :
 481 : UnaryNode(NodeType::deleteExpressionNode)array_()
 482 {
 483 }


Declaration at line 245 of Expression.hpp


DeleteExpressionNode Constructor

sngcpp::ast::DeleteExpressionNode::DeleteExpressionNode(const Span& span_, bool array__, Node * ptr_)

Definition at line 485 of Expression.cpp :
 485 : UnaryNode(NodeType::deleteExpressionNodespan_ptr_)array_(array__)
 486 {
 487 }


Declaration at line 246 of Expression.hpp


Member Function Details

Accept Member Function

void sngcpp::ast::DeleteExpressionNode::Accept(Visitor & visitor) override

Definition at line 489 of Expression.cpp :
 490 {
 491     visitor.Visit(*this);
 492 }


Declaration at line 247 of Expression.hpp

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

Calls: sngcpp::ast::Visitor::Visit


Array Member Function

bool sngcpp::ast::DeleteExpressionNode::Array() const

Definition at line 250 of Expression.hpp :
250 { return array_; }


Read Member Function

void sngcpp::ast::DeleteExpressionNode::Read(Reader & reader) override

Definition at line 500 of Expression.cpp :
 501 {
 502     UnaryNode::Read(reader);
 503     array_ = reader.GetBinaryReader().ReadBool();
 504 }


Declaration at line 249 of Expression.hpp

Base class overridden functions: sngcpp::ast::Node::Read , sngcpp::ast::UnaryNode::Read

Calls: sngcpp::ast::Reader::GetBinaryReader , sngcpp::ast::UnaryNode::Read


Write Member Function

void sngcpp::ast::DeleteExpressionNode::Write(Writer & writer) override

Definition at line 494 of Expression.cpp :
 495 {
 496     UnaryNode::Write(writer);
 497     writer.GetBinaryWriter().Write(array_);
 498 }


Declaration at line 248 of Expression.hpp

Base class overridden functions: sngcpp::ast::Node::Write , sngcpp::ast::UnaryNode::Write

Calls: sngcpp::ast::DeleteExpressionNode::Write , sngcpp::ast::UnaryNode::Write , sngcpp::ast::Writer::GetBinaryWriter

Called by: sngcpp::ast::DeleteExpressionNode::Write


top | up | prev | next