Logo Search packages:      
Sourcecode: yui-compressor version File versions  Download package

org::mozilla::javascript::Token Class Reference

List of all members.


Detailed Description

This class implements the JavaScript scanner.

It is based on the C source files jsscan.c and jsscan.h in the jsref package.

See also:
org.mozilla.javascript.Parser
Author:
Mike McCabe

Brendan Eich

Definition at line 57 of file Token.java.


Static Public Member Functions

static String name (int token)

Static Public Attributes

static final int ADD = 21
static final int AND = 104
static final int ARRAYCOMP = 156
static final int ARRAYLIT = 65
static final int ASSIGN = 89
static final int ASSIGN_ADD = 96
static final int ASSIGN_BITAND = 92
static final int ASSIGN_BITOR = 90
static final int ASSIGN_BITXOR = 91
static final int ASSIGN_DIV = 99
static final int ASSIGN_LSH = 93
static final int ASSIGN_MOD = 100
static final int ASSIGN_MUL = 98
static final int ASSIGN_RSH = 94
static final int ASSIGN_SUB = 97
static final int ASSIGN_URSH = 95
static final int BINDNAME = 49
static final int BITAND = 11
static final int BITNOT = 27
static final int BITOR = 9
static final int BITXOR = 10
static final int BLOCK = 128
static final int BREAK = 119
static final int CALL = 38
static final int CASE = 114
static final int CATCH = 123
static final int CATCH_SCOPE = 57
static final int COLON = 102
static final int COLONCOLON = 143
static final int COMMA = 88
static final int CONST = 153
static final int CONTINUE = 120
static final int DEBUGGER = 159
static final int DEC = 106
static final int DEFAULT = 115
static final int DEFAULTNAMESPACE = 73
static final int DEL_REF = 69
static final int DELPROP = 31
static final int DIV = 24
static final int DO = 117
static final int DOT = 107
static final int DOTDOT = 142
static final int DOTQUERY = 145
static final int ELSE = 112
static final int EMPTY = 127
static final int ENTERWITH = 2
static final int ENUM_ID = 62
static final int ENUM_INIT_ARRAY = 60
static final int ENUM_INIT_KEYS = 58
static final int ENUM_INIT_VALUES = 59
static final int ENUM_NEXT = 61
static final int EOF = 0
static final int EOL = 1
static final int EQ = 12
static final int ERROR = -1
static final int ESCXMLATTR = 74
static final int ESCXMLTEXT = 75
static final int EXPORT = 109
static final int EXPR_RESULT = 133
static final int EXPR_VOID = 132
static final int FALSE = 44
static final int FINALLY = 124
static final int FIRST_ASSIGN = ASSIGN
static final int FIRST_BYTECODE_TOKEN = 2
static final int FOR = 118
static final int FUNCTION = 108
static final int GE = 17
static final int GET = 150
static final int GET_REF = 67
static final int GETELEM = 36
static final int GETPROP = 33
static final int GETPROPNOWARN = 34
static final int GETVAR = 55
static final int GOTO = 5
static final int GT = 16
static final int HOOK = 101
static final int IF = 111
static final int IFEQ = 6
static final int IFNE = 7
static final int IMPORT = 110
static final int IN = 52
static final int INC = 105
static final int INSTANCEOF = 53
static final int JSR = 134
static final int LABEL = 129
static final int LAST_ASSIGN = ASSIGN_MOD
static final int LAST_BYTECODE_TOKEN = REF_NS_NAME
static final int LAST_TOKEN = 159
static final int LB = 82
static final int LC = 84
static final int LE = 15
static final int LEAVEWITH = 3
static final int LET = 152
static final int LETEXPR = 157
static final int LOCAL_BLOCK = 140
static final int LOCAL_LOAD = 54
static final int LOOP = 131
static final int LP = 86
static final int LSH = 18
static final int LT = 14
static final int MOD = 25
static final int MUL = 23
static final int NAME = 39
static final int NE = 13
static final int NEG = 29
static final int NEW = 30
static final int NOT = 26
static final int NULL = 42
static final int NUMBER = 40
static final int OBJECTLIT = 66
static final int OR = 103
static final int POS = 28
static final boolean printTrees = false
static final int RB = 83
static final int RC = 85
static final int REF_CALL = 70
static final int REF_MEMBER = 76
static final int REF_NAME = 78
static final int REF_NS_MEMBER = 77
static final int REF_NS_NAME = 79
static final int REF_SPECIAL = 71
static final int REGEXP = 48
static final int RESERVED = 126
static final int RETHROW = 51
static final int RETURN = 4
static final int RETURN_RESULT = 64
static final int RP = 87
static final int RSH = 19
static final int SCRIPT = 135
static final int SEMI = 81
static final int SET = 151
static final int SET_REF = 68
static final int SET_REF_OP = 141
static final int SETCONST = 154
static final int SETCONSTVAR = 155
static final int SETELEM = 37
static final int SETELEM_OP = 139
static final int SETNAME = 8
static final int SETPROP = 35
static final int SETPROP_OP = 138
static final int SETVAR = 56
static final int SHEQ = 46
static final int SHNE = 47
static final int STRING = 41
static final int SUB = 22
static final int SWITCH = 113
static final int TARGET = 130
static final int THIS = 43
static final int THISFN = 63
static final int THROW = 50
static final int TO_DOUBLE = 149
static final int TO_OBJECT = 148
static final int TRUE = 45
static final int TRY = 80
static final int TYPEOF = 32
static final int TYPEOFNAME = 136
static final int URSH = 20
static final int USE_STACK = 137
static final int VAR = 121
static final int VOID = 125
static final int WHILE = 116
static final int WITH = 122
static final int WITHEXPR = 158
static final int XML = 144
static final int XMLATTR = 146
static final int XMLEND = 147
static final int YIELD = 72

Static Package Attributes

static final boolean printICode = false
static final boolean printNames = printTrees || printICode

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index