top | up | prev | next

ConstraintNode Abstract Class

Definition at line 13 of Concept.hpp

Constructors

ConstraintNode(NodeType nodeType_, const Span& span_)

Member Functions

bool IsHeaderConstraint() const virtual
bool NodeIsConstraintNode() const override

Constructor Details

ConstraintNode Constructor

sngcm::ast::ConstraintNode::ConstraintNode(NodeType nodeType_, const Span& span_)

Definition at line 15 of Concept.cpp :
  15 : Node(nodeType_span_)
  16 {
  17 }


Declaration at line 16 of Concept.hpp


Member Function Details

IsHeaderConstraint Member Function

bool sngcm::ast::ConstraintNode::IsHeaderConstraint() const virtual

Definition at line 18 of Concept.hpp :
 18 { return false; }

Derived class overrides: sngcm::ast::WhereConstraintNode::IsHeaderConstraint

Called by: sngcm::ast::SourceWriter::Visit


NodeIsConstraintNode Member Function

bool sngcm::ast::ConstraintNode::NodeIsConstraintNode() const override

Definition at line 17 of Concept.hpp :
 17 { return true; }

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


top | up | prev | next