__construct()
advance()
expression()
parse()
getNextToken()
getSymbol()
populateSymbolTable()
registerLeftInfixSymbol()
registerPrefixSymbol()
registerRightInfixSymbol()
registerSymbol()
$currentPos
$currentToken
$string
$symbolTable
Plural rule parser.
This plural rule parser is implemented after the article "Top Down Operator Precedence" described in http://javascript.crockford.com/tdop/tdop.html.
__construct()
advance(string $id) : void
getNextToken() : array
getSymbol(string $id)
string
populateSymbolTable() : void
registerLeftInfixSymbol(string $id, int $leftBindingPower) : void
string
int
registerPrefixSymbol(string $id, int $leftBindingPower) : void
string
int
registerRightInfixSymbol(string $id, int $leftBindingPower) : void
string
int
registerSymbol(string $id, int $leftBindingPower) : \Zend\I18n\Translator\Plural\Symbol
$currentPos : int
$string : string
$symbolTable : array