PHP 클래스 phplinter\Tokenizer

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

공개 메소드들

메소드 설명
meaningfull ( $token ) : Bool ----------------------------------------------------------------------+
strip_whitespace ( $tokens ) : Array ----------------------------------------------------------------------+
tokenChar ( $char ) : integer ----------------------------------------------------------------------+
tokenString ( $string ) : integer ----------------------------------------------------------------------+
token_name ( $token ) : String ----------------------------------------------------------------------+
tokenize ( $file, $skip_whitespace = true ) : token ----------------------------------------------------------------------+

메소드 상세

meaningfull() 공개 정적인 메소드

----------------------------------------------------------------------+
public static meaningfull ( $token ) : Bool
리턴 Bool ----------------------------------------------------------------------+

strip_whitespace() 공개 정적인 메소드

----------------------------------------------------------------------+
public static strip_whitespace ( $tokens ) : Array
리턴 Array ----------------------------------------------------------------------+

tokenChar() 공개 정적인 메소드

----------------------------------------------------------------------+
public static tokenChar ( $char ) : integer
$char String
리턴 integer ----------------------------------------------------------------------+

tokenString() 공개 정적인 메소드

----------------------------------------------------------------------+
public static tokenString ( $string ) : integer
$string String
리턴 integer ----------------------------------------------------------------------+

token_name() 공개 정적인 메소드

----------------------------------------------------------------------+
public static token_name ( $token ) : String
$token int
리턴 String ----------------------------------------------------------------------+

tokenize() 공개 정적인 메소드

----------------------------------------------------------------------+
public static tokenize ( $file, $skip_whitespace = true ) : token
리턴 token array ----------------------------------------------------------------------+