The Battle for Wesnoth  1.19.7+dev
Public Member Functions | Private Member Functions | Private Attributes | List of all members
wfl::dot_expression Class Reference
Inheritance diagram for wfl::dot_expression:

Public Member Functions

 dot_expression (expression_ptr left, expression_ptr right)
 
std::string str () const
 
- Public Member Functions inherited from wfl::formula_expression
 formula_expression (const std::string &name="")
 
virtual ~formula_expression ()
 
variant evaluate (const formula_callable &variables, formula_debugger *fdb=nullptr) const
 
std::string get_name () const
 

Private Member Functions

variant execute (const formula_callable &variables, formula_debugger *fdb) const
 

Private Attributes

expression_ptr left_
 
expression_ptr right_
 

Detailed Description

Definition at line 620 of file formula.cpp.

Constructor & Destructor Documentation

◆ dot_expression()

wfl::dot_expression::dot_expression ( expression_ptr  left,
expression_ptr  right 
)
inline

Definition at line 623 of file formula.cpp.

Member Function Documentation

◆ execute()

variant wfl::dot_expression::execute ( const formula_callable variables,
formula_debugger fdb 
) const
inlineprivatevirtual

◆ str()

std::string wfl::dot_expression::str ( ) const
inlinevirtual

Implements wfl::formula_expression.

Definition at line 627 of file formula.cpp.

References left_, right_, and s.

Member Data Documentation

◆ left_

expression_ptr wfl::dot_expression::left_
private

Definition at line 664 of file formula.cpp.

Referenced by execute(), and str().

◆ right_

expression_ptr wfl::dot_expression::right_
private

Definition at line 664 of file formula.cpp.

Referenced by execute(), and str().


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