Logo
Fully annotated reference manual - version 1.8.12
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
FunctionDateIndexNode Struct Reference

#include <ored/scripting/ast.hpp>

+ Inheritance diagram for FunctionDateIndexNode:
+ Collaboration diagram for FunctionDateIndexNode:

Public Member Functions

 FunctionDateIndexNode (const boost::fusion::vector< std::string, std::string > &params, const std::vector< ASTNodePtr > &args)
 
void accept (AcyclicVisitor &) override
 
- Public Member Functions inherited from ASTNode
 ASTNode ()
 
virtual ~ASTNode ()
 
 ASTNode (const std::vector< ASTNodePtr > &args, const Size minArgs, const Size maxArgs=Null< Size >())
 
virtual void accept (AcyclicVisitor &)
 

Public Attributes

std::string name
 
std::string op
 
- Public Attributes inherited from ASTNode
LocationInfo locationInfo
 
std::vector< ASTNodePtrargs
 

Detailed Description

Definition at line 202 of file ast.hpp.

Constructor & Destructor Documentation

◆ FunctionDateIndexNode()

FunctionDateIndexNode ( const boost::fusion::vector< std::string, std::string > &  params,
const std::vector< ASTNodePtr > &  args 
)

Definition at line 203 of file ast.hpp.

205 : ASTNode(args, 1, 1), name(boost::fusion::at_c<0>(params)), op(boost::fusion::at_c<1>(params)) {}
std::vector< ASTNodePtr > args
Definition: ast.hpp:64

Member Function Documentation

◆ accept()

void accept ( AcyclicVisitor &  v)
overridevirtual

Reimplemented from ASTNode.

Definition at line 272 of file ast.cpp.

272 {
273 auto v1 = dynamic_cast<Visitor<FunctionDateIndexNode>*>(&v);
274 if (v1 != nullptr)
275 v1->visit(*this);
276 else
278}
virtual void accept(AcyclicVisitor &)
Definition: ast.cpp:48
+ Here is the call graph for this function:

Member Data Documentation

◆ name

std::string name

Definition at line 207 of file ast.hpp.

◆ op

std::string op

Definition at line 207 of file ast.hpp.