OmniSciDB  b24e664e58
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 669 of file ParserNode.h.

Constructor & Destructor Documentation

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

Definition at line 671 of file ParserNode.h.

671 : expr1(e1), expr2(e2) {}
std::unique_ptr< Expr > expr2
Definition: ParserNode.h:677
std::unique_ptr< Expr > expr1
Definition: ParserNode.h:676

Member Function Documentation

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

Definition at line 672 of file ParserNode.h.

References expr1.

672 { return expr1.get(); }
std::unique_ptr< Expr > expr1
Definition: ParserNode.h:676
const Expr* Parser::ExprPair::get_expr2 ( ) const
inline

Definition at line 673 of file ParserNode.h.

References expr2.

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

Member Data Documentation

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

Definition at line 676 of file ParserNode.h.

Referenced by get_expr1().

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

Definition at line 677 of file ParserNode.h.

Referenced by get_expr2().


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