MediaWiki  REL1_22
CLDRPluralRuleEvaluator.php File Reference

Parse and evaluate a plural rule. More...

Go to the source code of this file.

Classes

class  CLDRPluralRuleConverter
 Helper class for converting rules to reverse polish notation (RPN). More...
class  CLDRPluralRuleConverter_Expression
 Helper for CLDRPluralRuleConverter. More...
class  CLDRPluralRuleConverter_Fragment
 Helper for CLDRPluralRuleConverter. More...
class  CLDRPluralRuleConverter_Operator
 Helper for CLDRPluralRuleConverter. More...
class  CLDRPluralRuleError
 The exception class for all the classes in this file. More...
class  CLDRPluralRuleEvaluator
class  CLDRPluralRuleEvaluator_Range
 Evaluator helper class representing a range list. More...

Detailed Description

Parse and evaluate a plural rule.

UTS #35 Revision 33 http://www.unicode.org/reports/tr35/tr35-33/tr35-numbers.html#Language_Plural_Rules

Author:
Niklas Laxstrom, Tim Starling
Note:
Copyright © 2010-2012, Niklas Laxström
http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. http://www.gnu.org/copyleft/gpl.html

Since:
1.20

Definition in file CLDRPluralRuleEvaluator.php.