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

#include <ored/scripting/ast.hpp>

+ Inheritance diagram for OperatorDivideNode:
+ Collaboration diagram for OperatorDivideNode:

Public Member Functions

 OperatorDivideNode (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 82 of file ast.hpp.

Constructor & Destructor Documentation

◆ OperatorDivideNode()

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

Definition at line 83 of file ast.hpp.

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

Member Function Documentation

◆ accept()

void accept ( AcyclicVisitor &  v)
overridevirtual

Reimplemented from ASTNode.

Definition at line 80 of file ast.cpp.

80 {
81 auto v1 = dynamic_cast<Visitor<OperatorDivideNode>*>(&v);
82 if (v1 != nullptr)
83 v1->visit(*this);
84 else
86}
virtual void accept(AcyclicVisitor &)
Definition: ast.cpp:48
+ Here is the call graph for this function: