top | up | prev | next

FunctionPtrNode Class

Definition at line 74 of Function.hpp

Constructors

FunctionPtrNode(const Span& span_, const boost::uuids::uuid& moduleId_)

Member Functions

void Accept(Visitor& visitor) override
Node* Clone(CloneContext& cloneContext) const override
void* GetBoundExpression() const
void SetBoundExpression(void* boundExpression_)

Member Variables

void* boundExpression

Constructor Details

FunctionPtrNode Constructor

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

Definition at line 267 of Function.cpp :
267 : Node(NodeType::functionPtrNodespan_moduleId_)boundExpression(nullptr)
268 {
269 }


Declaration at line 77 of Function.hpp


Member Function Details

Accept Member Function

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

Definition at line 276 of Function.cpp :
277 {
278     visitor.Visit(*this);
279 }


Declaration at line 79 of Function.hpp

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

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


Clone Member Function

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

Definition at line 271 of Function.cpp :
272 {
273     throw std::runtime_error("internal error: function ptr node cannot be cloned");
274 }


Declaration at line 78 of Function.hpp

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


GetBoundExpression Member Function

void * sngcm::ast::FunctionPtrNode::GetBoundExpression() const

Definition at line 81 of Function.hpp :
81 { return boundExpression; }


SetBoundExpression Member Function

void sngcm::ast::FunctionPtrNode::SetBoundExpression(void * boundExpression_)

Definition at line 80 of Function.hpp :
80 { boundExpression = boundExpression_; }


top | up | prev | next