App::ExpressionParser::semantic_type Class Reference

The semantic_type class encapsulates the value in the parse tree during parsing. More...

#include <ExpressionParser.h>

Public Member Functions

 semantic_type ()
 

Public Attributes

std::vector< Expression * > arguments
 
Expression::Componentcomponent
 
std::deque< ObjectIdentifier::Componentcomponents
 
struct {
   double   fvalue = 0
 
   const char *   name = ""
 
constant
 
Expressionexpr
 
std::pair< FunctionExpression::Function, std::string > func
 
double fvalue = 0
 
long long int ivalue
 
std::vector< Expression * > list
 
ObjectIdentifier path
 
struct {
   Base::Quantity   scaler
 
   std::string   unitStr
 
quantity
 
std::string string
 
ObjectIdentifier::String string_or_identifier
 

Detailed Description

The semantic_type class encapsulates the value in the parse tree during parsing.

Constructor & Destructor Documentation

◆ semantic_type()

App::ExpressionParser::semantic_type::semantic_type ( )

Member Data Documentation

◆ arguments

std::vector<Expression*> App::ExpressionParser::semantic_type::arguments

◆ component

Expression::Component* App::ExpressionParser::semantic_type::component

◆ components

std::deque<ObjectIdentifier::Component> App::ExpressionParser::semantic_type::components

◆ 

struct { ... } App::ExpressionParser::semantic_type::constant

◆ expr

Expression* App::ExpressionParser::semantic_type::expr

◆ func

std::pair<FunctionExpression::Function,std::string> App::ExpressionParser::semantic_type::func

◆ fvalue

double App::ExpressionParser::semantic_type::fvalue = 0

◆ ivalue

long long int App::ExpressionParser::semantic_type::ivalue

◆ list

std::vector<Expression*> App::ExpressionParser::semantic_type::list

◆ name

◆ path

◆ 

struct { ... } App::ExpressionParser::semantic_type::quantity

◆ scaler

Base::Quantity App::ExpressionParser::semantic_type::scaler

◆ string

std::string App::ExpressionParser::semantic_type::string

◆ string_or_identifier

ObjectIdentifier::String App::ExpressionParser::semantic_type::string_or_identifier

◆ unitStr

std::string App::ExpressionParser::semantic_type::unitStr

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