PHP Class QuackCompiler\Parselets\PrefixOperatorParselet

Inheritance: implements QuackCompiler\Parselets\IPrefixParselet
Exibir arquivo Open project: quack/quack

Public Properties

Property Type Description
$precedence

Public Methods

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

Method Details

__construct() public method

public __construct ( $precedence )

getPrecedence() public method

public getPrecedence ( )

parse() public method

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

Property Details

$precedence public_oe property

public $precedence