JSToken JSToken JSToken JSToken Enum

定义

指定组成 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 Abstract Abstract Abstract 15

abstract 修饰符。The abstract modifier.

AccessField AccessField AccessField AccessField 38

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

Assert Assert Assert Assert 104

assert 保留字。The assert reserved word.

Assign Assign Assign Assign 69

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

BitwiseAnd BitwiseAnd BitwiseAnd BitwiseAnd 52

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

BitwiseAndAssign BitwiseAndAssign BitwiseAndAssign BitwiseAndAssign 74

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

BitwiseNot BitwiseNot BitwiseNot BitwiseNot 40

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

BitwiseOr BitwiseOr BitwiseOr BitwiseOr 50

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

BitwiseOrAssign BitwiseOrAssign BitwiseOrAssign BitwiseOrAssign 75

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

BitwiseXor BitwiseXor BitwiseXor BitwiseXor 51

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

BitwiseXorAssign BitwiseXorAssign BitwiseXorAssign BitwiseXorAssign 76

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

Boolean Boolean Boolean Boolean 105

boolean 数据类型。The boolean data type.

Break Break Break Break 6

break语句。The break statement.

Byte Byte Byte Byte 106

byte 数据类型。The byte data type.

Case Case Case Case 84

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

Catch Catch Catch Catch 85

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

Char Char Char Char 107

char 数据类型。The char data type.

Class Class Class Class 24

class 语句。The class statement.

Colon Colon Colon Colon 82

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

Comma Comma Comma Comma 83

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

Comment Comment Comment Comment 102

注释文本。Comment text.

ConditionalIf ConditionalIf ConditionalIf ConditionalIf 81

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

Const Const Const Const 23

const 语句。The const statement.

Continue Continue Continue Continue 5

continue 语句。The continue statement.

Debugger Debugger Debugger Debugger 86

debugger 语句。The debugger statement.

Decimal Decimal Decimal Decimal 108

decimal 数据类型。The decimal data type.

Decrement Decrement Decrement Decrement 45

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

Default Default Default Default 87

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

Delete Delete Delete Delete 41

delete 运算符。The delete operator.

Divide Divide Divide Divide 65

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

DivideAssign DivideAssign DivideAssign DivideAssign 73

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

Do Do Do Do 3

do 语句。The do statement.

Double Double Double Double 109

double 数据类型。The double data type.

DoubleColon DoubleColon DoubleColon DoubleColon 110

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

Else Else Else Else 88

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

EndOfFile EndOfFile EndOfFile EndOfFile 0

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

EndOfLine EndOfLine EndOfLine EndOfLine 132

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

Ensure Ensure Ensure Ensure 112

ensure 保留字。The ensure reserved word.

Enum Enum Enum Enum 111

enum 语句。The enum statement.

Equal Equal Equal Equal 53

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

Event Event Event Event 21

event 保留字。The event reserved word.

Export Export Export Export 89

export 保留字。The export reserved word.

Extends Extends Extends Extends 90

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

False False False False 30

false 文本。The false literal.

Final Final Final Final 20

final 修饰符。The final modifier.

Finally Finally Finally Finally 91

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

FirstBinaryOp FirstBinaryOp FirstBinaryOp 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 FirstOp FirstOp 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 Float Float Float 113

float 数据类型。The float data type.

For For For For 2

for 语句。The for statement.

Function Function Function Function 25

function 语句。The function statement.

Get Get Get Get 92

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

Goto Goto Goto Goto 114

goto 保留字。The goto reserved word.

GreaterThan GreaterThan GreaterThan GreaterThan 57

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

GreaterThanEqual GreaterThanEqual GreaterThanEqual GreaterThanEqual 60

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

Identifier Identifier Identifier Identifier 32

标识符。An identifier.

If If If If 1

if 语句。The if statement.

Implements Implements Implements Implements 93

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

Import Import Import Import 8

import 语句。The import statement.

In In In In 68

in 运算符。The in operator.

Increment Increment Increment Increment 44

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

Instanceof Instanceof Instanceof Instanceof 67

instanceof 运算符。The instanceof operator.

Int Int Int Int 115

int 数据类型。The int data type.

IntegerLiteral IntegerLiteral IntegerLiteral IntegerLiteral 34

整数。An integer literal.

Interface Interface Interface Interface 94

interface 语句。The interface statement.

Internal Internal Internal Internal 14

internal 修饰符。The internal modifier.

Invariant Invariant Invariant Invariant 116

invariant 保留字。The invariant reserved word.

LastAssign LastAssign LastAssign 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 LastBinaryOp LastBinaryOp 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 LastOp LastOp 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 LastPPOperator LastPPOperator 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 LeftBracket LeftBracket LeftBracket 37

[ 符号。The [ symbol.

LeftCurly LeftCurly LeftCurly LeftCurly 26

{ 符号。The { symbol.

LeftParen LeftParen LeftParen LeftParen 36

( 符号。The ( symbol.

LeftShift LeftShift LeftShift LeftShift 61

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

LeftShiftAssign LeftShiftAssign LeftShiftAssign LeftShiftAssign 78

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

LessThan LessThan LessThan LessThan 58

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

LessThanEqual LessThanEqual LessThanEqual LessThanEqual 59

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

LogicalAnd LogicalAnd LogicalAnd LogicalAnd 49

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

LogicalNot LogicalNot LogicalNot LogicalNot 39

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

LogicalOr LogicalOr LogicalOr LogicalOr 48

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

Long Long Long Long 117

long 数据类型。The long data type.

Minus Minus Minus Minus 47

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

MinusAssign MinusAssign MinusAssign MinusAssign 71

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

Modulo Modulo Modulo Modulo 66

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

ModuloAssign ModuloAssign ModuloAssign ModuloAssign 77

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

Multiply Multiply Multiply Multiply 64

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

MultiplyAssign MultiplyAssign MultiplyAssign MultiplyAssign 72

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

Namespace Namespace Namespace Namespace 118

namespace 保留字。The namespace reserved word.

Native Native Native Native 119

native 保留字。The native reserved word.

New New New New 95

new 运算符。The new operator.

None None None None -1

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

NotEqual NotEqual NotEqual NotEqual 54

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

Null Null Null Null 28

null 文本。The null literal.

NumericLiteral NumericLiteral NumericLiteral NumericLiteral 35

数字文本。A numeric literal.

Package Package Package Package 13

package 语句。The package statement.

ParamArray ParamArray ParamArray ParamArray 126

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

Plus Plus Plus Plus 46

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

PlusAssign PlusAssign PlusAssign PlusAssign 70

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

PreProcessDirective PreProcessDirective PreProcessDirective PreProcessDirective 133

预处理器指令。A preprocessor directive.

PreProcessorConstant PreProcessorConstant PreProcessorConstant PreProcessorConstant 101

预处理器常量。A preprocessor constant.

Private Private Private Private 18

private 修饰符。The private modifier.

Protected Protected Protected Protected 19

protected 修饰符。The protected modifier.

Public Public Public Public 16

public 修饰符。The public modifier.

Require Require Require Require 120

require 保留字。The require reserved word.

Return Return Return Return 7

return 语句。The return statement.

RightBracket RightBracket RightBracket RightBracket 100

] 符号。The ] symbol.

RightCurly RightCurly RightCurly RightCurly 99

} 符号。The } symbol.

RightParen RightParen RightParen RightParen 98

) 符号。The ) symbol.

RightShift RightShift RightShift RightShift 62

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

RightShiftAssign RightShiftAssign RightShiftAssign RightShiftAssign 79

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

Sbyte Sbyte Sbyte Sbyte 121

sbyte 数据类型。The sbyte data type.

Semicolon Semicolon Semicolon Semicolon 27

; 符号。The ; symbol.

Set Set Set Set 96

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

Short Short Short Short 122

short 数据类型。The short data type.

Static Static Static Static 17

static 修饰符。The static modifier.

StrictEqual StrictEqual StrictEqual StrictEqual 55

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

StrictNotEqual StrictNotEqual StrictNotEqual StrictNotEqual 56

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

StringLiteral StringLiteral StringLiteral StringLiteral 33

数字文本。A numeric literal.

Super Super Super Super 97

super 语句。The super statement.

Switch Switch Switch Switch 10

switch 语句。The switch statement.

Synchronized Synchronized Synchronized Synchronized 123

synchronized 保留字。The synchronized reserved word.

This This This This 31

this 语句。The this statement.

Throw Throw Throw Throw 11

throw 语句。The throw statement.

Throws Throws Throws Throws 125

throws 保留字。The throws reserved word.

Transient Transient Transient Transient 124

transient 保留字。The transient reserved word.

True True True True 29

true 文本。The true literal.

Try Try Try Try 12

try 语句。The try statement.

Typeof Typeof Typeof Typeof 43

typeof 运算符。The typeof operator.

Uint Uint Uint Uint 129

uint 数据类型。The uint data type.

Ulong Ulong Ulong Ulong 130

ulong 数据类型。The ulong data type.

UnsignedRightShift UnsignedRightShift UnsignedRightShift UnsignedRightShift 63

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

UnsignedRightShiftAssign UnsignedRightShiftAssign UnsignedRightShiftAssign UnsignedRightShiftAssign 80

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

UnterminatedComment UnterminatedComment UnterminatedComment UnterminatedComment 103

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

Use Use Use Use 131

use 保留字。The use reserved word.

Ushort Ushort Ushort Ushort 128

ushort 数据类型。The ushort data type.

Var Var Var Var 22

var 语句。The var statement.

Void Void Void Void 42

void 运算符。The void operator.

Volatile Volatile Volatile Volatile 127

volatile 保留字。The volatile reserved word.

While While While While 4

while 语句。The while statement.

With With With 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.

适用于

另请参阅