PHP 클래스 Haanga_Compiler_Tokenizer

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

공개 프로퍼티들

프로퍼티 타입 설명
$close_tags
$end_comment
$end_print
$end_tag
$keywords * they are case sensitive and sorted!
$open_comment
$open_print
$open_tag
$open_tags
$operators
$operators_single * common operations
$status
$token
$value

보호된 프로퍼티들

프로퍼티 타입 설명
$echoFirstToken

공개 메소드들

메소드 설명
Error ( $text )
__construct ( $data, $compiler, $file )
getAlpha ( )
getLine ( )
getOperator ( )
getTag ( )
init ( $template, $compiler, $file = '' )
yylex ( )
yylex_html ( )
yylex_main ( )

보호된 메소드들

메소드 설명
is_token_end ( string $letter ) : boolean Return TRUE if $letter is a valid "token_end". We use token_end to avoid confuse T_ALPHA TRUEfoo with TRUE and foo (T_ALPHA)

메소드 상세

Error() 공개 메소드

public Error ( $text )

__construct() 공개 메소드

public __construct ( $data, $compiler, $file )

getAlpha() 공개 메소드

public getAlpha ( )

getLine() 공개 메소드

public getLine ( )

getOperator() 공개 메소드

public getOperator ( )

getTag() 공개 메소드

public getTag ( )

init() 정적인 공개 메소드

static public init ( $template, $compiler, $file = '' )

is_token_end() 보호된 메소드

@param string $letter
protected is_token_end ( string $letter ) : boolean
$letter string
리턴 boolean

yylex() 공개 메소드

public yylex ( )

yylex_html() 공개 메소드

public yylex_html ( )

yylex_main() 공개 메소드

public yylex_main ( )

프로퍼티 상세

$close_tags 정적으로 공개적으로 프로퍼티

static public $close_tags

$echoFirstToken 보호되어 있는 프로퍼티

protected $echoFirstToken

$end_comment 정적으로 공개적으로 프로퍼티

static public $end_comment

$end_print 정적으로 공개적으로 프로퍼티

static public $end_print

$end_tag 정적으로 공개적으로 프로퍼티

static public $end_tag

$keywords 정적으로 공개적으로 프로퍼티

* they are case sensitive and sorted!
static public $keywords

$open_comment 정적으로 공개적으로 프로퍼티

static public $open_comment

$open_print 정적으로 공개적으로 프로퍼티

static public $open_print

$open_tag 정적으로 공개적으로 프로퍼티

static public $open_tag

$open_tags 공개적으로 프로퍼티

public $open_tags

$operators 정적으로 공개적으로 프로퍼티

static public $operators

$operators_single 정적으로 공개적으로 프로퍼티

* common operations
static public $operators_single

$status 공개적으로 프로퍼티

public $status

$token 공개적으로 프로퍼티

public $token

$value 공개적으로 프로퍼티

public $value