JSToken 枚举

定义

指定组成 JScript 语言的单个代码单元或标记。Specifies the individual units of code, or tokens, that make up the JScript language.

此 API 支持产品基础结构,不能在代码中直接使用。

public enum class JSToken
public enum JSToken
type JSToken = 
Public Enum JSToken
继承

字段

Abstract 15

abstract 修饰符。The abstract modifier.

AccessField 38

.The . 字段访问器符号。field accessor symbol.

Assert 104

assert 保留字。The assert reserved word.

Assign 69

= 赋值运算符。The = assignment operator.

BitwiseAnd 52

& 按位 AND 运算符。The & bitwise AND operator.

BitwiseAndAssign 74

&= 按位 AND 赋值运算符。The &= bitwise AND assignment operator.

BitwiseNot 40

~ 按位 NOT 运算符。The ~ bitwise NOT operator.

BitwiseOr 50

| 按位 OR 运算符。The | bitwise OR operator.

BitwiseOrAssign 75

|= 按位 OR 赋值运算符。The |= bitwise OR assignment operator.

BitwiseXor 51

^ 按位 XOR 运算符。The ^ bitwise XOR operator.

BitwiseXorAssign 76

^= 按位 XOR 赋值运算符。The ^= bitwise XOR assignment operator.

Boolean 105

boolean 数据类型。The boolean data type.

Break 6

break语句。The break statement.

Byte 106

byte 数据类型。The byte data type.

Case 84

switch 语句的 case 关键字。The case keyword of a switch statement.

Catch 85

try 语句的 catch 关键字。The catch keyword of a try statement.

Char 107

char 数据类型。The char data type.

Class 24

class 语句。The class statement.

Colon 82

: 三元运算符。The : ternary operator.

Comma 83

, 逗号运算符。The , comma operator.

Comment 102

注释文本。Comment text.

ConditionalIf 81

?The ? 三元运算符。ternary operator.

Const 23

const 语句。The const statement.

Continue 5

continue 语句。The continue statement.

Debugger 86

debugger 语句。The debugger statement.

Decimal 108

decimal 数据类型。The decimal data type.

Decrement 45

-- 减量运算符。The -- decrement operator.

Default 87

switch 语句的 default 关键字。The default keyword of a switch statement.

Delete 41

delete 运算符。The delete operator.

Divide 65

/ 除法运算符。The / division operator.

DivideAssign 73

/= 除法赋值运算符。The /= division assignment operator.

Do 3

do 语句。The do statement.

Double 109

double 数据类型。The double data type.

DoubleColon 110

:: 保留字。The :: reserved word.

Else 88

if 语句的 else 关键字。The else keyword of an if statement.

EndOfFile 0

所扫描或分析的文件的结尾。The end of the file being scanned or parsed. 这是默认值。This is the default value.

EndOfLine 132

所分析行的结尾。The end of the line being parsed.

Ensure 112

ensure 保留字。The ensure reserved word.

Enum 111

enum 语句。The enum statement.

Equal 53

== 相等比较运算符。The == equality comparison operator.

Event 21

event 保留字。The event reserved word.

Export 89

export 保留字。The export reserved word.

Extends 90

class 语句的 extends 关键字。The extends keyword of a class statement.

False 30

false 文本。The false literal.

Final 20

final 修饰符。The final modifier.

Finally 91

try 语句的 finally 关键字。The finally keyword of a try statement.

FirstBinaryOp 46

一个占位符枚举成员,利用其能够进行诸如 if JSToken.FirstBinaryOp <= token && token <= JSToken.LastBinaryOp then... 等比较A placeholder enumeration member that enables comparisons such as if JSToken.FirstBinaryOp <= token && token <= JSToken.LastBinaryOp then...

FirstOp 39

一个占位符枚举成员,利用其能够进行诸如 if JSToken.FirstOp <= token && token <= JSToken.LastOp then... 等比较A placeholder enumeration member that enables comparisons such as if JSToken.FirstOp <= token && token <= JSToken.LastOp then...

Float 113

float 数据类型。The float data type.

For 2

for 语句。The for statement.

Function 25

function 语句。The function statement.

Get 92

function get 语句的 get 关键字。The get keyword of a function get statement.

Goto 114

goto 保留字。The goto reserved word.

GreaterThan 57

> 关系比较运算符。The > relational comparison operator.

GreaterThanEqual 60

>= 关系比较运算符。The >= relational comparison operator.

Identifier 32

标识符。An identifier.

If 1

if 语句。The if statement.

Implements 93

classinterface 语句的 implements 关键字。The implements keyword of a class or interface statement.

Import 8

import 语句。The import statement.

In 68

in 运算符。The in operator.

Increment 44

++ 递增运算符。The ++ increment operator.

Instanceof 67

instanceof 运算符。The instanceof operator.

Int 115

int 数据类型。The int data type.

IntegerLiteral 34

整数。An integer literal.

Interface 94

interface 语句。The interface statement.

Internal 14

internal 修饰符。The internal modifier.

Invariant 116

invariant 保留字。The invariant reserved word.

LastAssign 80

一个占位符枚举成员,利用其能够进行诸如 if JSToken.Assign <= token && token <= JSToken.LastAssign then... 等比较A placeholder enumeration member that enables comparisons such as if JSToken.Assign <= token && token <= JSToken.LastAssign then...

LastBinaryOp 80

一个占位符枚举成员,利用其能够进行诸如 if JSToken.FirstBinaryOp <= token && token <= JSToken.LastBinaryOp then... 等比较A placeholder enumeration member that enables comparisons such as if JSToken.FirstBinaryOp <= token && token <= JSToken.LastBinaryOp then...

LastOp 83

一个占位符枚举成员,利用其能够进行诸如 if JSToken.FirstBinaryOp <= token && token <= JSToken.LastOp then... 等比较A placeholder enumeration member that enables comparisons such as if JSToken.FirstBinaryOp <= token && token <= JSToken.LastOp then...

LastPPOperator 66

一个占位符枚举成员,利用其能够进行诸如 if JSToken.FirstBinaryOp <= token && token <= JSToken.LastPPOperator then... 等比较PPOperators 是可以预先处理的运算。A placeholder enumeration member that enables comparisons such as if JSToken.FirstBinaryOp <= token && token <= JSToken.LastPPOperator then... PPOperators are operations that can be pre-processed.

LeftBracket 37

[ 符号。The [ symbol.

LeftCurly 26

{ 符号。The { symbol.

LeftParen 36

( 符号。The ( symbol.

LeftShift 61

<< 按位左移运算符。The << bitwise left shift operator.

LeftShiftAssign 78

<<= 左移赋值运算符。The <<= left shift assignment operator.

LessThan 58

< 关系比较运算符。The < relational comparison operator.

LessThanEqual 59

<= 关系比较运算符。The <= relational comparison operator.

LogicalAnd 49

&& 逻辑 AND 运算符。The && logical AND operator.

LogicalNot 39

重载 !The ! 逻辑 NOT 运算符。logical NOT operator.

LogicalOr 48

|| 逻辑 OR 运算符。The || logical OR operator.

Long 117

long 数据类型。The long data type.

Minus 47

- 减法运算符。The - subtraction operator.

MinusAssign 71

-= 减法赋值运算符。The -= subtraction assignment operator.

Modulo 66

% 取模运算符。The % modulus operator.

ModuloAssign 77

%= 取模赋值运算符。The %= modulus assignment operator.

Multiply 64

* 乘法运算符。The * multiplication operator.

MultiplyAssign 72

*= 乘法赋值运算符。The *= multiplication assignment operator.

Namespace 118

namespace 保留字。The namespace reserved word.

Native 119

native 保留字。The native reserved word.

New 95

new 运算符。The new operator.

None -1

无标记。No token. 例如,在扫描任何标记之前,或在错误情形中。For example, before scanning any tokens, or in error situations.

NotEqual 54

!= 不相等比较运算符。The != inequality comparison operator.

Null 28

null 文本。The null literal.

NumericLiteral 35

数字文本。A numeric literal.

Package 13

package 语句。The package statement.

ParamArray 126

... 保留字。The ... reserved word.

Plus 46

+ 加法运算符。The + addition operator.

PlusAssign 70

+= 加法赋值运算符。The += addition assignment operator.

PreProcessDirective 133

预处理器指令。A preprocessor directive.

PreProcessorConstant 101

预处理器常量。A preprocessor constant.

Private 18

private 修饰符。The private modifier.

Protected 19

protected 修饰符。The protected modifier.

Public 16

public 修饰符。The public modifier.

Require 120

require 保留字。The require reserved word.

Return 7

return 语句。The return statement.

RightBracket 100

] 符号。The ] symbol.

RightCurly 99

} 符号。The } symbol.

RightParen 98

) 符号。The ) symbol.

RightShift 62

>> 按位右移运算符。The >> bitwise right shift operator.

RightShiftAssign 79

>>= 右移赋值运算符。The >>= right shift assignment operator.

Sbyte 121

sbyte 数据类型。The sbyte data type.

Semicolon 27

; 符号。The ; symbol.

Set 96

function set 语句的 set 关键字。The set keyword of a function set statement.

Short 122

short 数据类型。The short data type.

Static 17

static 修饰符。The static modifier.

StrictEqual 55

=== 恒等比较运算符。The === identity comparison operator.

StrictNotEqual 56

!== 恒等比较运算符。The !== identity comparison operator.

StringLiteral 33

数字文本。A numeric literal.

Super 97

super 语句。The super statement.

Switch 10

switch 语句。The switch statement.

Synchronized 123

synchronized 保留字。The synchronized reserved word.

This 31

this 语句。The this statement.

Throw 11

throw 语句。The throw statement.

Throws 125

throws 保留字。The throws reserved word.

Transient 124

transient 保留字。The transient reserved word.

True 29

true 文本。The true literal.

Try 12

try 语句。The try statement.

Typeof 43

typeof 运算符。The typeof operator.

Uint 129

uint 数据类型。The uint data type.

Ulong 130

ulong 数据类型。The ulong data type.

UnsignedRightShift 63

>>> 无符号右移运算符。The >>> unsigned right shift operator.

UnsignedRightShiftAssign 80

>>>= 无符号右移赋值运算符。The >>>= unsigned right shift assignment operator.

UnterminatedComment 103

未终止的注释。An un-terminated comment.

Use 131

use 保留字。The use reserved word.

Ushort 128

ushort 数据类型。The ushort data type.

Var 22

var 语句。The var statement.

Void 42

void 运算符。The void operator.

Volatile 127

volatile 保留字。The volatile reserved word.

While 4

while 语句。The while statement.

With 9

with 语句。The with statement.

注解

扫描器和分析器使用此枚举的成员来读取源代码。The members of this enumeration are used by the scanner and the parser to read source code. 运算符类还使用此枚举的成员来标识要执行的操作。The members of this enumeration are also used by operator classes to identify the operation to perform. 有关详细信息,请参阅为.NET Framework 创建语言编译器For more information, see Create a Language Compiler for the .NET Framework.

适用于

另请参阅