The Battle for Wesnoth  1.19.0+dev
Public Member Functions | Private Member Functions | Private Attributes | List of all members
wfl::function_list_expression Class Reference

Classes that encapsulate and handle the various formula functions. More...

Inheritance diagram for wfl::function_list_expression:

Public Member Functions

 function_list_expression (function_symbol_table *symbols)
virtual 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 &, formula_debugger *) const

Private Attributes


Detailed Description

Classes that encapsulate and handle the various formula functions.

Definition at line 296 of file formula.cpp.

Constructor & Destructor Documentation

◆ function_list_expression()

wfl::function_list_expression::function_list_expression ( function_symbol_table symbols)

Definition at line 299 of file formula.cpp.

Member Function Documentation

◆ execute()

variant wfl::function_list_expression::execute ( const formula_callable ,
) const

Implements wfl::formula_expression.

Definition at line 309 of file formula.cpp.

References wfl::function_symbol_table::get_function_names(), and symbols_.

◆ str()

virtual std::string wfl::function_list_expression::str ( ) const

Implements wfl::formula_expression.

Definition at line 303 of file formula.cpp.

Member Data Documentation

◆ symbols_

function_symbol_table* wfl::function_list_expression::symbols_

Definition at line 319 of file formula.cpp.

Referenced by execute().

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