LLDB mainline
Public Types | Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
lldb_private::postfix::BinaryOpNode Class Reference

A node representing a binary expression. More...

#include <PostfixExpression.h>

Inheritance diagram for lldb_private::postfix::BinaryOpNode:
Inheritance graph
[legend]

Public Types

enum  OpType { Align , Minus , Plus }
 
- Public Types inherited from lldb_private::postfix::Node
enum  Kind {
  BinaryOp , InitialValue , Integer , Register ,
  Symbol , UnaryOp
}
 

Public Member Functions

 BinaryOpNode (OpType op_type, Node &left, Node &right)
 
OpType GetOpType () const
 
const NodeLeft () const
 
Node *& Left ()
 
const NodeRight () const
 
Node *& Right ()
 
- Public Member Functions inherited from lldb_private::postfix::Node
Kind GetKind () const
 

Static Public Member Functions

static bool classof (const Node *node)
 

Private Attributes

OpType m_op_type
 
Nodem_left
 
Nodem_right
 

Additional Inherited Members

- Protected Member Functions inherited from lldb_private::postfix::Node
 Node (Kind kind)
 

Detailed Description

A node representing a binary expression.

Definition at line 51 of file PostfixExpression.h.

Member Enumeration Documentation

◆ OpType

Enumerator
Align 
Minus 
Plus 

Definition at line 53 of file PostfixExpression.h.

Constructor & Destructor Documentation

◆ BinaryOpNode()

lldb_private::postfix::BinaryOpNode::BinaryOpNode ( OpType  op_type,
Node left,
Node right 
)
inline

Definition at line 59 of file PostfixExpression.h.

Member Function Documentation

◆ classof()

static bool lldb_private::postfix::BinaryOpNode::classof ( const Node node)
inlinestatic

◆ GetOpType()

OpType lldb_private::postfix::BinaryOpNode::GetOpType ( ) const
inline

Definition at line 62 of file PostfixExpression.h.

References m_op_type.

◆ Left() [1/2]

Node *& lldb_private::postfix::BinaryOpNode::Left ( )
inline

Definition at line 65 of file PostfixExpression.h.

References m_left.

◆ Left() [2/2]

const Node * lldb_private::postfix::BinaryOpNode::Left ( ) const
inline

Definition at line 64 of file PostfixExpression.h.

References m_left.

◆ Right() [1/2]

Node *& lldb_private::postfix::BinaryOpNode::Right ( )
inline

Definition at line 68 of file PostfixExpression.h.

References m_right.

◆ Right() [2/2]

const Node * lldb_private::postfix::BinaryOpNode::Right ( ) const
inline

Definition at line 67 of file PostfixExpression.h.

References m_right.

Member Data Documentation

◆ m_left

Node* lldb_private::postfix::BinaryOpNode::m_left
private

Definition at line 74 of file PostfixExpression.h.

Referenced by Left().

◆ m_op_type

OpType lldb_private::postfix::BinaryOpNode::m_op_type
private

Definition at line 73 of file PostfixExpression.h.

Referenced by GetOpType().

◆ m_right

Node* lldb_private::postfix::BinaryOpNode::m_right
private

Definition at line 75 of file PostfixExpression.h.

Referenced by Right().


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