CLDR Plural Rule Parser
Parses CLDR plural rules
|
Helper for Converter. More...
Public Member Functions | |
__construct (Converter $parser, $type, $rpn, $pos, $length) | |
isType ( $type) | |
Public Member Functions inherited from CLDRPluralRuleParser\Converter\Fragment | |
__construct (Converter $parser, $pos, $length) | |
error ( $message) | |
getText () | |
Public Attributes | |
$type | |
$rpn | |
Public Attributes inherited from CLDRPluralRuleParser\Converter\Fragment | |
$parser | |
$pos | |
$length | |
$end | |
Helper for Converter.
An expression object, representing a region of the input string (for error messages), the RPN notation used to evaluate it, and the result type for validation.
CLDRPluralRuleParser\Converter\Expression::__construct | ( | Converter | $parser, |
$type, | |||
$rpn, | |||
$pos, | |||
$length ) |
Converter | $parser | |
string | $type | |
string | $rpn | |
int | $pos | |
int | $length |
CLDRPluralRuleParser\Converter\Expression::isType | ( | $type | ) |
string | $type |