public class TokenModule extends AbstractQuercusModule
Modifier and Type | Field and Description |
---|---|
static int |
T_ABSTRACT |
static int |
T_AND_EQUAL |
static int |
T_ARRAY |
static int |
T_ARRAY_CAST |
static int |
T_AS |
static int |
T_BAD_CHARACTER |
static int |
T_BOOL_CAST |
static int |
T_BOOLEAN_AND |
static int |
T_BOOLEAN_OR |
static int |
T_BREAK |
static int |
T_CASE |
static int |
T_CATCH |
static int |
T_CHARACTER |
static int |
T_CLASS |
static int |
T_CLASS_C |
static int |
T_CLONE |
static int |
T_CLOSE_TAG |
static int |
T_COMMENT |
static int |
T_CONCAT_EQUAL |
static int |
T_CONST |
static int |
T_CONSTANT_ENCAPSED_STRING |
static int |
T_CONTINUE |
static int |
T_CURLY_OPEN |
static int |
T_DEC |
static int |
T_DECLARE |
static int |
T_DEFAULT |
static int |
T_DIV_EQUAL |
static int |
T_DNUMBER |
static int |
T_DO |
static int |
T_DOC_COMMENT |
static int |
T_DOLLAR_OPEN_CURLY_BRACES |
static int |
T_DOUBLE_ARROW |
static int |
T_DOUBLE_CAST |
static int |
T_DOUBLE_COLON |
static int |
T_ECHO |
static int |
T_ELSE |
static int |
T_ELSEIF |
static int |
T_EMPTY |
static int |
T_ENCAPSED_AND_WHITESPACE |
static int |
T_END_HEREDOC |
static int |
T_ENDDECLARE |
static int |
T_ENDFOR |
static int |
T_ENDFOREACH |
static int |
T_ENDIF |
static int |
T_ENDSWITCH |
static int |
T_ENDWHILE |
static int |
T_EVAL |
static int |
T_EXIT |
static int |
T_EXTENDS |
static int |
T_FILE |
static int |
T_FINAL |
static int |
T_FOR |
static int |
T_FOREACH |
static int |
T_FUNC_C |
static int |
T_FUNCTION |
static int |
T_GLOBAL |
static int |
T_HALT_COMPILER |
static int |
T_IF |
static int |
T_IMPLEMENTS |
static int |
T_INC |
static int |
T_INCLUDE |
static int |
T_INCLUDE_ONCE |
static int |
T_INLINE_HTML |
static int |
T_INSTANCEOF |
static int |
T_INT_CAST |
static int |
T_INTERFACE |
static int |
T_IS_EQUAL |
static int |
T_IS_GREATER_OR_EQUAL |
static int |
T_IS_IDENTICAL |
static int |
T_IS_NOT_EQUAL |
static int |
T_IS_NOT_IDENTICAL |
static int |
T_IS_SMALLER_OR_EQUAL |
static int |
T_ISSET |
static int |
T_LINE |
static int |
T_LIST |
static int |
T_LNUMBER |
static int |
T_LOGICAL_AND |
static int |
T_LOGICAL_OR |
static int |
T_LOGICAL_XOR |
static int |
T_MINUS_EQUAL |
static int |
T_ML_COMMENT |
static int |
T_MOD_EQUAL |
static int |
T_MUL_EQUAL |
static int |
T_NEW |
static int |
T_NUM_STRING |
static int |
T_OBJECT_CAST |
static int |
T_OBJECT_OPERATOR |
static int |
T_OLD_FUNCTION |
static int |
T_OPEN_TAG |
static int |
T_OPEN_TAG_WITH_ECHO |
static int |
T_OR_EQUAL |
static int |
T_PAAMAYIM_NEKUDOTAYIM |
static int |
T_PLUS_EQUAL |
static int |
T_PRINT |
static int |
T_PRIVATE |
static int |
T_PROTECTED |
static int |
T_PUBLIC |
static int |
T_REQUIRE |
static int |
T_REQUIRE_ONCE |
static int |
T_RETURN |
static int |
T_SL |
static int |
T_SL_EQUAL |
static int |
T_SR |
static int |
T_SR_EQUAL |
static int |
T_START_HEREDOC |
static int |
T_STATIC |
static int |
T_STRING |
static int |
T_STRING_CAST |
static int |
T_STRING_VARNAME |
static int |
T_SWITCH |
static int |
T_THROW |
static int |
T_TRY |
static int |
T_UNSET |
static int |
T_UNSET_CAST |
static int |
T_USE |
static int |
T_VAR |
static int |
T_VARIABLE |
static int |
T_WHILE |
static int |
T_WHITESPACE |
static int |
T_XOR_EQUAL |
PHP_INI_ALL, PHP_INI_PERDIR, PHP_INI_SYSTEM, PHP_INI_USER
Constructor and Description |
---|
TokenModule() |
Modifier and Type | Method and Description |
---|---|
IniDefinitions |
getIniDefinitions()
Returns the default php.ini values.
|
java.lang.String[] |
getLoadedExtensions()
Returns the extensions loaded by the module.
|
static Value |
highlight_file(Env env,
StringValue filename,
boolean isReturn) |
static Value |
highlight_string(Env env,
StringValue s,
boolean isReturn) |
static ArrayValue |
token_get_all(Env env,
StringValue s)
Parses the string.
|
static java.lang.String |
token_name(int token)
Returns the token name for th egiven token.
|
addConstant, addConstant, addConstant, getConstMap
public static final int T_ABSTRACT
public static final int T_AND_EQUAL
public static final int T_ARRAY
public static final int T_ARRAY_CAST
public static final int T_AS
public static final int T_BAD_CHARACTER
public static final int T_BOOLEAN_AND
public static final int T_BOOLEAN_OR
public static final int T_BOOL_CAST
public static final int T_BREAK
public static final int T_CASE
public static final int T_CATCH
public static final int T_CHARACTER
public static final int T_CLASS
public static final int T_CLONE
public static final int T_CLOSE_TAG
public static final int T_COMMENT
public static final int T_CONCAT_EQUAL
public static final int T_CONST
public static final int T_CONSTANT_ENCAPSED_STRING
public static final int T_CONTINUE
public static final int T_CURLY_OPEN
public static final int T_DEC
public static final int T_DECLARE
public static final int T_DEFAULT
public static final int T_DIV_EQUAL
public static final int T_DNUMBER
public static final int T_DOC_COMMENT
public static final int T_DO
public static final int T_DOLLAR_OPEN_CURLY_BRACES
public static final int T_DOUBLE_ARROW
public static final int T_DOUBLE_CAST
public static final int T_DOUBLE_COLON
public static final int T_ECHO
public static final int T_ELSE
public static final int T_ELSEIF
public static final int T_EMPTY
public static final int T_ENCAPSED_AND_WHITESPACE
public static final int T_ENDDECLARE
public static final int T_ENDFOR
public static final int T_ENDFOREACH
public static final int T_ENDIF
public static final int T_ENDSWITCH
public static final int T_ENDWHILE
public static final int T_END_HEREDOC
public static final int T_EVAL
public static final int T_EXIT
public static final int T_EXTENDS
public static final int T_FILE
public static final int T_FINAL
public static final int T_FOR
public static final int T_FOREACH
public static final int T_FUNCTION
public static final int T_GLOBAL
public static final int T_HALT_COMPILER
public static final int T_IF
public static final int T_IMPLEMENTS
public static final int T_INC
public static final int T_INCLUDE
public static final int T_INCLUDE_ONCE
public static final int T_INLINE_HTML
public static final int T_INSTANCEOF
public static final int T_INT_CAST
public static final int T_INTERFACE
public static final int T_ISSET
public static final int T_IS_EQUAL
public static final int T_IS_GREATER_OR_EQUAL
public static final int T_IS_IDENTICAL
public static final int T_IS_NOT_EQUAL
public static final int T_IS_NOT_IDENTICAL
public static final int T_IS_SMALLER_OR_EQUAL
public static final int T_LINE
public static final int T_LIST
public static final int T_LNUMBER
public static final int T_LOGICAL_AND
public static final int T_LOGICAL_OR
public static final int T_LOGICAL_XOR
public static final int T_MINUS_EQUAL
public static final int T_ML_COMMENT
public static final int T_MOD_EQUAL
public static final int T_MUL_EQUAL
public static final int T_NEW
public static final int T_NUM_STRING
public static final int T_OBJECT_CAST
public static final int T_OBJECT_OPERATOR
public static final int T_OLD_FUNCTION
public static final int T_OPEN_TAG
public static final int T_OPEN_TAG_WITH_ECHO
public static final int T_OR_EQUAL
public static final int T_PAAMAYIM_NEKUDOTAYIM
public static final int T_PLUS_EQUAL
public static final int T_PRINT
public static final int T_PRIVATE
public static final int T_PUBLIC
public static final int T_PROTECTED
public static final int T_REQUIRE
public static final int T_REQUIRE_ONCE
public static final int T_RETURN
public static final int T_SL
public static final int T_SL_EQUAL
public static final int T_SR
public static final int T_SR_EQUAL
public static final int T_START_HEREDOC
public static final int T_STATIC
public static final int T_STRING
public static final int T_STRING_CAST
public static final int T_STRING_VARNAME
public static final int T_SWITCH
public static final int T_THROW
public static final int T_TRY
public static final int T_UNSET
public static final int T_UNSET_CAST
public static final int T_USE
public static final int T_VAR
public static final int T_VARIABLE
public static final int T_WHILE
public static final int T_WHITESPACE
public static final int T_XOR_EQUAL
public static final int T_FUNC_C
public static final int T_CLASS_C
public java.lang.String[] getLoadedExtensions()
AbstractQuercusModule
getLoadedExtensions
in interface QuercusModule
getLoadedExtensions
in class AbstractQuercusModule
public IniDefinitions getIniDefinitions()
getIniDefinitions
in interface QuercusModule
getIniDefinitions
in class AbstractQuercusModule
public static Value highlight_file(Env env, StringValue filename, boolean isReturn)
public static Value highlight_string(Env env, StringValue s, boolean isReturn)
public static ArrayValue token_get_all(Env env, StringValue s)
public static java.lang.String token_name(int token)