top | up | prev | next

Node Abstract Class

Definition at line 57 of Node.hpp

Constructors

Node(NodeType nodeType_, const Span& span_)
Node(const Node&) delete

Member Functions

void Accept(Visitor& visitor) pure virtual
void AddArgument(Node* argument) virtual
void AddParameter(ParameterNode* parameter) virtual
void AddTemplateParameter(TemplateParameterNode* templateParameter) virtual
Node* Clone(CloneContext& cloneContext) const pure virtual
NodeType GetNodeType() const
const Span& GetSpan() const
Specifiers GetSpecifiers() const virtual
bool IsConceptNode() const virtual
bool IsConditionalCompilationExpressionNode() const virtual
bool IsFunctionNode() const virtual
bool IsIntrinsicConceptNode() const virtual
bool IsStatementNode() const virtual
bool IsUnsignedTypeNode() const virtual
bool NodeIsConstraintNode() const virtual
const Node* Parent() const
Node* Parent()
void Read(AstReader& reader) virtual
void SetFullSpan() virtual
void SetParent(Node* parent_)
void SetSpan(const Span& span_)
void SetSpanEnd(int end)
void SetSpanStart(int32_t spanStart)
std::string ToString() const virtual
void Write(AstWriter& writer) virtual
Node& operator=(const Node&) delete

Member Variables

NodeType nodeType
Node* parent
Span span

Constructor Details

Node Constructor

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

Definition at line 68 of Node.cpp :
 68 : nodeType(nodeType_)span(span_)parent(nullptr)
 69 {
 70 }



Node Constructor

sngcm::ast::Node::Node(const Node &) delete

Definition at line 62 of Node.hpp


Member Function Details

Accept Member Function

void sngcm::ast::Node::Accept(Visitor & visitor) pure virtual

Definition at line 66 of Node.hpp

Derived class overrides: sngcm::ast::AddNode::Accept , sngcm::ast::AddrOfNode::Accept , sngcm::ast::AliasNode::Accept , sngcm::ast::ArrayLiteralNode::Accept , sngcm::ast::ArrayNode::Accept , sngcm::ast::ArrowNode::Accept , sngcm::ast::AsNode::Accept , sngcm::ast::AssertStatementNode::Accept , sngcm::ast::AssignmentStatementNode::Accept , sngcm::ast::AxiomNode::Accept , sngcm::ast::AxiomStatementNode::Accept , sngcm::ast::BaseInitializerNode::Accept , sngcm::ast::BaseNode::Accept , sngcm::ast::BitAndNode::Accept , sngcm::ast::BitOrNode::Accept , sngcm::ast::BitXorNode::Accept , sngcm::ast::BoolNode::Accept , sngcm::ast::BooleanLiteralNode::Accept , sngcm::ast::BreakStatementNode::Accept , sngcm::ast::ByteLiteralNode::Accept , sngcm::ast::ByteNode::Accept , sngcm::ast::CaseStatementNode::Accept , sngcm::ast::CastNode::Accept , sngcm::ast::CatchNode::Accept , sngcm::ast::CharLiteralNode::Accept , sngcm::ast::CharNode::Accept , sngcm::ast::ClassDelegateNode::Accept , sngcm::ast::ClassNode::Accept , sngcm::ast::CommentNode::Accept , sngcm::ast::CommonConstraintNode::Accept , sngcm::ast::CompileUnitNode::Accept , sngcm::ast::ComplementNode::Accept , sngcm::ast::CompoundStatementNode::Accept , sngcm::ast::ConceptIdNode::Accept , sngcm::ast::ConceptNode::Accept , sngcm::ast::ConditionalCompilationConjunctionNode::Accept , sngcm::ast::ConditionalCompilationDisjunctionNode::Accept , sngcm::ast::ConditionalCompilationNotNode::Accept , sngcm::ast::ConditionalCompilationPartNode::Accept , sngcm::ast::ConditionalCompilationPrimaryNode::Accept , sngcm::ast::ConditionalCompilationStatementNode::Accept , sngcm::ast::ConjunctionNode::Accept , sngcm::ast::ConjunctiveConstraintNode::Accept , sngcm::ast::ConstNode::Accept , sngcm::ast::ConstantNode::Accept , sngcm::ast::ConstructNode::Accept , sngcm::ast::ConstructionStatementNode::Accept , sngcm::ast::ConstructorConstraintNode::Accept , sngcm::ast::ConstructorNode::Accept , sngcm::ast::ContinueStatementNode::Accept , sngcm::ast::ConversionFunctionNode::Accept , sngcm::ast::ConvertibleConstraintNode::Accept , sngcm::ast::CursorIdNode::Accept , sngcm::ast::DefaultStatementNode::Accept , sngcm::ast::DelegateNode::Accept , sngcm::ast::DeleteStatementNode::Accept , sngcm::ast::DerefNode::Accept , sngcm::ast::DerivedConstraintNode::Accept , sngcm::ast::DestroyStatementNode::Accept , sngcm::ast::DestructorConstraintNode::Accept , sngcm::ast::DestructorNode::Accept , sngcm::ast::DisjunctionNode::Accept , sngcm::ast::DisjunctiveConstraintNode::Accept , sngcm::ast::DivNode::Accept , sngcm::ast::DoStatementNode::Accept , sngcm::ast::DotNode::Accept , sngcm::ast::DoubleLiteralNode::Accept , sngcm::ast::DoubleNode::Accept , sngcm::ast::EmptyStatementNode::Accept , sngcm::ast::EnumConstantNode::Accept , sngcm::ast::EnumTypeNode::Accept , sngcm::ast::EqualNode::Accept , sngcm::ast::EquivalenceNode::Accept , sngcm::ast::ExplicitlyConvertibleConstraintNode::Accept , sngcm::ast::ExpressionStatementNode::Accept , sngcm::ast::FloatLiteralNode::Accept , sngcm::ast::FloatNode::Accept , sngcm::ast::ForStatementNode::Accept , sngcm::ast::FunctionConstraintNode::Accept , sngcm::ast::FunctionNode::Accept , sngcm::ast::GlobalVariableNode::Accept , sngcm::ast::GotoCaseStatementNode::Accept , sngcm::ast::GotoDefaultStatementNode::Accept , sngcm::ast::GotoStatementNode::Accept , sngcm::ast::GreaterNode::Accept , sngcm::ast::GreaterOrEqualNode::Accept , sngcm::ast::IdentifierNode::Accept , sngcm::ast::IfStatementNode::Accept , sngcm::ast::ImplicationNode::Accept , sngcm::ast::IndexingNode::Accept , sngcm::ast::IntLiteralNode::Accept , sngcm::ast::IntNode::Accept , sngcm::ast::InterfaceNode::Accept , sngcm::ast::InvokeNode::Accept , sngcm::ast::IsConstraintNode::Accept , sngcm::ast::IsNode::Accept , sngcm::ast::LValueRefNode::Accept , sngcm::ast::LabelNode::Accept , sngcm::ast::LabeledStatementNode::Accept , sngcm::ast::LessNode::Accept , sngcm::ast::LessOrEqualNode::Accept , sngcm::ast::LongLiteralNode::Accept , sngcm::ast::LongNode::Accept , sngcm::ast::MemberFunctionConstraintNode::Accept , sngcm::ast::MemberFunctionNode::Accept , sngcm::ast::MemberInitializerNode::Accept , sngcm::ast::MemberVariableNode::Accept , sngcm::ast::MulNode::Accept , sngcm::ast::MultiParamConstraintNode::Accept , sngcm::ast::NamespaceImportNode::Accept , sngcm::ast::NamespaceNode::Accept , sngcm::ast::NewNode::Accept , sngcm::ast::NonreferenceTypeConstraintNode::Accept , sngcm::ast::NotEqualNode::Accept , sngcm::ast::NotNode::Accept , sngcm::ast::NullLiteralNode::Accept , sngcm::ast::ParameterNode::Accept , sngcm::ast::ParenthesizedConditionalCompilationExpressionNode::Accept , sngcm::ast::ParenthesizedConstraintNode::Accept , sngcm::ast::ParenthesizedExpressionNode::Accept , sngcm::ast::PointerNode::Accept , sngcm::ast::PostfixDecrementNode::Accept , sngcm::ast::PostfixIncrementNode::Accept , sngcm::ast::PredicateConstraintNode::Accept , sngcm::ast::PrefixDecrementNode::Accept , sngcm::ast::PrefixIncrementNode::Accept , sngcm::ast::RValueRefNode::Accept , sngcm::ast::RangeForStatementNode::Accept , sngcm::ast::RemNode::Accept , sngcm::ast::ReturnStatementNode::Accept , sngcm::ast::SByteLiteralNode::Accept , sngcm::ast::SByteNode::Accept , sngcm::ast::SameConstraintNode::Accept , sngcm::ast::ShiftLeftNode::Accept , sngcm::ast::ShiftRightNode::Accept , sngcm::ast::ShortLiteralNode::Accept , sngcm::ast::ShortNode::Accept , sngcm::ast::SizeOfNode::Accept , sngcm::ast::StaticConstructorNode::Accept , sngcm::ast::StringLiteralNode::Accept , sngcm::ast::StructuredLiteralNode::Accept , sngcm::ast::SubNode::Accept , sngcm::ast::SwitchStatementNode::Accept , sngcm::ast::TemplateIdNode::Accept , sngcm::ast::TemplateParameterNode::Accept , sngcm::ast::ThisInitializerNode::Accept , sngcm::ast::ThisNode::Accept , sngcm::ast::ThrowStatementNode::Accept , sngcm::ast::TryStatementNode::Accept , sngcm::ast::TypeIdNode::Accept , sngcm::ast::TypeNameConstraintNode::Accept , sngcm::ast::TypeNameNode::Accept , sngcm::ast::TypedefNode::Accept , sngcm::ast::UCharLiteralNode::Accept , sngcm::ast::UCharNode::Accept , sngcm::ast::UIntLiteralNode::Accept , sngcm::ast::UIntNode::Accept , sngcm::ast::ULongLiteralNode::Accept , sngcm::ast::ULongNode::Accept , sngcm::ast::UShortLiteralNode::Accept , sngcm::ast::UShortNode::Accept , sngcm::ast::UStringLiteralNode::Accept , sngcm::ast::UnaryMinusNode::Accept , sngcm::ast::UnaryPlusNode::Accept , sngcm::ast::UuidLiteralNode::Accept , sngcm::ast::VoidNode::Accept , sngcm::ast::WCharLiteralNode::Accept , sngcm::ast::WCharNode::Accept , sngcm::ast::WStringLiteralNode::Accept , sngcm::ast::WhereConstraintNode::Accept , sngcm::ast::WhileStatementNode::Accept

Called by: sngcm::ast::MergeVisitor::Visit , sngcm::ast::MergeVisitor::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit


AddArgument Member Function

void sngcm::ast::Node::AddArgument(Node * argument) virtual

Definition at line 71 of Node.hpp :
 71 { Assert(false"AddArgument not overridden");  }

Derived class overrides: sngcm::ast::ConstructNode::AddArgument , sngcm::ast::ConstructionStatementNode::AddArgument , sngcm::ast::InitializerNode::AddArgument , sngcm::ast::InvokeNode::AddArgument , sngcm::ast::NewNode::AddArgument


AddParameter Member Function

void sngcm::ast::Node::AddParameter(ParameterNode * parameter) virtual

Definition at line 72 of Node.hpp :
 72 { Assert(false"AddParameter not overridden"); }

Derived class overrides: sngcm::ast::AxiomNode::AddParameter , sngcm::ast::ClassDelegateNode::AddParameter , sngcm::ast::ConstructorConstraintNode::AddParameter , sngcm::ast::DelegateNode::AddParameter , sngcm::ast::FunctionConstraintNode::AddParameter , sngcm::ast::FunctionNode::AddParameter , sngcm::ast::MemberFunctionConstraintNode::AddParameter


AddTemplateParameter Member Function

void sngcm::ast::Node::AddTemplateParameter(TemplateParameterNode * templateParameter) virtual

Definition at line 73 of Node.hpp :
 73 { Assert(false"AddTemplateParameter not overridden"); }

Derived class overrides: sngcm::ast::ClassNode::AddTemplateParameter , sngcm::ast::FunctionNode::AddTemplateParameter


Clone Member Function

Node * sngcm::ast::Node::Clone(CloneContext & cloneContext) const pure virtual

Definition at line 65 of Node.hpp

Derived class overrides: sngcm::ast::AddNode::Clone , sngcm::ast::AddrOfNode::Clone , sngcm::ast::AliasNode::Clone , sngcm::ast::ArrayLiteralNode::Clone , sngcm::ast::ArrayNode::Clone , sngcm::ast::ArrowNode::Clone , sngcm::ast::AsNode::Clone , sngcm::ast::AssertStatementNode::Clone , sngcm::ast::AssignmentStatementNode::Clone , sngcm::ast::AxiomNode::Clone , sngcm::ast::AxiomStatementNode::Clone , sngcm::ast::BaseInitializerNode::Clone , sngcm::ast::BaseNode::Clone , sngcm::ast::BitAndNode::Clone , sngcm::ast::BitOrNode::Clone , sngcm::ast::BitXorNode::Clone , sngcm::ast::BoolNode::Clone , sngcm::ast::BooleanLiteralNode::Clone , sngcm::ast::BreakStatementNode::Clone , sngcm::ast::ByteLiteralNode::Clone , sngcm::ast::ByteNode::Clone , sngcm::ast::CaseStatementNode::Clone , sngcm::ast::CastNode::Clone , sngcm::ast::CatchNode::Clone , sngcm::ast::CharLiteralNode::Clone , sngcm::ast::CharNode::Clone , sngcm::ast::ClassDelegateNode::Clone , sngcm::ast::ClassNode::Clone , sngcm::ast::CommentNode::Clone , sngcm::ast::CommonConstraintNode::Clone , sngcm::ast::CompileUnitNode::Clone , sngcm::ast::ComplementNode::Clone , sngcm::ast::CompoundStatementNode::Clone , sngcm::ast::ConceptIdNode::Clone , sngcm::ast::ConceptNode::Clone , sngcm::ast::ConditionalCompilationConjunctionNode::Clone , sngcm::ast::ConditionalCompilationDisjunctionNode::Clone , sngcm::ast::ConditionalCompilationNotNode::Clone , sngcm::ast::ConditionalCompilationPartNode::Clone , sngcm::ast::ConditionalCompilationPrimaryNode::Clone , sngcm::ast::ConditionalCompilationStatementNode::Clone , sngcm::ast::ConjunctionNode::Clone , sngcm::ast::ConjunctiveConstraintNode::Clone , sngcm::ast::ConstNode::Clone , sngcm::ast::ConstantNode::Clone , sngcm::ast::ConstructNode::Clone , sngcm::ast::ConstructionStatementNode::Clone , sngcm::ast::ConstructorConstraintNode::Clone , sngcm::ast::ConstructorNode::Clone , sngcm::ast::ContinueStatementNode::Clone , sngcm::ast::ConversionFunctionNode::Clone , sngcm::ast::ConvertibleConstraintNode::Clone , sngcm::ast::CursorIdNode::Clone , sngcm::ast::DefaultStatementNode::Clone , sngcm::ast::DelegateNode::Clone , sngcm::ast::DeleteStatementNode::Clone , sngcm::ast::DerefNode::Clone , sngcm::ast::DerivedConstraintNode::Clone , sngcm::ast::DestroyStatementNode::Clone , sngcm::ast::DestructorConstraintNode::Clone , sngcm::ast::DestructorNode::Clone , sngcm::ast::DisjunctionNode::Clone , sngcm::ast::DisjunctiveConstraintNode::Clone , sngcm::ast::DivNode::Clone , sngcm::ast::DoStatementNode::Clone , sngcm::ast::DotNode::Clone , sngcm::ast::DoubleLiteralNode::Clone , sngcm::ast::DoubleNode::Clone , sngcm::ast::EmptyStatementNode::Clone , sngcm::ast::EnumConstantNode::Clone , sngcm::ast::EnumTypeNode::Clone , sngcm::ast::EqualNode::Clone , sngcm::ast::EquivalenceNode::Clone , sngcm::ast::ExplicitlyConvertibleConstraintNode::Clone , sngcm::ast::ExpressionStatementNode::Clone , sngcm::ast::FloatLiteralNode::Clone , sngcm::ast::FloatNode::Clone , sngcm::ast::ForStatementNode::Clone , sngcm::ast::FunctionConstraintNode::Clone , sngcm::ast::FunctionNode::Clone , sngcm::ast::GlobalVariableNode::Clone , sngcm::ast::GotoCaseStatementNode::Clone , sngcm::ast::GotoDefaultStatementNode::Clone , sngcm::ast::GotoStatementNode::Clone , sngcm::ast::GreaterNode::Clone , sngcm::ast::GreaterOrEqualNode::Clone , sngcm::ast::IdentifierNode::Clone , sngcm::ast::IfStatementNode::Clone , sngcm::ast::ImplicationNode::Clone , sngcm::ast::IndexingNode::Clone , sngcm::ast::IntLiteralNode::Clone , sngcm::ast::IntNode::Clone , sngcm::ast::InterfaceNode::Clone , sngcm::ast::InvokeNode::Clone , sngcm::ast::IsConstraintNode::Clone , sngcm::ast::IsNode::Clone , sngcm::ast::LValueRefNode::Clone , sngcm::ast::LabelNode::Clone , sngcm::ast::LabeledStatementNode::Clone , sngcm::ast::LessNode::Clone , sngcm::ast::LessOrEqualNode::Clone , sngcm::ast::LongLiteralNode::Clone , sngcm::ast::LongNode::Clone , sngcm::ast::MemberFunctionConstraintNode::Clone , sngcm::ast::MemberFunctionNode::Clone , sngcm::ast::MemberInitializerNode::Clone , sngcm::ast::MemberVariableNode::Clone , sngcm::ast::MulNode::Clone , sngcm::ast::MultiParamConstraintNode::Clone , sngcm::ast::NamespaceImportNode::Clone , sngcm::ast::NamespaceNode::Clone , sngcm::ast::NewNode::Clone , sngcm::ast::NonreferenceTypeConstraintNode::Clone , sngcm::ast::NotEqualNode::Clone , sngcm::ast::NotNode::Clone , sngcm::ast::NullLiteralNode::Clone , sngcm::ast::ParameterNode::Clone , sngcm::ast::ParenthesizedConditionalCompilationExpressionNode::Clone , sngcm::ast::ParenthesizedConstraintNode::Clone , sngcm::ast::ParenthesizedExpressionNode::Clone , sngcm::ast::PointerNode::Clone , sngcm::ast::PostfixDecrementNode::Clone , sngcm::ast::PostfixIncrementNode::Clone , sngcm::ast::PredicateConstraintNode::Clone , sngcm::ast::PrefixDecrementNode::Clone , sngcm::ast::PrefixIncrementNode::Clone , sngcm::ast::RValueRefNode::Clone , sngcm::ast::RangeForStatementNode::Clone , sngcm::ast::RemNode::Clone , sngcm::ast::ReturnStatementNode::Clone , sngcm::ast::SByteLiteralNode::Clone , sngcm::ast::SByteNode::Clone , sngcm::ast::SameConstraintNode::Clone , sngcm::ast::ShiftLeftNode::Clone , sngcm::ast::ShiftRightNode::Clone , sngcm::ast::ShortLiteralNode::Clone , sngcm::ast::ShortNode::Clone , sngcm::ast::SizeOfNode::Clone , sngcm::ast::StaticConstructorNode::Clone , sngcm::ast::StringLiteralNode::Clone , sngcm::ast::StructuredLiteralNode::Clone , sngcm::ast::SubNode::Clone , sngcm::ast::SwitchStatementNode::Clone , sngcm::ast::TemplateIdNode::Clone , sngcm::ast::TemplateParameterNode::Clone , sngcm::ast::ThisInitializerNode::Clone , sngcm::ast::ThisNode::Clone , sngcm::ast::ThrowStatementNode::Clone , sngcm::ast::TryStatementNode::Clone , sngcm::ast::TypeIdNode::Clone , sngcm::ast::TypeNameConstraintNode::Clone , sngcm::ast::TypeNameNode::Clone , sngcm::ast::TypedefNode::Clone , sngcm::ast::UCharLiteralNode::Clone , sngcm::ast::UCharNode::Clone , sngcm::ast::UIntLiteralNode::Clone , sngcm::ast::UIntNode::Clone , sngcm::ast::ULongLiteralNode::Clone , sngcm::ast::ULongNode::Clone , sngcm::ast::UShortLiteralNode::Clone , sngcm::ast::UShortNode::Clone , sngcm::ast::UStringLiteralNode::Clone , sngcm::ast::UnaryMinusNode::Clone , sngcm::ast::UnaryPlusNode::Clone , sngcm::ast::UuidLiteralNode::Clone , sngcm::ast::VoidNode::Clone , sngcm::ast::WCharLiteralNode::Clone , sngcm::ast::WCharNode::Clone , sngcm::ast::WStringLiteralNode::Clone , sngcm::ast::WhereConstraintNode::Clone , sngcm::ast::WhileStatementNode::Clone

Called by: sngcm::ast::AddNode::Clone , sngcm::ast::AddrOfNode::Clone , sngcm::ast::ArrowNode::Clone , sngcm::ast::BitAndNode::Clone , sngcm::ast::BitOrNode::Clone , sngcm::ast::BitXorNode::Clone , sngcm::ast::ComplementNode::Clone , sngcm::ast::CompoundStatementNode::Clone , sngcm::ast::ConditionalCompilationConjunctionNode::Clone , sngcm::ast::ConditionalCompilationDisjunctionNode::Clone , sngcm::ast::ConjunctionNode::Clone , sngcm::ast::ConjunctiveConstraintNode::Clone , sngcm::ast::ConstructNode::Clone , sngcm::ast::DerefNode::Clone , sngcm::ast::DisjunctionNode::Clone , sngcm::ast::DisjunctiveConstraintNode::Clone , sngcm::ast::DivNode::Clone , sngcm::ast::DotNode::Clone , sngcm::ast::EqualNode::Clone , sngcm::ast::EquivalenceNode::Clone , sngcm::ast::GreaterNode::Clone , sngcm::ast::GreaterOrEqualNode::Clone , sngcm::ast::ImplicationNode::Clone , sngcm::ast::InvokeNode::Clone , sngcm::ast::LessNode::Clone , sngcm::ast::LessOrEqualNode::Clone , sngcm::ast::MergeVisitor::Visit , sngcm::ast::MergeVisitor::Visit , sngcm::ast::MulNode::Clone , sngcm::ast::NamespaceNode::Clone , sngcm::ast::NewNode::Clone , sngcm::ast::NotEqualNode::Clone , sngcm::ast::NotNode::Clone , sngcm::ast::ParenthesizedExpressionNode::Clone , sngcm::ast::PostfixDecrementNode::Clone , sngcm::ast::PostfixIncrementNode::Clone , sngcm::ast::PrefixDecrementNode::Clone , sngcm::ast::PrefixIncrementNode::Clone , sngcm::ast::RemNode::Clone , sngcm::ast::ShiftLeftNode::Clone , sngcm::ast::ShiftRightNode::Clone , sngcm::ast::SubNode::Clone , sngcm::ast::TemplateIdNode::Clone , sngcm::ast::UnaryMinusNode::Clone , sngcm::ast::UnaryPlusNode::Clone


GetNodeType Member Function

NodeType sngcm::ast::Node::GetNodeType() const

Definition at line 64 of Node.hpp :
 64 { return nodeType; }

Called by: sngcm::ast::AstReader::ReadCompoundStatementNode , sngcm::ast::AstReader::ReadConceptIdNode , sngcm::ast::AstReader::ReadConditionalCompilationPartNode , sngcm::ast::AstReader::ReadDefaultStatementNode , sngcm::ast::AstReader::ReadIdentifierNode , sngcm::ast::AstReader::ReadLabelNode , sngcm::ast::AstReader::ReadWhereConstraintNode , sngcm::ast::AstWriter::Write , sngcm::ast::ClassNode::ArrangeMembers , sngcm::ast::MergeVisitor::Visit , sngcm::ast::MergeVisitor::Visit , sngcm::ast::NamespaceCombiner::Visit , sngcm::ast::NamespaceNode::AddMember , sngcm::ast::NamespaceNode::Clone , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit , sngcm::ast::SourceWriter::Visit


GetSpan Member Function

const Span & sngcm::ast::Node::GetSpan() const

Definition at line 82 of Node.hpp :
 82 { return span; }

Called by: sngcm::ast::AddNode::Clone , sngcm::ast::AddrOfNode::Clone , sngcm::ast::AliasNode::Clone , sngcm::ast::ArrayLiteralNode::Clone , sngcm::ast::ArrayNode::Clone , sngcm::ast::ArrowNode::Clone , sngcm::ast::AsNode::Clone , sngcm::ast::AssertStatementNode::Clone , sngcm::ast::AssignmentStatementNode::Clone , sngcm::ast::AstWriter::Write , sngcm::ast::AxiomNode::Clone , sngcm::ast::AxiomStatementNode::Clone , sngcm::ast::BaseInitializerNode::Clone , sngcm::ast::BaseNode::Clone , sngcm::ast::BinaryNode::SetFullSpan , sngcm::ast::BitAndNode::Clone , sngcm::ast::BitOrNode::Clone , sngcm::ast::BitXorNode::Clone , sngcm::ast::BoolNode::Clone , sngcm::ast::BooleanLiteralNode::Clone , sngcm::ast::BreakStatementNode::Clone , sngcm::ast::ByteLiteralNode::Clone , sngcm::ast::ByteNode::Clone , sngcm::ast::CaseStatementNode::Clone , sngcm::ast::CastNode::Clone , sngcm::ast::CatchNode::Clone , sngcm::ast::CharLiteralNode::Clone , sngcm::ast::CharNode::Clone , sngcm::ast::ClassDelegateNode::Clone , sngcm::ast::ClassNode::Clone , sngcm::ast::CommentNode::Clone , sngcm::ast::CompileUnitNode::Clone , sngcm::ast::ComplementNode::Clone , sngcm::ast::CompoundStatementNode::Clone , sngcm::ast::ConceptIdNode::Clone , sngcm::ast::ConceptNode::Clone , sngcm::ast::ConditionalCompilationConjunctionNode::Clone , sngcm::ast::ConditionalCompilationDisjunctionNode::Clone , sngcm::ast::ConditionalCompilationNotNode::Clone , sngcm::ast::ConditionalCompilationPartNode::Clone , sngcm::ast::ConditionalCompilationPrimaryNode::Clone , sngcm::ast::ConditionalCompilationStatementNode::Clone , sngcm::ast::ConjunctionNode::Clone , sngcm::ast::ConjunctiveConstraintNode::Clone , sngcm::ast::ConstNode::Clone , sngcm::ast::ConstantNode::Clone , sngcm::ast::ConstructNode::Clone , sngcm::ast::ConstructionStatementNode::Clone , sngcm::ast::ConstructorConstraintNode::Clone , sngcm::ast::ConstructorNode::Clone , sngcm::ast::ContinueStatementNode::Clone , sngcm::ast::ConversionFunctionNode::Clone , sngcm::ast::CursorIdNode::Clone , sngcm::ast::DefaultStatementNode::Clone , sngcm::ast::DelegateNode::Clone , sngcm::ast::DeleteStatementNode::Clone , sngcm::ast::DerefNode::Clone , sngcm::ast::DestroyStatementNode::Clone , sngcm::ast::DestructorConstraintNode::Clone , sngcm::ast::DestructorNode::Clone , sngcm::ast::DisjunctionNode::Clone , sngcm::ast::DisjunctiveConstraintNode::Clone , sngcm::ast::DivNode::Clone , sngcm::ast::DoStatementNode::Clone , sngcm::ast::DotNode::Clone , sngcm::ast::DoubleLiteralNode::Clone , sngcm::ast::DoubleNode::Clone , sngcm::ast::EmptyStatementNode::Clone , sngcm::ast::EnumConstantNode::Clone , sngcm::ast::EnumTypeNode::Clone , sngcm::ast::EqualNode::Clone , sngcm::ast::EquivalenceNode::Clone , sngcm::ast::ExpressionStatementNode::Clone , sngcm::ast::FloatLiteralNode::Clone , sngcm::ast::FloatNode::Clone , sngcm::ast::ForStatementNode::Clone , sngcm::ast::FunctionConstraintNode::Clone , sngcm::ast::FunctionNode::Clone , sngcm::ast::GlobalVariableNode::Clone , sngcm::ast::GotoCaseStatementNode::Clone , sngcm::ast::GotoDefaultStatementNode::Clone , sngcm::ast::GotoStatementNode::Clone , sngcm::ast::GreaterNode::Clone , sngcm::ast::GreaterOrEqualNode::Clone , sngcm::ast::IdentifierNode::Clone , sngcm::ast::IfStatementNode::Clone , sngcm::ast::ImplicationNode::Clone , sngcm::ast::IndexingNode::Clone , sngcm::ast::IntLiteralNode::Clone , sngcm::ast::IntNode::Clone , sngcm::ast::InterfaceNode::Clone , sngcm::ast::InvokeNode::Clone , sngcm::ast::IsConstraintNode::Clone , sngcm::ast::IsNode::Clone , sngcm::ast::LValueRefNode::Clone , sngcm::ast::LabelNode::Clone , sngcm::ast::LabeledStatementNode::Clone , sngcm::ast::LessNode::Clone , sngcm::ast::LessOrEqualNode::Clone , sngcm::ast::LongLiteralNode::Clone , sngcm::ast::LongNode::Clone , sngcm::ast::MemberFunctionConstraintNode::Clone , sngcm::ast::MemberFunctionNode::Clone , sngcm::ast::MemberInitializerNode::Clone , sngcm::ast::MemberVariableNode::Clone , sngcm::ast::MulNode::Clone , sngcm::ast::MultiParamConstraintNode::Clone , sngcm::ast::NamespaceImportNode::Clone , sngcm::ast::NamespaceNode::Clone , sngcm::ast::NewNode::Clone , sngcm::ast::NotEqualNode::Clone , sngcm::ast::NotNode::Clone , sngcm::ast::NullLiteralNode::Clone , sngcm::ast::ParameterNode::Clone , sngcm::ast::ParenthesizedConditionalCompilationExpressionNode::Clone , sngcm::ast::ParenthesizedConstraintNode::Clone , sngcm::ast::ParenthesizedExpressionNode::Clone , sngcm::ast::PointerNode::Clone , sngcm::ast::PostfixDecrementNode::Clone , sngcm::ast::PostfixIncrementNode::Clone , sngcm::ast::PredicateConstraintNode::Clone , sngcm::ast::PrefixDecrementNode::Clone , sngcm::ast::PrefixIncrementNode::Clone , sngcm::ast::RValueRefNode::Clone , sngcm::ast::RangeForStatementNode::Clone , sngcm::ast::RemNode::Clone , sngcm::ast::ReturnStatementNode::Clone , sngcm::ast::SByteLiteralNode::Clone , sngcm::ast::SByteNode::Clone , sngcm::ast::ShiftLeftNode::Clone , sngcm::ast::ShiftRightNode::Clone , sngcm::ast::ShortLiteralNode::Clone , sngcm::ast::ShortNode::Clone , sngcm::ast::SizeOfNode::Clone , sngcm::ast::StaticConstructorNode::Clone , sngcm::ast::StringLiteralNode::Clone , sngcm::ast::StructuredLiteralNode::Clone , sngcm::ast::SubNode::Clone , sngcm::ast::SwitchStatementNode::Clone , sngcm::ast::TemplateIdNode::Clone , sngcm::ast::TemplateParameterNode::Clone , sngcm::ast::ThisInitializerNode::Clone , sngcm::ast::ThisNode::Clone , sngcm::ast::ThrowStatementNode::Clone , sngcm::ast::TryStatementNode::Clone , sngcm::ast::TypeIdNode::Clone , sngcm::ast::TypeNameConstraintNode::Clone , sngcm::ast::TypeNameNode::Clone , sngcm::ast::TypedefNode::Clone , sngcm::ast::UCharLiteralNode::Clone , sngcm::ast::UCharNode::Clone , sngcm::ast::UIntLiteralNode::Clone , sngcm::ast::UIntNode::Clone , sngcm::ast::ULongLiteralNode::Clone , sngcm::ast::ULongNode::Clone , sngcm::ast::UShortLiteralNode::Clone , sngcm::ast::UShortNode::Clone , sngcm::ast::UStringLiteralNode::Clone , sngcm::ast::UnaryMinusNode::Clone , sngcm::ast::UnaryNode::SetFullSpan , sngcm::ast::UnaryPlusNode::Clone , sngcm::ast::UnnamedNamespaceProcessor::Visit , sngcm::ast::UuidLiteralNode::Clone , sngcm::ast::VoidNode::Clone , sngcm::ast::WCharLiteralNode::Clone , sngcm::ast::WCharNode::Clone , sngcm::ast::WStringLiteralNode::Clone , sngcm::ast::WhereConstraintNode::Clone , sngcm::ast::WhileStatementNode::Clone


GetSpecifiers Member Function

Specifiers sngcm::ast::Node::GetSpecifiers() const virtual

Definition at line 81 of Node.hpp :
 81 { return Specifiers::none; }

Derived class overrides: sngcm::ast::ClassDelegateNode::GetSpecifiers , sngcm::ast::ClassNode::GetSpecifiers , sngcm::ast::ConceptNode::GetSpecifiers , sngcm::ast::ConstantNode::GetSpecifiers , sngcm::ast::DelegateNode::GetSpecifiers , sngcm::ast::EnumTypeNode::GetSpecifiers , sngcm::ast::FunctionNode::GetSpecifiers , sngcm::ast::GlobalVariableNode::GetSpecifiers , sngcm::ast::InterfaceNode::GetSpecifiers , sngcm::ast::MemberVariableNode::GetSpecifiers , sngcm::ast::TypedefNode::GetSpecifiers

Called by: sngcm::ast::ClassNode::ArrangeMembers , sngcm::ast::NamespaceNode::Clone


IsConceptNode Member Function

bool sngcm::ast::Node::IsConceptNode() const virtual

Definition at line 77 of Node.hpp :
 77 { return false; }

Derived class overrides: sngcm::ast::ConceptNode::IsConceptNode

Called by: sngcm::ast::AstReader::ReadConceptNode


IsConditionalCompilationExpressionNode Member Function

bool sngcm::ast::Node::IsConditionalCompilationExpressionNode() const virtual

Definition at line 80 of Node.hpp :
 80 { return false; }

Derived class overrides: sngcm::ast::ConditionalCompilationExpressionNode::IsConditionalCompilationExpressionNode

Called by: sngcm::ast::AstReader::ReadConditionalCompilationExpressionNode


IsFunctionNode Member Function

bool sngcm::ast::Node::IsFunctionNode() const virtual

Definition at line 78 of Node.hpp :
 78 { return false; }

Derived class overrides: sngcm::ast::FunctionNode::IsFunctionNode


IsIntrinsicConceptNode Member Function

bool sngcm::ast::Node::IsIntrinsicConceptNode() const virtual

Definition at line 79 of Node.hpp :
 79 { return false; }

Derived class overrides: sngcm::ast::CommonConceptNode::IsIntrinsicConceptNode , sngcm::ast::ConvertibleConceptNode::IsIntrinsicConceptNode , sngcm::ast::DerivedConceptNode::IsIntrinsicConceptNode , sngcm::ast::ExplicitlyConvertibleConceptNode::IsIntrinsicConceptNode , sngcm::ast::NonreferenceTypeConceptNode::IsIntrinsicConceptNode , sngcm::ast::SameConceptNode::IsIntrinsicConceptNode


IsStatementNode Member Function

bool sngcm::ast::Node::IsStatementNode() const virtual

Definition at line 75 of Node.hpp :
 75 { return false; }

Derived class overrides: sngcm::ast::StatementNode::IsStatementNode

Called by: sngcm::ast::AstReader::ReadStatementNode


IsUnsignedTypeNode Member Function

bool sngcm::ast::Node::IsUnsignedTypeNode() const virtual

Definition at line 74 of Node.hpp :
 74 { return false; }

Derived class overrides: sngcm::ast::ByteNode::IsUnsignedTypeNode , sngcm::ast::UIntNode::IsUnsignedTypeNode , sngcm::ast::ULongNode::IsUnsignedTypeNode , sngcm::ast::UShortNode::IsUnsignedTypeNode


NodeIsConstraintNode Member Function

bool sngcm::ast::Node::NodeIsConstraintNode() const virtual

Definition at line 76 of Node.hpp :
 76 { return false; }

Derived class overrides: sngcm::ast::ConstraintNode::NodeIsConstraintNode

Called by: sngcm::ast::AstReader::ReadConstraintNode


Parent Member Function

const Node * sngcm::ast::Node::Parent() const

Definition at line 86 of Node.hpp :
 86 { return parent; }


Parent Member Function

Node * sngcm::ast::Node::Parent()

Definition at line 87 of Node.hpp :
 87 { return parent; }

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


Read Member Function

void sngcm::ast::Node::Read(AstReader & reader) virtual

Definition at line 85 of Node.cpp :
 86 {
 87 }


Declaration at line 68 of Node.hpp

Derived class overrides: sngcm::ast::AliasNode::Read , sngcm::ast::ArrayLiteralNode::Read , sngcm::ast::ArrayNode::Read , sngcm::ast::ArrowNode::Read , sngcm::ast::AsNode::Read , sngcm::ast::AssertStatementNode::Read , sngcm::ast::AssignmentStatementNode::Read , sngcm::ast::AxiomNode::Read , sngcm::ast::AxiomStatementNode::Read , sngcm::ast::BinaryConstraintNode::Read , sngcm::ast::BinaryNode::Read , sngcm::ast::BooleanLiteralNode::Read , sngcm::ast::ByteLiteralNode::Read , sngcm::ast::CaseStatementNode::Read , sngcm::ast::CastNode::Read , sngcm::ast::CatchNode::Read , sngcm::ast::CharLiteralNode::Read , sngcm::ast::ClassDelegateNode::Read , sngcm::ast::ClassNode::Read , sngcm::ast::CommentNode::Read , sngcm::ast::CompoundStatementNode::Read , sngcm::ast::ConceptIdNode::Read , sngcm::ast::ConceptNode::Read , sngcm::ast::ConditionalCompilationBinaryExpressionNode::Read , sngcm::ast::ConditionalCompilationNotNode::Read , sngcm::ast::ConditionalCompilationPartNode::Read , sngcm::ast::ConditionalCompilationPrimaryNode::Read , sngcm::ast::ConditionalCompilationStatementNode::Read , sngcm::ast::ConstNode::Read , sngcm::ast::ConstantNode::Read , sngcm::ast::ConstructNode::Read , sngcm::ast::ConstructionStatementNode::Read , sngcm::ast::ConstructorConstraintNode::Read , sngcm::ast::ConstructorNode::Read , sngcm::ast::CursorIdNode::Read , sngcm::ast::DefaultStatementNode::Read , sngcm::ast::DelegateNode::Read , sngcm::ast::DeleteStatementNode::Read , sngcm::ast::DestroyStatementNode::Read , sngcm::ast::DestructorConstraintNode::Read , sngcm::ast::DestructorNode::Read , sngcm::ast::DoStatementNode::Read , sngcm::ast::DotNode::Read , sngcm::ast::DoubleLiteralNode::Read , sngcm::ast::EnumConstantNode::Read , sngcm::ast::EnumTypeNode::Read , sngcm::ast::ExpressionStatementNode::Read , sngcm::ast::FloatLiteralNode::Read , sngcm::ast::ForStatementNode::Read , sngcm::ast::FunctionConstraintNode::Read , sngcm::ast::FunctionNode::Read , sngcm::ast::GlobalVariableNode::Read , sngcm::ast::GotoCaseStatementNode::Read , sngcm::ast::GotoStatementNode::Read , sngcm::ast::IdentifierNode::Read , sngcm::ast::IfStatementNode::Read , sngcm::ast::IndexingNode::Read , sngcm::ast::InitializerNode::Read , sngcm::ast::IntLiteralNode::Read , sngcm::ast::InterfaceNode::Read , sngcm::ast::InvokeNode::Read , sngcm::ast::IsConstraintNode::Read , sngcm::ast::IsNode::Read , sngcm::ast::LValueRefNode::Read , sngcm::ast::LabelNode::Read , sngcm::ast::LabeledStatementNode::Read , sngcm::ast::LiteralNode::Read , sngcm::ast::LongLiteralNode::Read , sngcm::ast::MemberFunctionConstraintNode::Read , sngcm::ast::MemberInitializerNode::Read , sngcm::ast::MemberVariableNode::Read , sngcm::ast::MultiParamConstraintNode::Read , sngcm::ast::NamespaceImportNode::Read , sngcm::ast::NamespaceNode::Read , sngcm::ast::NewNode::Read , sngcm::ast::ParameterNode::Read , sngcm::ast::ParenthesizedConditionalCompilationExpressionNode::Read , sngcm::ast::ParenthesizedConstraintNode::Read , sngcm::ast::ParenthesizedExpressionNode::Read , sngcm::ast::PointerNode::Read , sngcm::ast::PredicateConstraintNode::Read , sngcm::ast::RValueRefNode::Read , sngcm::ast::RangeForStatementNode::Read , sngcm::ast::ReturnStatementNode::Read , sngcm::ast::SByteLiteralNode::Read , sngcm::ast::ShortLiteralNode::Read , sngcm::ast::SizeOfNode::Read , sngcm::ast::StatementNode::Read , sngcm::ast::StaticConstructorNode::Read , sngcm::ast::StringLiteralNode::Read , sngcm::ast::StructuredLiteralNode::Read , sngcm::ast::SwitchStatementNode::Read , sngcm::ast::TemplateIdNode::Read , sngcm::ast::TemplateParameterNode::Read , sngcm::ast::ThrowStatementNode::Read , sngcm::ast::TryStatementNode::Read , sngcm::ast::TypeIdNode::Read , sngcm::ast::TypeNameConstraintNode::Read , sngcm::ast::TypeNameNode::Read , sngcm::ast::TypedefNode::Read , sngcm::ast::UCharLiteralNode::Read , sngcm::ast::UIntLiteralNode::Read , sngcm::ast::ULongLiteralNode::Read , sngcm::ast::UShortLiteralNode::Read , sngcm::ast::UStringLiteralNode::Read , sngcm::ast::UnaryNode::Read , sngcm::ast::UuidLiteralNode::Read , sngcm::ast::WCharLiteralNode::Read , sngcm::ast::WStringLiteralNode::Read , sngcm::ast::WhereConstraintNode::Read , sngcm::ast::WhileStatementNode::Read

Called by: sngcm::ast::AliasNode::Read , sngcm::ast::ArrayNode::Read , sngcm::ast::AsNode::Read , sngcm::ast::AstReader::ReadNode , sngcm::ast::AxiomNode::Read , sngcm::ast::AxiomStatementNode::Read , sngcm::ast::BinaryConstraintNode::Read , sngcm::ast::BinaryNode::Read , sngcm::ast::CastNode::Read , sngcm::ast::CatchNode::Read , sngcm::ast::ClassDelegateNode::Read , sngcm::ast::ClassNode::Read , sngcm::ast::CommentNode::Read , sngcm::ast::ConceptIdNode::Read , sngcm::ast::ConceptNode::Read , sngcm::ast::ConditionalCompilationBinaryExpressionNode::Read , sngcm::ast::ConditionalCompilationNotNode::Read , sngcm::ast::ConditionalCompilationPartNode::Read , sngcm::ast::ConditionalCompilationPrimaryNode::Read , sngcm::ast::ConstNode::Read , sngcm::ast::ConstantNode::Read , sngcm::ast::ConstructNode::Read , sngcm::ast::ConstructorConstraintNode::Read , sngcm::ast::DelegateNode::Read , sngcm::ast::DestructorConstraintNode::Read , sngcm::ast::EnumConstantNode::Read , sngcm::ast::EnumTypeNode::Read , sngcm::ast::FunctionConstraintNode::Read , sngcm::ast::FunctionNode::Read , sngcm::ast::GlobalVariableNode::Read , sngcm::ast::IdentifierNode::Read , sngcm::ast::IndexingNode::Read , sngcm::ast::InitializerNode::Read , sngcm::ast::InterfaceNode::Read , sngcm::ast::InvokeNode::Read , sngcm::ast::IsConstraintNode::Read , sngcm::ast::IsNode::Read , sngcm::ast::LValueRefNode::Read , sngcm::ast::LabelNode::Read , sngcm::ast::LiteralNode::Read , sngcm::ast::MemberFunctionConstraintNode::Read , sngcm::ast::MemberVariableNode::Read , sngcm::ast::MultiParamConstraintNode::Read , sngcm::ast::NamespaceImportNode::Read , sngcm::ast::NamespaceNode::Read , sngcm::ast::NewNode::Read , sngcm::ast::ParameterNode::Read , sngcm::ast::ParenthesizedConditionalCompilationExpressionNode::Read , sngcm::ast::ParenthesizedConstraintNode::Read , sngcm::ast::PointerNode::Read , sngcm::ast::PredicateConstraintNode::Read , sngcm::ast::RValueRefNode::Read , sngcm::ast::SizeOfNode::Read , sngcm::ast::StatementNode::Read , sngcm::ast::TemplateIdNode::Read , sngcm::ast::TemplateParameterNode::Read , sngcm::ast::TypeIdNode::Read , sngcm::ast::TypeNameConstraintNode::Read , sngcm::ast::TypeNameNode::Read , sngcm::ast::TypedefNode::Read , sngcm::ast::UnaryNode::Read , sngcm::ast::WhereConstraintNode::Read


SetFullSpan Member Function

void sngcm::ast::Node::SetFullSpan() virtual

Definition at line 89 of Node.cpp :
 90 {
 91 }


Declaration at line 69 of Node.hpp

Derived class overrides: sngcm::ast::BinaryNode::SetFullSpan , sngcm::ast::UnaryNode::SetFullSpan


SetParent Member Function

void sngcm::ast::Node::SetParent(Node * parent_)

Definition at line 76 of Node.cpp :
 77 {
 78     parent = parent_;
 79 }


Declaration at line 88 of Node.hpp

Called by: sngcm::ast::AliasNode::Read , sngcm::ast::ArrayLiteralNode::AddValue , sngcm::ast::ArrayNode::Read , sngcm::ast::ArrowNode::Read , sngcm::ast::AsNode::Read , sngcm::ast::AssertStatementNode::Read , sngcm::ast::AssignmentStatementNode::Read , sngcm::ast::AxiomNode::AddParameter , sngcm::ast::AxiomNode::AddStatement , sngcm::ast::AxiomNode::Read , sngcm::ast::AxiomStatementNode::Read , sngcm::ast::BinaryConstraintNode::Read , sngcm::ast::BinaryNode::Read , sngcm::ast::CaseStatementNode::AddCaseExpr , sngcm::ast::CaseStatementNode::AddStatement , sngcm::ast::CastNode::Read , sngcm::ast::CatchNode::Read , sngcm::ast::ClassDelegateNode::AddParameter , sngcm::ast::ClassDelegateNode::Read , sngcm::ast::ClassNode::AddBaseClassOrInterface , sngcm::ast::ClassNode::AddMember , sngcm::ast::ClassNode::AddTemplateParameter , sngcm::ast::ClassNode::Read , sngcm::ast::ClassNode::SetConstraint , sngcm::ast::CompoundStatementNode::AddStatement , sngcm::ast::ConceptIdNode::AddTypeParameter , sngcm::ast::ConceptIdNode::Read , sngcm::ast::ConceptNode::AddAxiom , sngcm::ast::ConceptNode::AddConstraint , sngcm::ast::ConceptNode::AddTypeParameter , sngcm::ast::ConceptNode::Read , sngcm::ast::ConceptNode::SetRefinement , sngcm::ast::ConditionalCompilationBinaryExpressionNode::Read , sngcm::ast::ConditionalCompilationNotNode::Read , sngcm::ast::ConditionalCompilationPartNode::AddStatement , sngcm::ast::ConditionalCompilationPartNode::Read , sngcm::ast::ConditionalCompilationStatementNode::Read , sngcm::ast::ConstNode::Read , sngcm::ast::ConstantNode::Read , sngcm::ast::ConstructNode::AddArgument , sngcm::ast::ConstructNode::Read , sngcm::ast::ConstructionStatementNode::AddArgument , sngcm::ast::ConstructionStatementNode::Read , sngcm::ast::ConstructorConstraintNode::AddParameter , sngcm::ast::ConstructorConstraintNode::Read , sngcm::ast::ConstructorNode::AddInitializer , sngcm::ast::DefaultStatementNode::AddStatement , sngcm::ast::DelegateNode::AddParameter , sngcm::ast::DelegateNode::Read , sngcm::ast::DeleteStatementNode::Read , sngcm::ast::DestroyStatementNode::Read , sngcm::ast::DestructorConstraintNode::Read , sngcm::ast::DoStatementNode::Read , sngcm::ast::DotNode::Read , sngcm::ast::EnumConstantNode::Read , sngcm::ast::EnumTypeNode::AddConstant , sngcm::ast::EnumTypeNode::SetUnderlyingType , sngcm::ast::ExpressionStatementNode::Read , sngcm::ast::ForStatementNode::Read , sngcm::ast::FunctionConstraintNode::AddParameter , sngcm::ast::FunctionConstraintNode::Read , sngcm::ast::FunctionNode::AddParameter , sngcm::ast::FunctionNode::AddTemplateParameter , sngcm::ast::FunctionNode::Read , sngcm::ast::FunctionNode::SetBody , sngcm::ast::FunctionNode::SetBodySource , sngcm::ast::FunctionNode::SetConstraint , sngcm::ast::FunctionNode::SetReturnTypeExpr , sngcm::ast::GlobalVariableNode::Read , sngcm::ast::GlobalVariableNode::SetInitializer , sngcm::ast::IfStatementNode::Read , sngcm::ast::IndexingNode::Read , sngcm::ast::InitializerNode::AddArgument , sngcm::ast::InterfaceNode::AddMember , sngcm::ast::InterfaceNode::Read , sngcm::ast::InvokeNode::AddArgument , sngcm::ast::InvokeNode::Read , sngcm::ast::IsConstraintNode::Read , sngcm::ast::IsNode::Read , sngcm::ast::LValueRefNode::Read , sngcm::ast::LabeledStatementNode::Read , sngcm::ast::LabeledStatementNode::SetLabelNode , sngcm::ast::MemberFunctionConstraintNode::AddParameter , sngcm::ast::MemberFunctionConstraintNode::Read , sngcm::ast::MemberInitializerNode::Read , sngcm::ast::MemberVariableNode::Read , sngcm::ast::MultiParamConstraintNode::AddTypeExpr , sngcm::ast::MultiParamConstraintNode::Read , sngcm::ast::NamespaceImportNode::Read , sngcm::ast::NamespaceNode::AddMember , sngcm::ast::NamespaceNode::Clone , sngcm::ast::NamespaceNode::Read , sngcm::ast::NewNode::AddArgument , sngcm::ast::NewNode::Read , sngcm::ast::ParameterNode::Read , sngcm::ast::ParameterNode::SetId , sngcm::ast::ParenthesizedConditionalCompilationExpressionNode::Read , sngcm::ast::PointerNode::Read , sngcm::ast::PredicateConstraintNode::Read , sngcm::ast::RValueRefNode::Read , sngcm::ast::RangeForStatementNode::Read , sngcm::ast::ReturnStatementNode::Read , sngcm::ast::SizeOfNode::Read , sngcm::ast::StaticConstructorNode::AddInitializer , sngcm::ast::StructuredLiteralNode::AddMember , sngcm::ast::SwitchStatementNode::AddCase , sngcm::ast::SwitchStatementNode::Read , sngcm::ast::SwitchStatementNode::SetDefault , sngcm::ast::TemplateIdNode::AddTemplateArgument , sngcm::ast::TemplateIdNode::Read , sngcm::ast::TemplateParameterNode::Read , sngcm::ast::ThrowStatementNode::Read , sngcm::ast::TryStatementNode::AddCatch , sngcm::ast::TryStatementNode::Read , sngcm::ast::TypeIdNode::Read , sngcm::ast::TypeNameNode::Read , sngcm::ast::TypedefNode::Read , sngcm::ast::UnaryNode::Read , sngcm::ast::WhereConstraintNode::Read , sngcm::ast::WhileStatementNode::Read


SetSpan Member Function

void sngcm::ast::Node::SetSpan(const Span & span_)

Definition at line 83 of Node.hpp :
 83 { span = span_; }


SetSpanEnd Member Function

void sngcm::ast::Node::SetSpanEnd(int end)

Definition at line 85 of Node.hpp :
 85 { span.end = end; }

Called by: sngcm::ast::BinaryNode::SetFullSpan , sngcm::ast::UnaryNode::SetFullSpan


SetSpanStart Member Function

void sngcm::ast::Node::SetSpanStart(int32_t spanStart)

Definition at line 84 of Node.hpp :
 84 { span.start = spanStart; }

Called by: sngcm::ast::BinaryNode::SetFullSpan , sngcm::ast::UnaryNode::SetFullSpan


ToString Member Function

std::string sngcm::ast::Node::ToString() const virtual

Definition at line 70 of Node.hpp :
 70 { return std::string(); }

Derived class overrides: sngcm::ast::AddNode::ToString , sngcm::ast::AddrOfNode::ToString , sngcm::ast::ArrayLiteralNode::ToString , sngcm::ast::ArrayNode::ToString , sngcm::ast::ArrowNode::ToString , sngcm::ast::AsNode::ToString , sngcm::ast::AxiomStatementNode::ToString , sngcm::ast::BaseNode::ToString , sngcm::ast::BitAndNode::ToString , sngcm::ast::BitOrNode::ToString , sngcm::ast::BitXorNode::ToString , sngcm::ast::BoolNode::ToString , sngcm::ast::BooleanLiteralNode::ToString , sngcm::ast::ByteLiteralNode::ToString , sngcm::ast::ByteNode::ToString , sngcm::ast::CastNode::ToString , sngcm::ast::CharLiteralNode::ToString , sngcm::ast::CharNode::ToString , sngcm::ast::ComplementNode::ToString , sngcm::ast::ConceptIdNode::ToString , sngcm::ast::ConjunctionNode::ToString , sngcm::ast::ConjunctiveConstraintNode::ToString , sngcm::ast::ConstNode::ToString , sngcm::ast::ConstructNode::ToString , sngcm::ast::ConstructorConstraintNode::ToString , sngcm::ast::DerefNode::ToString , sngcm::ast::DestructorConstraintNode::ToString , sngcm::ast::DisjunctionNode::ToString , sngcm::ast::DisjunctiveConstraintNode::ToString , sngcm::ast::DivNode::ToString , sngcm::ast::DotNode::ToString , sngcm::ast::DoubleLiteralNode::ToString , sngcm::ast::DoubleNode::ToString , sngcm::ast::EqualNode::ToString , sngcm::ast::EquivalenceNode::ToString , sngcm::ast::FloatLiteralNode::ToString , sngcm::ast::FloatNode::ToString , sngcm::ast::FunctionConstraintNode::ToString , sngcm::ast::GreaterNode::ToString , sngcm::ast::GreaterOrEqualNode::ToString , sngcm::ast::IdentifierNode::ToString , sngcm::ast::ImplicationNode::ToString , sngcm::ast::IndexingNode::ToString , sngcm::ast::IntLiteralNode::ToString , sngcm::ast::IntNode::ToString , sngcm::ast::InvokeNode::ToString , sngcm::ast::IsConstraintNode::ToString , sngcm::ast::IsNode::ToString , sngcm::ast::LValueRefNode::ToString , sngcm::ast::LessNode::ToString , sngcm::ast::LessOrEqualNode::ToString , sngcm::ast::LongLiteralNode::ToString , sngcm::ast::LongNode::ToString , sngcm::ast::MemberFunctionConstraintNode::ToString , sngcm::ast::MulNode::ToString , sngcm::ast::MultiParamConstraintNode::ToString , sngcm::ast::NewNode::ToString , sngcm::ast::NotEqualNode::ToString , sngcm::ast::NotNode::ToString , sngcm::ast::NullLiteralNode::ToString , sngcm::ast::ParenthesizedConstraintNode::ToString , sngcm::ast::ParenthesizedExpressionNode::ToString , sngcm::ast::PointerNode::ToString , sngcm::ast::PostfixDecrementNode::ToString , sngcm::ast::PostfixIncrementNode::ToString , sngcm::ast::PredicateConstraintNode::ToString , sngcm::ast::PrefixDecrementNode::ToString , sngcm::ast::PrefixIncrementNode::ToString , sngcm::ast::RValueRefNode::ToString , sngcm::ast::RemNode::ToString , sngcm::ast::SByteLiteralNode::ToString , sngcm::ast::SByteNode::ToString , sngcm::ast::ShiftLeftNode::ToString , sngcm::ast::ShiftRightNode::ToString , sngcm::ast::ShortLiteralNode::ToString , sngcm::ast::ShortNode::ToString , sngcm::ast::SizeOfNode::ToString , sngcm::ast::StringLiteralNode::ToString , sngcm::ast::StructuredLiteralNode::ToString , sngcm::ast::SubNode::ToString , sngcm::ast::TemplateIdNode::ToString , sngcm::ast::ThisNode::ToString , sngcm::ast::TypeIdNode::ToString , sngcm::ast::TypeNameConstraintNode::ToString , sngcm::ast::TypeNameNode::ToString , sngcm::ast::UCharLiteralNode::ToString , sngcm::ast::UCharNode::ToString , sngcm::ast::UIntLiteralNode::ToString , sngcm::ast::UIntNode::ToString , sngcm::ast::ULongLiteralNode::ToString , sngcm::ast::ULongNode::ToString , sngcm::ast::UShortLiteralNode::ToString , sngcm::ast::UShortNode::ToString , sngcm::ast::UStringLiteralNode::ToString , sngcm::ast::UnaryMinusNode::ToString , sngcm::ast::UnaryPlusNode::ToString , sngcm::ast::UuidLiteralNode::ToString , sngcm::ast::VoidNode::ToString , sngcm::ast::WCharLiteralNode::ToString , sngcm::ast::WCharNode::ToString , sngcm::ast::WStringLiteralNode::ToString , sngcm::ast::WhereConstraintNode::ToString

Called by: sngcm::ast::AddNode::ToString , sngcm::ast::AddrOfNode::ToString , sngcm::ast::ArrowNode::ToString , sngcm::ast::BitAndNode::ToString , sngcm::ast::BitOrNode::ToString , sngcm::ast::BitXorNode::ToString , sngcm::ast::ComplementNode::ToString , sngcm::ast::ConjunctionNode::ToString , sngcm::ast::ConjunctiveConstraintNode::ToString , sngcm::ast::ConstructorConstraintNode::ToString , sngcm::ast::DerefNode::ToString , sngcm::ast::DisjunctionNode::ToString , sngcm::ast::DisjunctiveConstraintNode::ToString , sngcm::ast::DivNode::ToString , sngcm::ast::DotNode::ToString , sngcm::ast::EqualNode::ToString , sngcm::ast::EquivalenceNode::ToString , sngcm::ast::FunctionConstraintNode::ToString , sngcm::ast::GreaterNode::ToString , sngcm::ast::GreaterOrEqualNode::ToString , sngcm::ast::ImplicationNode::ToString , sngcm::ast::LessNode::ToString , sngcm::ast::LessOrEqualNode::ToString , sngcm::ast::MemberFunctionConstraintNode::ToString , sngcm::ast::MulNode::ToString , sngcm::ast::NotEqualNode::ToString , sngcm::ast::NotNode::ToString , sngcm::ast::ParenthesizedExpressionNode::ToString , sngcm::ast::PostfixDecrementNode::ToString , sngcm::ast::PostfixIncrementNode::ToString , sngcm::ast::PrefixDecrementNode::ToString , sngcm::ast::PrefixIncrementNode::ToString , sngcm::ast::RemNode::ToString , sngcm::ast::ShiftLeftNode::ToString , sngcm::ast::ShiftRightNode::ToString , sngcm::ast::SubNode::ToString , sngcm::ast::UnaryMinusNode::ToString , sngcm::ast::UnaryPlusNode::ToString


Write Member Function

void sngcm::ast::Node::Write(AstWriter & writer) virtual

Definition at line 81 of Node.cpp :
 82 {
 83 }


Declaration at line 67 of Node.hpp

Derived class overrides: sngcm::ast::AliasNode::Write , sngcm::ast::ArrayLiteralNode::Write , sngcm::ast::ArrayNode::Write , sngcm::ast::ArrowNode::Write , sngcm::ast::AsNode::Write , sngcm::ast::AssertStatementNode::Write , sngcm::ast::AssignmentStatementNode::Write , sngcm::ast::AxiomNode::Write , sngcm::ast::AxiomStatementNode::Write , sngcm::ast::BinaryConstraintNode::Write , sngcm::ast::BinaryNode::Write , sngcm::ast::BooleanLiteralNode::Write , sngcm::ast::ByteLiteralNode::Write , sngcm::ast::CaseStatementNode::Write , sngcm::ast::CastNode::Write , sngcm::ast::CatchNode::Write , sngcm::ast::CharLiteralNode::Write , sngcm::ast::ClassDelegateNode::Write , sngcm::ast::ClassNode::Write , sngcm::ast::CommentNode::Write , sngcm::ast::CompoundStatementNode::Write , sngcm::ast::ConceptIdNode::Write , sngcm::ast::ConceptNode::Write , sngcm::ast::ConditionalCompilationBinaryExpressionNode::Write , sngcm::ast::ConditionalCompilationNotNode::Write , sngcm::ast::ConditionalCompilationPartNode::Write , sngcm::ast::ConditionalCompilationPrimaryNode::Write , sngcm::ast::ConditionalCompilationStatementNode::Write , sngcm::ast::ConstNode::Write , sngcm::ast::ConstantNode::Write , sngcm::ast::ConstructNode::Write , sngcm::ast::ConstructionStatementNode::Write , sngcm::ast::ConstructorConstraintNode::Write , sngcm::ast::ConstructorNode::Write , sngcm::ast::CursorIdNode::Write , sngcm::ast::DefaultStatementNode::Write , sngcm::ast::DelegateNode::Write , sngcm::ast::DeleteStatementNode::Write , sngcm::ast::DestroyStatementNode::Write , sngcm::ast::DestructorConstraintNode::Write , sngcm::ast::DestructorNode::Write , sngcm::ast::DoStatementNode::Write , sngcm::ast::DotNode::Write , sngcm::ast::DoubleLiteralNode::Write , sngcm::ast::EnumConstantNode::Write , sngcm::ast::EnumTypeNode::Write , sngcm::ast::ExpressionStatementNode::Write , sngcm::ast::FloatLiteralNode::Write , sngcm::ast::ForStatementNode::Write , sngcm::ast::FunctionConstraintNode::Write , sngcm::ast::FunctionNode::Write , sngcm::ast::GlobalVariableNode::Write , sngcm::ast::GotoCaseStatementNode::Write , sngcm::ast::GotoStatementNode::Write , sngcm::ast::IdentifierNode::Write , sngcm::ast::IfStatementNode::Write , sngcm::ast::IndexingNode::Write , sngcm::ast::InitializerNode::Write , sngcm::ast::IntLiteralNode::Write , sngcm::ast::InterfaceNode::Write , sngcm::ast::InvokeNode::Write , sngcm::ast::IsConstraintNode::Write , sngcm::ast::IsNode::Write , sngcm::ast::LValueRefNode::Write , sngcm::ast::LabelNode::Write , sngcm::ast::LabeledStatementNode::Write , sngcm::ast::LiteralNode::Write , sngcm::ast::LongLiteralNode::Write , sngcm::ast::MemberFunctionConstraintNode::Write , sngcm::ast::MemberInitializerNode::Write , sngcm::ast::MemberVariableNode::Write , sngcm::ast::MultiParamConstraintNode::Write , sngcm::ast::NamespaceImportNode::Write , sngcm::ast::NamespaceNode::Write , sngcm::ast::NewNode::Write , sngcm::ast::ParameterNode::Write , sngcm::ast::ParenthesizedConditionalCompilationExpressionNode::Write , sngcm::ast::ParenthesizedConstraintNode::Write , sngcm::ast::ParenthesizedExpressionNode::Write , sngcm::ast::PointerNode::Write , sngcm::ast::PredicateConstraintNode::Write , sngcm::ast::RValueRefNode::Write , sngcm::ast::RangeForStatementNode::Write , sngcm::ast::ReturnStatementNode::Write , sngcm::ast::SByteLiteralNode::Write , sngcm::ast::ShortLiteralNode::Write , sngcm::ast::SizeOfNode::Write , sngcm::ast::StatementNode::Write , sngcm::ast::StaticConstructorNode::Write , sngcm::ast::StringLiteralNode::Write , sngcm::ast::StructuredLiteralNode::Write , sngcm::ast::SwitchStatementNode::Write , sngcm::ast::TemplateIdNode::Write , sngcm::ast::TemplateParameterNode::Write , sngcm::ast::ThrowStatementNode::Write , sngcm::ast::TryStatementNode::Write , sngcm::ast::TypeIdNode::Write , sngcm::ast::TypeNameConstraintNode::Write , sngcm::ast::TypeNameNode::Write , sngcm::ast::TypedefNode::Write , sngcm::ast::UCharLiteralNode::Write , sngcm::ast::UIntLiteralNode::Write , sngcm::ast::ULongLiteralNode::Write , sngcm::ast::UShortLiteralNode::Write , sngcm::ast::UStringLiteralNode::Write , sngcm::ast::UnaryNode::Write , sngcm::ast::UuidLiteralNode::Write , sngcm::ast::WCharLiteralNode::Write , sngcm::ast::WStringLiteralNode::Write , sngcm::ast::WhereConstraintNode::Write , sngcm::ast::WhileStatementNode::Write

Called by: sngcm::ast::AliasNode::Write , sngcm::ast::ArrayNode::Write , sngcm::ast::AsNode::Write , sngcm::ast::AstWriter::Write , sngcm::ast::AxiomNode::Write , sngcm::ast::AxiomStatementNode::Write , sngcm::ast::BinaryConstraintNode::Write , sngcm::ast::BinaryNode::Write , sngcm::ast::CastNode::Write , sngcm::ast::CatchNode::Write , sngcm::ast::ClassDelegateNode::Write , sngcm::ast::ClassNode::Write , sngcm::ast::CommentNode::Write , sngcm::ast::ConceptIdNode::Write , sngcm::ast::ConceptNode::Write , sngcm::ast::ConditionalCompilationBinaryExpressionNode::Write , sngcm::ast::ConditionalCompilationNotNode::Write , sngcm::ast::ConditionalCompilationPartNode::Write , sngcm::ast::ConditionalCompilationPrimaryNode::Write , sngcm::ast::ConstNode::Write , sngcm::ast::ConstantNode::Write , sngcm::ast::ConstructNode::Write , sngcm::ast::ConstructorConstraintNode::Write , sngcm::ast::DelegateNode::Write , sngcm::ast::DestructorConstraintNode::Write , sngcm::ast::EnumConstantNode::Write , sngcm::ast::EnumTypeNode::Write , sngcm::ast::FunctionConstraintNode::Write , sngcm::ast::FunctionNode::Write , sngcm::ast::GlobalVariableNode::Write , sngcm::ast::IdentifierNode::Write , sngcm::ast::IndexingNode::Write , sngcm::ast::InitializerNode::Write , sngcm::ast::InterfaceNode::Write , sngcm::ast::InvokeNode::Write , sngcm::ast::IsConstraintNode::Write , sngcm::ast::IsNode::Write , sngcm::ast::LValueRefNode::Write , sngcm::ast::LabelNode::Write , sngcm::ast::LiteralNode::Write , sngcm::ast::MemberFunctionConstraintNode::Write , sngcm::ast::MemberVariableNode::Write , sngcm::ast::MultiParamConstraintNode::Write , sngcm::ast::NamespaceImportNode::Write , sngcm::ast::NamespaceNode::Write , sngcm::ast::NewNode::Write , sngcm::ast::ParameterNode::Write , sngcm::ast::ParenthesizedConditionalCompilationExpressionNode::Write , sngcm::ast::ParenthesizedConstraintNode::Write , sngcm::ast::PointerNode::Write , sngcm::ast::PredicateConstraintNode::Write , sngcm::ast::RValueRefNode::Write , sngcm::ast::SizeOfNode::Write , sngcm::ast::StatementNode::Write , sngcm::ast::TemplateIdNode::Write , sngcm::ast::TemplateParameterNode::Write , sngcm::ast::TypeIdNode::Write , sngcm::ast::TypeNameConstraintNode::Write , sngcm::ast::TypeNameNode::Write , sngcm::ast::TypedefNode::Write , sngcm::ast::UnaryNode::Write , sngcm::ast::WhereConstraintNode::Write


operator= Member Function

Node & sngcm::ast::Node::operator=(const Node &) delete

Definition at line 63 of Node.hpp


top | up | prev | next