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

Constructor & Destructor Documentation

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

Definition at line 687 of file ParserNode.h.

687 : expr1_(e1), expr2_(e2) {}
std::unique_ptr< Expr > expr2_
Definition: ParserNode.h:693
std::unique_ptr< Expr > expr1_
Definition: ParserNode.h:692

Member Function Documentation

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

Definition at line 688 of file ParserNode.h.

References expr1_.

688 { return expr1_.get(); }
std::unique_ptr< Expr > expr1_
Definition: ParserNode.h:692
const Expr* Parser::ExprPair::get_expr2 ( ) const
inline

Definition at line 689 of file ParserNode.h.

References expr2_.

689 { return expr2_.get(); }
std::unique_ptr< Expr > expr2_
Definition: ParserNode.h:693

Member Data Documentation

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

Definition at line 692 of file ParserNode.h.

Referenced by get_expr1().

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

Definition at line 693 of file ParserNode.h.

Referenced by get_expr2().


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