The Battle for Wesnoth  1.15.12+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

◆ operator()() [2/4]

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

Definition at line 107 of file default_plural_forms_expressions.hpp.

◆ operator()() [3/4]

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

◆ operator()() [4/4]

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

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.

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