OmniSciDB  ab4938a6a3
Parser::Assignment Class Reference

#include <ParserNode.h>

+ Inheritance diagram for Parser::Assignment:
+ Collaboration diagram for Parser::Assignment:

Public Member Functions

 Assignment (std::string *c, Expr *a)
 
const std::string * get_column () const
 
const Exprget_assignment () const
 
- Public Member Functions inherited from Parser::Node
virtual ~Node ()
 

Private Attributes

std::unique_ptr< std::string > column
 
std::unique_ptr< Exprassignment
 

Detailed Description

Definition at line 2014 of file ParserNode.h.

Constructor & Destructor Documentation

◆ Assignment()

Parser::Assignment::Assignment ( std::string *  c,
Expr a 
)
inline

Definition at line 2016 of file ParserNode.h.

2016 : column(c), assignment(a) {}
std::unique_ptr< Expr > assignment
Definition: ParserNode.h:2022
std::unique_ptr< std::string > column
Definition: ParserNode.h:2021

Member Function Documentation

◆ get_assignment()

const Expr* Parser::Assignment::get_assignment ( ) const
inline

Definition at line 2018 of file ParserNode.h.

2018 { return assignment.get(); }
std::unique_ptr< Expr > assignment
Definition: ParserNode.h:2022

◆ get_column()

const std::string* Parser::Assignment::get_column ( ) const
inline

Definition at line 2017 of file ParserNode.h.

2017 { return column.get(); }
std::unique_ptr< std::string > column
Definition: ParserNode.h:2021

Member Data Documentation

◆ assignment

std::unique_ptr<Expr> Parser::Assignment::assignment
private

Definition at line 2022 of file ParserNode.h.

◆ column

std::unique_ptr<std::string> Parser::Assignment::column
private

Definition at line 2021 of file ParserNode.h.


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