PHP Class QuackCompiler\Parselets\BinaryOperatorParselet

Inheritance: implements QuackCompiler\Parselets\IInfixParselet
Mostrar archivo Open project: quack/quack

Public Properties

Property Type Description
$is_right
$precedence

Public Methods

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

Method Details

__construct() public method

public __construct ( $precedence, $is_right )

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

$is_right public_oe property

public $is_right

$precedence public_oe property

public $precedence