CLDR Plural Rule Parser
Parses CLDR plural rules
Loading...
Searching...
No Matches
CLDRPluralRuleParser\Converter\Fragment Class Reference

Helper for Converter. More...

+ Inheritance diagram for CLDRPluralRuleParser\Converter\Fragment:

Public Member Functions

 __construct (Converter $parser, $pos, $length)
 
 error ( $message)
 
 getText ()
 

Public Attributes

 $parser
 
 $pos
 
 $length
 
 $end
 

Detailed Description

Helper for Converter.

The base class for operators and expressions, describing a region of the input string.

Constructor & Destructor Documentation

◆ __construct()

CLDRPluralRuleParser\Converter\Fragment::__construct ( Converter $parser,
$pos,
$length )
Parameters
Converter$parser
int$pos
int$length

Member Function Documentation

◆ error()

CLDRPluralRuleParser\Converter\Fragment::error ( $message)
Parameters
string$message
Exceptions
Error
Returns
never

◆ getText()

CLDRPluralRuleParser\Converter\Fragment::getText ( )
Returns
string

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