Package org.mozilla.javascript
Class Icode
- java.lang.Object
-
- org.mozilla.javascript.Icode
-
- Direct Known Subclasses:
CodeGenerator
,Interpreter
abstract class Icode extends java.lang.Object
Additional interpreter-specific codes
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static int
Icode_CALLSPECIAL
(package private) static int
Icode_CLOSURE_EXPR
(package private) static int
Icode_CLOSURE_STMT
(package private) static int
Icode_DEBUGGER
(package private) static int
Icode_DELNAME
(package private) static int
Icode_DUP
(package private) static int
Icode_DUP2
(package private) static int
Icode_ELEM_AND_THIS
(package private) static int
Icode_ELEM_INC_DEC
(package private) static int
Icode_ENTERDQ
(package private) static int
Icode_GENERATOR
(package private) static int
Icode_GENERATOR_END
(package private) static int
Icode_GENERATOR_RETURN
(package private) static int
Icode_GETVAR1
(package private) static int
Icode_GOSUB
(package private) static int
Icode_IFEQ_POP
(package private) static int
Icode_INTNUMBER
(package private) static int
Icode_LEAVEDQ
(package private) static int
Icode_LINE
(package private) static int
Icode_LITERAL_GETTER
(package private) static int
Icode_LITERAL_NEW
(package private) static int
Icode_LITERAL_SET
(package private) static int
Icode_LITERAL_SETTER
(package private) static int
Icode_LOCAL_CLEAR
(package private) static int
Icode_NAME_AND_THIS
(package private) static int
Icode_NAME_INC_DEC
(package private) static int
Icode_ONE
(package private) static int
Icode_POP
(package private) static int
Icode_POP_RESULT
(package private) static int
Icode_PROP_AND_THIS
(package private) static int
Icode_PROP_INC_DEC
(package private) static int
Icode_REF_INC_DEC
(package private) static int
Icode_REG_BIGINT_C0
(package private) static int
Icode_REG_BIGINT_C1
(package private) static int
Icode_REG_BIGINT_C2
(package private) static int
Icode_REG_BIGINT_C3
(package private) static int
Icode_REG_BIGINT1
(package private) static int
Icode_REG_BIGINT2
(package private) static int
Icode_REG_BIGINT4
(package private) static int
Icode_REG_IND_C0
(package private) static int
Icode_REG_IND_C1
(package private) static int
Icode_REG_IND_C2
(package private) static int
Icode_REG_IND_C3
(package private) static int
Icode_REG_IND_C4
(package private) static int
Icode_REG_IND_C5
(package private) static int
Icode_REG_IND1
(package private) static int
Icode_REG_IND2
(package private) static int
Icode_REG_IND4
(package private) static int
Icode_REG_STR_C0
(package private) static int
Icode_REG_STR_C1
(package private) static int
Icode_REG_STR_C2
(package private) static int
Icode_REG_STR_C3
(package private) static int
Icode_REG_STR1
(package private) static int
Icode_REG_STR2
(package private) static int
Icode_REG_STR4
(package private) static int
Icode_RETSUB
(package private) static int
Icode_RETUNDEF
(package private) static int
Icode_SCOPE_LOAD
(package private) static int
Icode_SCOPE_SAVE
(package private) static int
Icode_SETCONST
(package private) static int
Icode_SETCONSTVAR
(package private) static int
Icode_SETCONSTVAR1
(package private) static int
Icode_SETVAR1
(package private) static int
Icode_SHORTNUMBER
(package private) static int
Icode_SPARE_ARRAYLIT
(package private) static int
Icode_STARTSUB
(package private) static int
Icode_SWAP
(package private) static int
Icode_TAIL_CALL
(package private) static int
Icode_TEMPLATE_LITERAL_CALLSITE
(package private) static int
Icode_TYPEOFNAME
(package private) static int
Icode_UNDEF
(package private) static int
Icode_VALUE_AND_THIS
(package private) static int
Icode_VAR_INC_DEC
(package private) static int
Icode_YIELD_STAR
(package private) static int
Icode_ZERO
(package private) static int
MIN_ICODE
-
Constructor Summary
Constructors Constructor Description Icode()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static java.lang.String
bytecodeName(int bytecode)
(package private) static boolean
validBytecode(int bytecode)
(package private) static boolean
validIcode(int icode)
(package private) static boolean
validTokenCode(int token)
-
-
-
Field Detail
-
Icode_DELNAME
static final int Icode_DELNAME
- See Also:
- Constant Field Values
-
Icode_DUP
static final int Icode_DUP
- See Also:
- Constant Field Values
-
Icode_DUP2
static final int Icode_DUP2
- See Also:
- Constant Field Values
-
Icode_SWAP
static final int Icode_SWAP
- See Also:
- Constant Field Values
-
Icode_POP
static final int Icode_POP
- See Also:
- Constant Field Values
-
Icode_POP_RESULT
static final int Icode_POP_RESULT
- See Also:
- Constant Field Values
-
Icode_IFEQ_POP
static final int Icode_IFEQ_POP
- See Also:
- Constant Field Values
-
Icode_VAR_INC_DEC
static final int Icode_VAR_INC_DEC
- See Also:
- Constant Field Values
-
Icode_NAME_INC_DEC
static final int Icode_NAME_INC_DEC
- See Also:
- Constant Field Values
-
Icode_PROP_INC_DEC
static final int Icode_PROP_INC_DEC
- See Also:
- Constant Field Values
-
Icode_ELEM_INC_DEC
static final int Icode_ELEM_INC_DEC
- See Also:
- Constant Field Values
-
Icode_REF_INC_DEC
static final int Icode_REF_INC_DEC
- See Also:
- Constant Field Values
-
Icode_SCOPE_LOAD
static final int Icode_SCOPE_LOAD
- See Also:
- Constant Field Values
-
Icode_SCOPE_SAVE
static final int Icode_SCOPE_SAVE
- See Also:
- Constant Field Values
-
Icode_TYPEOFNAME
static final int Icode_TYPEOFNAME
- See Also:
- Constant Field Values
-
Icode_NAME_AND_THIS
static final int Icode_NAME_AND_THIS
- See Also:
- Constant Field Values
-
Icode_PROP_AND_THIS
static final int Icode_PROP_AND_THIS
- See Also:
- Constant Field Values
-
Icode_ELEM_AND_THIS
static final int Icode_ELEM_AND_THIS
- See Also:
- Constant Field Values
-
Icode_VALUE_AND_THIS
static final int Icode_VALUE_AND_THIS
- See Also:
- Constant Field Values
-
Icode_CLOSURE_EXPR
static final int Icode_CLOSURE_EXPR
- See Also:
- Constant Field Values
-
Icode_CLOSURE_STMT
static final int Icode_CLOSURE_STMT
- See Also:
- Constant Field Values
-
Icode_CALLSPECIAL
static final int Icode_CALLSPECIAL
- See Also:
- Constant Field Values
-
Icode_RETUNDEF
static final int Icode_RETUNDEF
- See Also:
- Constant Field Values
-
Icode_GOSUB
static final int Icode_GOSUB
- See Also:
- Constant Field Values
-
Icode_STARTSUB
static final int Icode_STARTSUB
- See Also:
- Constant Field Values
-
Icode_RETSUB
static final int Icode_RETSUB
- See Also:
- Constant Field Values
-
Icode_LINE
static final int Icode_LINE
- See Also:
- Constant Field Values
-
Icode_SHORTNUMBER
static final int Icode_SHORTNUMBER
- See Also:
- Constant Field Values
-
Icode_INTNUMBER
static final int Icode_INTNUMBER
- See Also:
- Constant Field Values
-
Icode_LITERAL_NEW
static final int Icode_LITERAL_NEW
- See Also:
- Constant Field Values
-
Icode_LITERAL_SET
static final int Icode_LITERAL_SET
- See Also:
- Constant Field Values
-
Icode_SPARE_ARRAYLIT
static final int Icode_SPARE_ARRAYLIT
- See Also:
- Constant Field Values
-
Icode_REG_IND_C0
static final int Icode_REG_IND_C0
- See Also:
- Constant Field Values
-
Icode_REG_IND_C1
static final int Icode_REG_IND_C1
- See Also:
- Constant Field Values
-
Icode_REG_IND_C2
static final int Icode_REG_IND_C2
- See Also:
- Constant Field Values
-
Icode_REG_IND_C3
static final int Icode_REG_IND_C3
- See Also:
- Constant Field Values
-
Icode_REG_IND_C4
static final int Icode_REG_IND_C4
- See Also:
- Constant Field Values
-
Icode_REG_IND_C5
static final int Icode_REG_IND_C5
- See Also:
- Constant Field Values
-
Icode_REG_IND1
static final int Icode_REG_IND1
- See Also:
- Constant Field Values
-
Icode_REG_IND2
static final int Icode_REG_IND2
- See Also:
- Constant Field Values
-
Icode_REG_IND4
static final int Icode_REG_IND4
- See Also:
- Constant Field Values
-
Icode_REG_STR_C0
static final int Icode_REG_STR_C0
- See Also:
- Constant Field Values
-
Icode_REG_STR_C1
static final int Icode_REG_STR_C1
- See Also:
- Constant Field Values
-
Icode_REG_STR_C2
static final int Icode_REG_STR_C2
- See Also:
- Constant Field Values
-
Icode_REG_STR_C3
static final int Icode_REG_STR_C3
- See Also:
- Constant Field Values
-
Icode_REG_STR1
static final int Icode_REG_STR1
- See Also:
- Constant Field Values
-
Icode_REG_STR2
static final int Icode_REG_STR2
- See Also:
- Constant Field Values
-
Icode_REG_STR4
static final int Icode_REG_STR4
- See Also:
- Constant Field Values
-
Icode_GETVAR1
static final int Icode_GETVAR1
- See Also:
- Constant Field Values
-
Icode_SETVAR1
static final int Icode_SETVAR1
- See Also:
- Constant Field Values
-
Icode_UNDEF
static final int Icode_UNDEF
- See Also:
- Constant Field Values
-
Icode_ZERO
static final int Icode_ZERO
- See Also:
- Constant Field Values
-
Icode_ONE
static final int Icode_ONE
- See Also:
- Constant Field Values
-
Icode_ENTERDQ
static final int Icode_ENTERDQ
- See Also:
- Constant Field Values
-
Icode_LEAVEDQ
static final int Icode_LEAVEDQ
- See Also:
- Constant Field Values
-
Icode_TAIL_CALL
static final int Icode_TAIL_CALL
- See Also:
- Constant Field Values
-
Icode_LOCAL_CLEAR
static final int Icode_LOCAL_CLEAR
- See Also:
- Constant Field Values
-
Icode_LITERAL_GETTER
static final int Icode_LITERAL_GETTER
- See Also:
- Constant Field Values
-
Icode_LITERAL_SETTER
static final int Icode_LITERAL_SETTER
- See Also:
- Constant Field Values
-
Icode_SETCONST
static final int Icode_SETCONST
- See Also:
- Constant Field Values
-
Icode_SETCONSTVAR
static final int Icode_SETCONSTVAR
- See Also:
- Constant Field Values
-
Icode_SETCONSTVAR1
static final int Icode_SETCONSTVAR1
- See Also:
- Constant Field Values
-
Icode_GENERATOR
static final int Icode_GENERATOR
- See Also:
- Constant Field Values
-
Icode_GENERATOR_END
static final int Icode_GENERATOR_END
- See Also:
- Constant Field Values
-
Icode_DEBUGGER
static final int Icode_DEBUGGER
- See Also:
- Constant Field Values
-
Icode_GENERATOR_RETURN
static final int Icode_GENERATOR_RETURN
- See Also:
- Constant Field Values
-
Icode_YIELD_STAR
static final int Icode_YIELD_STAR
- See Also:
- Constant Field Values
-
Icode_REG_BIGINT_C0
static final int Icode_REG_BIGINT_C0
- See Also:
- Constant Field Values
-
Icode_REG_BIGINT_C1
static final int Icode_REG_BIGINT_C1
- See Also:
- Constant Field Values
-
Icode_REG_BIGINT_C2
static final int Icode_REG_BIGINT_C2
- See Also:
- Constant Field Values
-
Icode_REG_BIGINT_C3
static final int Icode_REG_BIGINT_C3
- See Also:
- Constant Field Values
-
Icode_REG_BIGINT1
static final int Icode_REG_BIGINT1
- See Also:
- Constant Field Values
-
Icode_REG_BIGINT2
static final int Icode_REG_BIGINT2
- See Also:
- Constant Field Values
-
Icode_REG_BIGINT4
static final int Icode_REG_BIGINT4
- See Also:
- Constant Field Values
-
Icode_TEMPLATE_LITERAL_CALLSITE
static final int Icode_TEMPLATE_LITERAL_CALLSITE
- See Also:
- Constant Field Values
-
MIN_ICODE
static final int MIN_ICODE
- See Also:
- Constant Field Values
-
-