PHP Class QuackCompiler\Parselets\PostfixOperatorParselet

Inheritance: implements QuackCompiler\Parselets\IInfixParselet
Mostra file Open project: quack/quack

Public Properties

Property Type Description
$precedence

Public Methods

Method Description
__construct ( $precedence )
getPrecedence ( )
parse ( Grammar $parser, Expr $left, Token $token )

Method Details

__construct() public method

public __construct ( $precedence )

getPrecedence() public method

public getPrecedence ( )

parse() public method

public parse ( Grammar $parser, Expr $left, Token $token )
$parser QuackCompiler\Parser\Grammar
$left QuackCompiler\Ast\Expr\Expr
$token QuackCompiler\Lexer\Token

Property Details

$precedence public_oe property

public $precedence