LLDB mainline
lldb_private::dil::BooleanLiteralNode Class Reference

#include <DILAST.h>

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

Public Member Functions

 BooleanLiteralNode (uint32_t location, bool value)
llvm::Expected< lldb::ValueObjectSPAccept (Visitor *v) const override
bool GetValue () 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

bool m_value

Detailed Description

Definition at line 230 of file DILAST.h.

Constructor & Destructor Documentation

◆ BooleanLiteralNode()

lldb_private::dil::BooleanLiteralNode::BooleanLiteralNode ( uint32_t location,
bool value )
inline

Member Function Documentation

◆ Accept()

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

Implements lldb_private::dil::ASTNode.

Definition at line 50 of file DILAST.cpp.

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

◆ classof()

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

◆ GetValue()

bool lldb_private::dil::BooleanLiteralNode::GetValue ( ) const &
inline

Definition at line 237 of file DILAST.h.

References m_value.

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

Member Data Documentation

◆ m_value

bool lldb_private::dil::BooleanLiteralNode::m_value
private

Definition at line 244 of file DILAST.h.

Referenced by BooleanLiteralNode(), and GetValue().


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