MediaWiki  1.23.2
CLDRPluralRuleConverter_Expression Class Reference

Helper for CLDRPluralRuleConverter. More...

Inheritance diagram for CLDRPluralRuleConverter_Expression:
Collaboration diagram for CLDRPluralRuleConverter_Expression:

Public Member Functions

 __construct ( $parser, $type, $rpn, $pos, $length)
 
 isType ( $type)
 
- Public Member Functions inherited from CLDRPluralRuleConverter_Fragment
 __construct ( $parser, $pos, $length)
 
 error ( $message)
 
 getText ()
 

Public Attributes

string $rpn
 
string $type
 
- Public Attributes inherited from CLDRPluralRuleConverter_Fragment
 $end
 
 $length
 
 $parser
 
 $pos
 

Detailed Description

Helper for CLDRPluralRuleConverter.

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.

Definition at line 19 of file CLDRPluralRuleConverter_Expression.php.

Constructor & Destructor Documentation

◆ __construct()

CLDRPluralRuleConverter_Expression::__construct (   $parser,
  $type,
  $rpn,
  $pos,
  $length 
)

Member Function Documentation

◆ isType()

CLDRPluralRuleConverter_Expression::isType (   $type)

Definition at line 30 of file CLDRPluralRuleConverter_Expression.php.

References $type, and type.

Member Data Documentation

◆ $rpn

string CLDRPluralRuleConverter_Expression::$rpn

Definition at line 22 of file CLDRPluralRuleConverter_Expression.php.

Referenced by __construct().

◆ $type

string CLDRPluralRuleConverter_Expression::$type

Definition at line 20 of file CLDRPluralRuleConverter_Expression.php.

Referenced by __construct(), and isType().


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