top | up | prev | next

ConstNode Class

Definition at line 13 of TypeExpr.hpp

Constructors

ConstNode()
ConstNode(const Span& span_, Node* subject_)

Member Functions

void Accept(Visitor& visitor) override

Constructor Details

ConstNode Constructor

sngcpp::ast::ConstNode::ConstNode()

Definition at line 12 of TypeExpr.cpp :
12 : UnaryNode(NodeType::constNode)
13 {
14 }


Declaration at line 16 of TypeExpr.hpp


ConstNode Constructor

sngcpp::ast::ConstNode::ConstNode(const Span& span_, Node * subject_)

Definition at line 16 of TypeExpr.cpp :
16 : UnaryNode(NodeType::constNodespan_subject_)
17 {
18 }


Declaration at line 17 of TypeExpr.hpp


Member Function Details

Accept Member Function

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

Definition at line 20 of TypeExpr.cpp :
21 {
22     visitor.Visit(*this);
23 }


Declaration at line 18 of TypeExpr.hpp

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

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


top | up | prev | next