souffle  2.0.2-371-g6315b36
Public Member Functions | Protected Attributes
souffle::interpreter::BinaryNode Class Reference

Binary node represents interpreter node with two children. More...

#include <Node.h>

Inheritance diagram for souffle::interpreter::BinaryNode:
Inheritance graph
Collaboration diagram for souffle::interpreter::BinaryNode:
Collaboration graph

Public Member Functions

 BinaryNode (enum NodeType ty, const ram::Node *sdw, Own< Node > lhs, Own< Node > rhs, RelationHandle *relHandle=nullptr)
 
const NodegetLhs () const
 get left child of node More...
 
const NodegetRhs () const
 get right child of node More...
 
- Public Member Functions inherited from souffle::interpreter::Node
RelationWrappergetRelation () const
 get relation from handle More...
 
const ram::NodegetShadow () const
 get shadow node, i.e., RAM node More...
 
enum NodeType getType () const
 get node type More...
 
 Node (enum NodeType ty, const ram::Node *sdw, RelationHandle *relHandle=nullptr)
 
virtual ~Node ()=default
 

Protected Attributes

Own< Nodelhs
 
Own< Noderhs
 
- Protected Attributes inherited from souffle::interpreter::Node
RelationHandle *const relHandle
 
const ram::Nodeshadow
 
enum NodeType type
 

Additional Inherited Members

- Public Types inherited from souffle::interpreter::Node
using RelationHandle = Own< RelationWrapper >
 

Detailed Description

Binary node represents interpreter node with two children.

Definition at line 255 of file Node.h.

Constructor & Destructor Documentation

◆ BinaryNode()

souffle::interpreter::BinaryNode::BinaryNode ( enum NodeType  ty,
const ram::Node sdw,
Own< Node lhs,
Own< Node rhs,
RelationHandle relHandle = nullptr 
)
inline

Definition at line 257 of file Node.h.

258  :
259  Own<Node> lhs;

Member Function Documentation

◆ getLhs()

const Node* souffle::interpreter::BinaryNode::getLhs ( ) const
inline

get left child of node

Definition at line 262 of file Node.h.

268  {

◆ getRhs()

const Node* souffle::interpreter::BinaryNode::getRhs ( ) const
inline

get right child of node

Definition at line 267 of file Node.h.

268  {
269 public:

References souffle::interpreter::SuperInstruction::first, i, and souffle::interpreter::SuperInstruction::SuperInstruction().

Here is the call graph for this function:

Field Documentation

◆ lhs

Own<Node> souffle::interpreter::BinaryNode::lhs
protected

Definition at line 272 of file Node.h.

◆ rhs

Own<Node> souffle::interpreter::BinaryNode::rhs
protected

Definition at line 273 of file Node.h.


The documentation for this class was generated from the following file:
souffle::interpreter::BinaryNode::lhs
Own< Node > lhs
Definition: Node.h:272