PHP Class QuackCompiler\Parser\Parser

Afficher le fichier Open project: quack/quack Class Usage Examples

Méthodes publiques

Свойство Type Description
$infix_parselets
$input
$lookahead
$prefix_parselets
$scope_level

Méthodes publiques

Méthode Description
__construct ( Tokenizer $input )
closeScope ( )
consume ( )
consumeAndFetch ( )
consumeIf ( $symbol )
dedent ( )
indent ( )
infixParseletForToken ( Token $token )
is ( $tag )
match ( $tag )
openScope ( )
opt ( $tag )
position ( )
prefixParseletForToken ( Token $token )
resolveScope ( $pointer )

Private Methods

Méthode Description
infixLeft ( $tag, $precedence )
infixRight ( $tag, $precedence )
postfix ( $tag, $precedence )
prefix ( $tag, $precedence )
register ( $tag, $parselet )
registerParselets ( )

Method Details

__construct() public méthode

public __construct ( Tokenizer $input )
$input QuackCompiler\Lexer\Tokenizer

closeScope() public méthode

public closeScope ( )

consume() public méthode

public consume ( )

consumeAndFetch() public méthode

public consumeAndFetch ( )

consumeIf() public méthode

public consumeIf ( $symbol )

dedent() public méthode

public dedent ( )

indent() public méthode

public indent ( )

infixParseletForToken() public méthode

public infixParseletForToken ( Token $token )
$token QuackCompiler\Lexer\Token

is() public méthode

public is ( $tag )

match() public méthode

public match ( $tag )

openScope() public méthode

public openScope ( )

opt() public méthode

public opt ( $tag )

position() public méthode

public position ( )

prefixParseletForToken() public méthode

public prefixParseletForToken ( Token $token )
$token QuackCompiler\Lexer\Token

resolveScope() public méthode

public resolveScope ( $pointer )

Property Details

$infix_parselets public_oe property

public $infix_parselets

$input public_oe property

public $input

$lookahead public_oe property

public $lookahead

$prefix_parselets public_oe property

public $prefix_parselets

$scope_level public_oe property

public $scope_level