LLDB mainline
lldb_private::dil::UnaryOpNode Class Reference

#include <DILAST.h>

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

Public Member Functions

 UnaryOpNode (uint32_t location, UnaryOpKind kind, ASTNodeUP operand)
llvm::Expected< lldb::ValueObjectSPAccept (Visitor *v) const override
UnaryOpKind GetKind () const
ASTNodeGetOperand () const
Public Member Functions inherited from lldb_private::dil::ASTNode
 ASTNode (uint32_t location, NodeKind kind)
virtual ~ASTNode ()=default
uint32_t GetLocation () const
NodeKind GetKind () const

Static Public Member Functions

static bool classof (const ASTNode *node)

Private Attributes

UnaryOpKind m_kind
ASTNodeUP m_operand

Detailed Description

Definition at line 120 of file DILAST.h.

Constructor & Destructor Documentation

◆ UnaryOpNode()

lldb_private::dil::UnaryOpNode::UnaryOpNode ( uint32_t location,
UnaryOpKind kind,
ASTNodeUP operand )
inline

Member Function Documentation

◆ Accept()

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

Implements lldb_private::dil::ASTNode.

Definition at line 26 of file DILAST.cpp.

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

◆ classof()

bool lldb_private::dil::UnaryOpNode::classof ( const ASTNode * node)
inlinestatic

◆ GetKind()

UnaryOpKind lldb_private::dil::UnaryOpNode::GetKind ( ) const
inline

Definition at line 128 of file DILAST.h.

References m_kind.

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

◆ GetOperand()

ASTNode * lldb_private::dil::UnaryOpNode::GetOperand ( ) const
inline

Definition at line 129 of file DILAST.h.

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

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

Member Data Documentation

◆ m_kind

UnaryOpKind lldb_private::dil::UnaryOpNode::m_kind
private

Definition at line 136 of file DILAST.h.

Referenced by GetKind(), and UnaryOpNode().

◆ m_operand

ASTNodeUP lldb_private::dil::UnaryOpNode::m_operand
private

Definition at line 137 of file DILAST.h.

Referenced by GetOperand(), and UnaryOpNode().


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