The Battle for Wesnoth  1.15.1+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:
Inheritance graph

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)
inlineexplicit

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
inline

◆ operator()() [2/4]

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

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
inline

◆ operator()() [4/4]

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

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: