PHP 클래스 QuackCompiler\Parser\Parser

파일 보기 프로젝트 열기: quack/quack 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$infix_parselets
$input
$lookahead
$prefix_parselets
$scope_level

공개 메소드들

메소드 설명
__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 )

비공개 메소드들

메소드 설명
infixLeft ( $tag, $precedence )
infixRight ( $tag, $precedence )
postfix ( $tag, $precedence )
prefix ( $tag, $precedence )
register ( $tag, $parselet )
registerParselets ( )

메소드 상세

__construct() 공개 메소드

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

closeScope() 공개 메소드

public closeScope ( )

consume() 공개 메소드

public consume ( )

consumeAndFetch() 공개 메소드

public consumeAndFetch ( )

consumeIf() 공개 메소드

public consumeIf ( $symbol )

dedent() 공개 메소드

public dedent ( )

indent() 공개 메소드

public indent ( )

infixParseletForToken() 공개 메소드

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

is() 공개 메소드

public is ( $tag )

match() 공개 메소드

public match ( $tag )

openScope() 공개 메소드

public openScope ( )

opt() 공개 메소드

public opt ( $tag )

position() 공개 메소드

public position ( )

prefixParseletForToken() 공개 메소드

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

resolveScope() 공개 메소드

public resolveScope ( $pointer )

프로퍼티 상세

$infix_parselets 공개적으로 프로퍼티

public $infix_parselets

$input 공개적으로 프로퍼티

public $input

$lookahead 공개적으로 프로퍼티

public $lookahead

$prefix_parselets 공개적으로 프로퍼티

public $prefix_parselets

$scope_level 공개적으로 프로퍼티

public $scope_level