PHP Class phplinter\Tokenizer

Afficher le fichier Open project: robotis/PHPLinter Class Usage Examples

Méthodes publiques

Méthode Description
meaningfull ( $token ) : Bool ----------------------------------------------------------------------+
strip_whitespace ( $tokens ) : Array ----------------------------------------------------------------------+
tokenChar ( $char ) : integer ----------------------------------------------------------------------+
tokenString ( $string ) : integer ----------------------------------------------------------------------+
token_name ( $token ) : String ----------------------------------------------------------------------+
tokenize ( $file, $skip_whitespace = true ) : token ----------------------------------------------------------------------+

Method Details

meaningfull() public static méthode

----------------------------------------------------------------------+
public static meaningfull ( $token ) : Bool
Résultat Bool ----------------------------------------------------------------------+

strip_whitespace() public static méthode

----------------------------------------------------------------------+
public static strip_whitespace ( $tokens ) : Array
Résultat Array ----------------------------------------------------------------------+

tokenChar() public static méthode

----------------------------------------------------------------------+
public static tokenChar ( $char ) : integer
$char String
Résultat integer ----------------------------------------------------------------------+

tokenString() public static méthode

----------------------------------------------------------------------+
public static tokenString ( $string ) : integer
$string String
Résultat integer ----------------------------------------------------------------------+

token_name() public static méthode

----------------------------------------------------------------------+
public static token_name ( $token ) : String
$token int
Résultat String ----------------------------------------------------------------------+

tokenize() public static méthode

----------------------------------------------------------------------+
public static tokenize ( $file, $skip_whitespace = true ) : token
Résultat token array ----------------------------------------------------------------------+