OmniSciDB  c07336695a
Parser::ExprPair Class Reference

#include <ParserNode.h>

+ Inheritance diagram for Parser::ExprPair:
+ Collaboration diagram for Parser::ExprPair:

Public Member Functions

 ExprPair (Expr *e1, Expr *e2)
 
const Exprget_expr1 () const
 
const Exprget_expr2 () const
 
- Public Member Functions inherited from Parser::Node
virtual ~Node ()
 

Private Attributes

std::unique_ptr< Exprexpr1
 
std::unique_ptr< Exprexpr2
 

Detailed Description

Definition at line 658 of file ParserNode.h.

Constructor & Destructor Documentation

◆ ExprPair()

Parser::ExprPair::ExprPair ( Expr e1,
Expr e2 
)
inline

Definition at line 660 of file ParserNode.h.

660 : expr1(e1), expr2(e2) {}
std::unique_ptr< Expr > expr2
Definition: ParserNode.h:666
std::unique_ptr< Expr > expr1
Definition: ParserNode.h:665

Member Function Documentation

◆ get_expr1()

const Expr* Parser::ExprPair::get_expr1 ( ) const
inline

Definition at line 661 of file ParserNode.h.

661 { return expr1.get(); }
std::unique_ptr< Expr > expr1
Definition: ParserNode.h:665

◆ get_expr2()

const Expr* Parser::ExprPair::get_expr2 ( ) const
inline

Definition at line 662 of file ParserNode.h.

662 { return expr2.get(); }
std::unique_ptr< Expr > expr2
Definition: ParserNode.h:666

Member Data Documentation

◆ expr1

std::unique_ptr<Expr> Parser::ExprPair::expr1
private

Definition at line 665 of file ParserNode.h.

◆ expr2

std::unique_ptr<Expr> Parser::ExprPair::expr2
private

Definition at line 666 of file ParserNode.h.


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