OmniSciDB  c07336695a
Parser::NameValueAssign Class Reference

#include <ParserNode.h>

+ Inheritance diagram for Parser::NameValueAssign:
+ Collaboration diagram for Parser::NameValueAssign:

Public Member Functions

 NameValueAssign (std::string *n, Literal *v)
 
const std::string * get_name () const
 
const Literalget_value () const
 
- Public Member Functions inherited from Parser::Node
virtual ~Node ()
 

Private Attributes

std::unique_ptr< std::string > name
 
std::unique_ptr< Literalvalue
 

Detailed Description

Definition at line 938 of file ParserNode.h.

Constructor & Destructor Documentation

◆ NameValueAssign()

Parser::NameValueAssign::NameValueAssign ( std::string *  n,
Literal v 
)
inline

Definition at line 940 of file ParserNode.h.

940 : name(n), value(v) {}
std::unique_ptr< std::string > name
Definition: ParserNode.h:945
T v(const TargetValue &r)
std::unique_ptr< Literal > value
Definition: ParserNode.h:946

Member Function Documentation

◆ get_name()

const std::string* Parser::NameValueAssign::get_name ( ) const
inline

Definition at line 941 of file ParserNode.h.

941 { return name.get(); }
std::unique_ptr< std::string > name
Definition: ParserNode.h:945

◆ get_value()

const Literal* Parser::NameValueAssign::get_value ( ) const
inline

Definition at line 942 of file ParserNode.h.

942 { return value.get(); }
std::unique_ptr< Literal > value
Definition: ParserNode.h:946

Member Data Documentation

◆ name

std::unique_ptr<std::string> Parser::NameValueAssign::name
private

Definition at line 945 of file ParserNode.h.

◆ value

std::unique_ptr<Literal> Parser::NameValueAssign::value
private

Definition at line 946 of file ParserNode.h.


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