OmniSciDB  06b3bd477c
 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 653 of file ParserNode.h.

Constructor & Destructor Documentation

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

Definition at line 655 of file ParserNode.h.

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

Member Function Documentation

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

Definition at line 656 of file ParserNode.h.

References expr1.

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

Definition at line 657 of file ParserNode.h.

References expr2.

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

Member Data Documentation

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

Definition at line 660 of file ParserNode.h.

Referenced by get_expr1().

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

Definition at line 661 of file ParserNode.h.

Referenced by get_expr2().


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