Enum Token
- java.lang.Object
-
- java.lang.Enum<Token>
-
- org.schabi.newpipe.extractor.utils.jsextractor.Token
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADD
AND
ARROW
ASSIGN
ASSIGN_ADD
ASSIGN_BITAND
ASSIGN_BITOR
ASSIGN_BITXOR
ASSIGN_DIV
ASSIGN_EXP
ASSIGN_LSH
ASSIGN_MOD
ASSIGN_MUL
ASSIGN_RSH
ASSIGN_SUB
ASSIGN_URSH
BIGINT
BITAND
BITNOT
BITOR
BITXOR
BREAK
CASE
CATCH
COLON
COMMA
COMMENT
CONST
CONTINUE
DEBUGGER
DEC
DEFAULT
DELPROP
DIV
DO
DOT
ELSE
EOF
EOL
EQ
ERROR
EXP
EXPORT
FALSE
FINALLY
FOR
FUNCTION
GE
GT
HOOK
IF
IMPORT
IN
INC
INSTANCEOF
LB
LC
LE
LET
LP
LSH
LT
MOD
MUL
NAME
NE
NEW
NOT
NULL
NUMBER
OR
RB
RC
REGEXP
RESERVED
RETURN
RP
RSH
SEMI
SHEQ
SHNE
STRING
SUB
SWITCH
TEMPLATE_LITERAL
THIS
THROW
TRUE
TRY
TYPEOF
URSH
VAR
VOID
WHILE
WITH
YIELD
YIELD_STAR
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isConditional()
static Token
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Token[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ERROR
public static final Token ERROR
-
EOF
public static final Token EOF
-
EOL
public static final Token EOL
-
RETURN
public static final Token RETURN
-
BITOR
public static final Token BITOR
-
BITXOR
public static final Token BITXOR
-
BITAND
public static final Token BITAND
-
EQ
public static final Token EQ
-
NE
public static final Token NE
-
LT
public static final Token LT
-
LE
public static final Token LE
-
GT
public static final Token GT
-
GE
public static final Token GE
-
LSH
public static final Token LSH
-
RSH
public static final Token RSH
-
URSH
public static final Token URSH
-
ADD
public static final Token ADD
-
SUB
public static final Token SUB
-
MUL
public static final Token MUL
-
DIV
public static final Token DIV
-
MOD
public static final Token MOD
-
NOT
public static final Token NOT
-
BITNOT
public static final Token BITNOT
-
NEW
public static final Token NEW
-
DELPROP
public static final Token DELPROP
-
TYPEOF
public static final Token TYPEOF
-
NAME
public static final Token NAME
-
NUMBER
public static final Token NUMBER
-
STRING
public static final Token STRING
-
NULL
public static final Token NULL
-
THIS
public static final Token THIS
-
FALSE
public static final Token FALSE
-
TRUE
public static final Token TRUE
-
SHEQ
public static final Token SHEQ
-
SHNE
public static final Token SHNE
-
REGEXP
public static final Token REGEXP
-
THROW
public static final Token THROW
-
IN
public static final Token IN
-
INSTANCEOF
public static final Token INSTANCEOF
-
YIELD
public static final Token YIELD
-
EXP
public static final Token EXP
-
BIGINT
public static final Token BIGINT
-
TRY
public static final Token TRY
-
SEMI
public static final Token SEMI
-
LB
public static final Token LB
-
RB
public static final Token RB
-
LC
public static final Token LC
-
RC
public static final Token RC
-
LP
public static final Token LP
-
RP
public static final Token RP
-
COMMA
public static final Token COMMA
-
ASSIGN
public static final Token ASSIGN
-
ASSIGN_BITOR
public static final Token ASSIGN_BITOR
-
ASSIGN_BITXOR
public static final Token ASSIGN_BITXOR
-
ASSIGN_BITAND
public static final Token ASSIGN_BITAND
-
ASSIGN_LSH
public static final Token ASSIGN_LSH
-
ASSIGN_RSH
public static final Token ASSIGN_RSH
-
ASSIGN_URSH
public static final Token ASSIGN_URSH
-
ASSIGN_ADD
public static final Token ASSIGN_ADD
-
ASSIGN_SUB
public static final Token ASSIGN_SUB
-
ASSIGN_MUL
public static final Token ASSIGN_MUL
-
ASSIGN_DIV
public static final Token ASSIGN_DIV
-
ASSIGN_MOD
public static final Token ASSIGN_MOD
-
ASSIGN_EXP
public static final Token ASSIGN_EXP
-
HOOK
public static final Token HOOK
-
COLON
public static final Token COLON
-
OR
public static final Token OR
-
AND
public static final Token AND
-
INC
public static final Token INC
-
DEC
public static final Token DEC
-
DOT
public static final Token DOT
-
FUNCTION
public static final Token FUNCTION
-
EXPORT
public static final Token EXPORT
-
IMPORT
public static final Token IMPORT
-
IF
public static final Token IF
-
ELSE
public static final Token ELSE
-
SWITCH
public static final Token SWITCH
-
CASE
public static final Token CASE
-
DEFAULT
public static final Token DEFAULT
-
WHILE
public static final Token WHILE
-
DO
public static final Token DO
-
FOR
public static final Token FOR
-
BREAK
public static final Token BREAK
-
CONTINUE
public static final Token CONTINUE
-
VAR
public static final Token VAR
-
WITH
public static final Token WITH
-
CATCH
public static final Token CATCH
-
FINALLY
public static final Token FINALLY
-
VOID
public static final Token VOID
-
RESERVED
public static final Token RESERVED
-
LET
public static final Token LET
-
CONST
public static final Token CONST
-
DEBUGGER
public static final Token DEBUGGER
-
COMMENT
public static final Token COMMENT
-
ARROW
public static final Token ARROW
-
YIELD_STAR
public static final Token YIELD_STAR
-
TEMPLATE_LITERAL
public static final Token TEMPLATE_LITERAL
-
-
Method Detail
-
values
public static Token[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Token c : Token.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Token valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
isConditional
public boolean isConditional()
-
-