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

#include <ored/scripting/ast.hpp>

+ Inheritance diagram for FunctionDiscountNode:
+ Collaboration diagram for FunctionDiscountNode:

Public Member Functions

 FunctionDiscountNode (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 &)
 

Additional Inherited Members

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

Detailed Description

Definition at line 177 of file ast.hpp.

Constructor & Destructor Documentation

◆ FunctionDiscountNode()

FunctionDiscountNode ( const std::vector< ASTNodePtr > &  args)

Definition at line 178 of file ast.hpp.

178: ASTNode(args, 3, 3) {}
std::vector< ASTNodePtr > args
Definition: ast.hpp:64

Member Function Documentation

◆ accept()

void accept ( AcyclicVisitor &  v)
overridevirtual

Reimplemented from ASTNode.

Definition at line 232 of file ast.cpp.

232 {
233 auto v1 = dynamic_cast<Visitor<FunctionDiscountNode>*>(&v);
234 if (v1 != nullptr)
235 v1->visit(*this);
236 else
238}
virtual void accept(AcyclicVisitor &)
Definition: ast.cpp:48
+ Here is the call graph for this function: