The Battle for Wesnoth  1.17.23+dev
Public Member Functions | Public Attributes | List of all members
spirit_po::default_plural_forms::evaluator Struct Reference

#include <default_plural_forms_expressions.hpp>

Inheritance diagram for spirit_po::default_plural_forms::evaluator:

Public Member Functions

 evaluator (uint n)
uint operator() (const constant &c) const
uint operator() (n_var) const
uint operator() (const not_op &op) const
uint operator() (const ternary_op &op) const

Public Attributes

uint n_value_

Detailed Description

Definition at line 102 of file default_plural_forms_expressions.hpp.

Constructor & Destructor Documentation

◆ evaluator()

spirit_po::default_plural_forms::evaluator::evaluator ( uint  n)

Definition at line 104 of file default_plural_forms_expressions.hpp.

Member Function Documentation

◆ operator()() [1/4]

uint spirit_po::default_plural_forms::evaluator::operator() ( const constant c) const

Definition at line 106 of file default_plural_forms_expressions.hpp.

References c.

◆ operator()() [2/4]

uint spirit_po::default_plural_forms::evaluator::operator() ( const not_op op) const

◆ operator()() [3/4]

uint spirit_po::default_plural_forms::evaluator::operator() ( const ternary_op op) const

◆ operator()() [4/4]

uint spirit_po::default_plural_forms::evaluator::operator() ( n_var  ) const

Definition at line 107 of file default_plural_forms_expressions.hpp.

References n_value_.

Member Data Documentation

◆ n_value_

uint spirit_po::default_plural_forms::evaluator::n_value_

Definition at line 103 of file default_plural_forms_expressions.hpp.

Referenced by operator()().

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