LLDB mainline
lldb_private::dil::SizeOfNode Class Reference

#include <DILAST.h>

Inheritance diagram for lldb_private::dil::SizeOfNode:
[legend]

Public Member Functions

 SizeOfNode (uint32_t location, ASTNodeUP node)
 SizeOfNode (uint32_t location, CompilerType type)
llvm::Expected< lldb::ValueObjectSPAccept (Visitor *v) const override
ASTNodeGetNodeArg () const
CompilerType GetTypeArg () const
Public Member Functions inherited from lldb_private::dil::ASTNode
 ASTNode (uint32_t location, NodeKind kind)
virtual ~ASTNode ()=default
virtual bool IsConstLiteral () const
uint32_t GetLocation () const
NodeKind GetKind () const

Static Public Member Functions

static bool classof (const ASTNode &node)

Private Attributes

std::string m_name
ASTNodeUP m_node_arg
CompilerType m_type_arg

Detailed Description

Definition at line 367 of file DILAST.h.

Constructor & Destructor Documentation

◆ SizeOfNode() [1/2]

lldb_private::dil::SizeOfNode::SizeOfNode ( uint32_t location,
ASTNodeUP node )
inline

◆ SizeOfNode() [2/2]

lldb_private::dil::SizeOfNode::SizeOfNode ( uint32_t location,
CompilerType type )
inline

Member Function Documentation

◆ Accept()

llvm::Expected< lldb::ValueObjectSP > lldb_private::dil::SizeOfNode::Accept ( Visitor * v) const
overridevirtual

Implements lldb_private::dil::ASTNode.

Definition at line 116 of file DILAST.cpp.

References lldb_private::dil::Visitor::Visit().

◆ classof()

bool lldb_private::dil::SizeOfNode::classof ( const ASTNode & node)
inlinestatic

◆ GetNodeArg()

ASTNode & lldb_private::dil::SizeOfNode::GetNodeArg ( ) const
inline

Definition at line 377 of file DILAST.h.

References lldb_private::dil::ASTNode::ASTNode(), and m_node_arg.

Referenced by lldb_private::dil::Interpreter::Visit().

◆ GetTypeArg()

CompilerType lldb_private::dil::SizeOfNode::GetTypeArg ( ) const
inline

Definition at line 378 of file DILAST.h.

References m_type_arg.

Referenced by lldb_private::dil::Interpreter::Visit().

Member Data Documentation

◆ m_name

std::string lldb_private::dil::SizeOfNode::m_name
private

Definition at line 385 of file DILAST.h.

◆ m_node_arg

ASTNodeUP lldb_private::dil::SizeOfNode::m_node_arg
private

Definition at line 386 of file DILAST.h.

Referenced by GetNodeArg(), and SizeOfNode().

◆ m_type_arg

CompilerType lldb_private::dil::SizeOfNode::m_type_arg
private

Definition at line 387 of file DILAST.h.

Referenced by GetTypeArg(), and SizeOfNode().


The documentation for this class was generated from the following files: