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::Component * | component |
std::deque< ObjectIdentifier::Component > | components |
struct { | |
double fvalue = 0 | |
const char * name = "" | |
} | constant |
Expression * | expr |
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 |
Referenced by prototype.Node::addtofreecad(), prototype.Node::pprint(), and prototype.Node::pprint2().
◆ component
Expression::Component* App::ExpressionParser::semantic_type::component |
◆ components
std::deque<ObjectIdentifier::Component> App::ExpressionParser::semantic_type::components |
◆ constant
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
const char* App::ExpressionParser::semantic_type::name = "" |
Referenced by prototype.Node::addtofreecad(), drafttaskpanels.task_polararray.TaskPanelPolarArray::create_object(), drafttaskpanels.task_orthoarray.TaskPanelOrthoArray::create_object(), drafttaskpanels.task_circulararray.TaskPanelCircularArray::create_object(), addonmanager_macro.Macro::filename(), gzip_utf8.GzipFile::filename(), ifc4.ifcapproval::hasidentifierorname(), femsolver.elmer.sifio.Section::keys(), automotive_design.si_unit::named_unit_dimensions(), Mod.PartDesign.WizardShaft.SegmentFunction.SegmentFunction::output(), prototype.Node::pprint(), prototype.Node::pprint2(), draftguitools.gui_pointarray.PointArray::proceed(), draftguitools.gui_patharray.PathArray::proceed(), PathScripts.PathSetupSheetGui.OpTaskPanel::propertyGroup(), PathScripts.PathSetupSheetGui.OpTaskPanel::propertyName(), drafttaskpanels.task_orthoarray.TaskPanelOrthoArray::reject(), drafttaskpanels.task_polararray.TaskPanelPolarArray::reject(), drafttaskpanels.task_circulararray.TaskPanelCircularArray::reject(), ifc2x3.ifcexternalreference::wr1(), ifc4.ifcexternalreference::wr1(), ifc2x3.ifcdocumentreference::wr1(), ifc4.ifcdocumentreference::wr1(), and automotive_design.general_property_association::wr2().
◆ path
ObjectIdentifier App::ExpressionParser::semantic_type::path |
Referenced by PathScripts.PathToolBitLibraryGui.ToolBitLibrary::libraryDelete(), PathScripts.PathToolBitLibraryGui.ToolBitLibrary::libraryLoad(), PathScripts.PathToolBitLibraryGui.ToolBitLibrary::libraryOpen(), PathScripts.PathToolBitLibraryGui.ToolBitLibrary::librarySave(), PathScripts.PathToolBitLibraryGui.ToolBitLibrary::librarySaveAs(), and PathScripts.PathToolBitLibraryGui.ToolBitLibrary::updateToolbar().
◆ quantity
struct { ... } App::ExpressionParser::semantic_type::quantity |
◆ scaler
Base::Quantity App::ExpressionParser::semantic_type::scaler |
◆ string
std::string App::ExpressionParser::semantic_type::string |
Referenced by Spreadsheet_legacy.MathParser::hasNext(), and Spreadsheet_legacy.MathParser::peek().
◆ 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:
- src/App/ExpressionParser.h