PHP Class QuackCompiler\Parselets\BinaryOperatorParselet

Inheritance: implements QuackCompiler\Parselets\IInfixParselet
Afficher le fichier Open project: quack/quack

Méthodes publiques

Свойство Type Description
$is_right
$precedence

Méthodes publiques

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

Method Details

__construct() public méthode

public __construct ( $precedence, $is_right )

getPrecedence() public méthode

public getPrecedence ( )

parse() public méthode

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