C# Class Jurassic.Compiler.KeywordToken

Represents a reserved word in the source code.
Inheritance: Jurassic.Compiler.Token
Mostra file Open project: paulbartrum/jurassic Class Usage Examples

Public Properties

Property Type Description
Abstract KeywordToken
Boolean KeywordToken
Break KeywordToken
Byte KeywordToken
Case KeywordToken
Catch KeywordToken
Char KeywordToken
Class KeywordToken
Const KeywordToken
Continue KeywordToken
Debugger KeywordToken
Default KeywordToken
Delete KeywordToken
Do KeywordToken
Double KeywordToken
Else KeywordToken
Enum KeywordToken
Export KeywordToken
Extends KeywordToken
Final KeywordToken
Finally KeywordToken
Float KeywordToken
For KeywordToken
Function KeywordToken
Goto KeywordToken
If KeywordToken
Implements KeywordToken
Import KeywordToken
In KeywordToken
InstanceOf KeywordToken
Int KeywordToken
Interface KeywordToken
Let KeywordToken
Long KeywordToken
Native KeywordToken
New KeywordToken
Package KeywordToken
Private KeywordToken
Protected KeywordToken
Public KeywordToken
Return KeywordToken
Short KeywordToken
Static KeywordToken
Super KeywordToken
Switch KeywordToken
Synchronized KeywordToken
This KeywordToken
Throw KeywordToken
Throws KeywordToken
Transient KeywordToken
Try KeywordToken
Typeof KeywordToken
Var KeywordToken
Void KeywordToken
Volatile KeywordToken
While KeywordToken
With KeywordToken
Yield KeywordToken

Public Methods

Method Description
FromString ( string text, CompatibilityMode compatibilityMode, bool strictMode ) : Jurassic.Compiler.Token

Creates a token from the given string.

Private Methods

Method Description
InitializeLookupTable ( Jurassic.Compiler.Token additionalKeywords ) : Token>.Dictionary

Initializes a lookup table by combining the base list with a second list of keywords.

KeywordToken ( string name ) : System

Creates a new KeywordToken instance.

Method Details

FromString() public static method

Creates a token from the given string.
public static FromString ( string text, CompatibilityMode compatibilityMode, bool strictMode ) : Jurassic.Compiler.Token
text string The text.
compatibilityMode CompatibilityMode The script engine compatibility mode.
strictMode bool true if the lexer is operating in strict mode; /// false otherwise.
return Jurassic.Compiler.Token

Property Details

Abstract public_oe static_oe property

public static KeywordToken,Jurassic.Compiler Abstract
return KeywordToken

Boolean public_oe static_oe property

public static KeywordToken,Jurassic.Compiler Boolean
return KeywordToken

Break public_oe static_oe property

public static KeywordToken,Jurassic.Compiler Break
return KeywordToken

Byte public_oe static_oe property

public static KeywordToken,Jurassic.Compiler Byte
return KeywordToken

Case public_oe static_oe property

public static KeywordToken,Jurassic.Compiler Case
return KeywordToken

Catch public_oe static_oe property

public static KeywordToken,Jurassic.Compiler Catch
return KeywordToken

Char public_oe static_oe property

public static KeywordToken,Jurassic.Compiler Char
return KeywordToken

Class public_oe static_oe property

public static KeywordToken,Jurassic.Compiler Class
return KeywordToken

Const public_oe static_oe property

public static KeywordToken,Jurassic.Compiler Const
return KeywordToken

Continue public_oe static_oe property

public static KeywordToken,Jurassic.Compiler Continue
return KeywordToken

Debugger public_oe static_oe property

public static KeywordToken,Jurassic.Compiler Debugger
return KeywordToken

Default public_oe static_oe property

public static KeywordToken,Jurassic.Compiler Default
return KeywordToken

Delete public_oe static_oe property

public static KeywordToken,Jurassic.Compiler Delete
return KeywordToken

Do public_oe static_oe property

public static KeywordToken,Jurassic.Compiler Do
return KeywordToken

Double public_oe static_oe property

public static KeywordToken,Jurassic.Compiler Double
return KeywordToken

Else public_oe static_oe property

public static KeywordToken,Jurassic.Compiler Else
return KeywordToken

Enum public_oe static_oe property

public static KeywordToken,Jurassic.Compiler Enum
return KeywordToken

Export public_oe static_oe property

public static KeywordToken,Jurassic.Compiler Export
return KeywordToken

Extends public_oe static_oe property

public static KeywordToken,Jurassic.Compiler Extends
return KeywordToken

Final public_oe static_oe property

public static KeywordToken,Jurassic.Compiler Final
return KeywordToken

Finally public_oe static_oe property

public static KeywordToken,Jurassic.Compiler Finally
return KeywordToken

Float public_oe static_oe property

public static KeywordToken,Jurassic.Compiler Float
return KeywordToken

For public_oe static_oe property

public static KeywordToken,Jurassic.Compiler For
return KeywordToken

Function public_oe static_oe property

public static KeywordToken,Jurassic.Compiler Function
return KeywordToken

Goto public_oe static_oe property

public static KeywordToken,Jurassic.Compiler Goto
return KeywordToken

If public_oe static_oe property

public static KeywordToken,Jurassic.Compiler If
return KeywordToken

Implements public_oe static_oe property

public static KeywordToken,Jurassic.Compiler Implements
return KeywordToken

Import public_oe static_oe property

public static KeywordToken,Jurassic.Compiler Import
return KeywordToken

In public_oe static_oe property

public static KeywordToken,Jurassic.Compiler In
return KeywordToken

InstanceOf public_oe static_oe property

public static KeywordToken,Jurassic.Compiler InstanceOf
return KeywordToken

Int public_oe static_oe property

public static KeywordToken,Jurassic.Compiler Int
return KeywordToken

Interface public_oe static_oe property

public static KeywordToken,Jurassic.Compiler Interface
return KeywordToken

Let public_oe static_oe property

public static KeywordToken,Jurassic.Compiler Let
return KeywordToken

Long public_oe static_oe property

public static KeywordToken,Jurassic.Compiler Long
return KeywordToken

Native public_oe static_oe property

public static KeywordToken,Jurassic.Compiler Native
return KeywordToken

New public_oe static_oe property

public static KeywordToken,Jurassic.Compiler New
return KeywordToken

Package public_oe static_oe property

public static KeywordToken,Jurassic.Compiler Package
return KeywordToken

Private public_oe static_oe property

public static KeywordToken,Jurassic.Compiler Private
return KeywordToken

Protected public_oe static_oe property

public static KeywordToken,Jurassic.Compiler Protected
return KeywordToken

Public public_oe static_oe property

public static KeywordToken,Jurassic.Compiler Public
return KeywordToken

Return public_oe static_oe property

public static KeywordToken,Jurassic.Compiler Return
return KeywordToken

Short public_oe static_oe property

public static KeywordToken,Jurassic.Compiler Short
return KeywordToken

Static public_oe static_oe property

public static KeywordToken,Jurassic.Compiler Static
return KeywordToken

Super public_oe static_oe property

public static KeywordToken,Jurassic.Compiler Super
return KeywordToken

Switch public_oe static_oe property

public static KeywordToken,Jurassic.Compiler Switch
return KeywordToken

Synchronized public_oe static_oe property

public static KeywordToken,Jurassic.Compiler Synchronized
return KeywordToken

This public_oe static_oe property

public static KeywordToken,Jurassic.Compiler This
return KeywordToken

Throw public_oe static_oe property

public static KeywordToken,Jurassic.Compiler Throw
return KeywordToken

Throws public_oe static_oe property

public static KeywordToken,Jurassic.Compiler Throws
return KeywordToken

Transient public_oe static_oe property

public static KeywordToken,Jurassic.Compiler Transient
return KeywordToken

Try public_oe static_oe property

public static KeywordToken,Jurassic.Compiler Try
return KeywordToken

Typeof public_oe static_oe property

public static KeywordToken,Jurassic.Compiler Typeof
return KeywordToken

Var public_oe static_oe property

public static KeywordToken,Jurassic.Compiler Var
return KeywordToken

Void public_oe static_oe property

public static KeywordToken,Jurassic.Compiler Void
return KeywordToken

Volatile public_oe static_oe property

public static KeywordToken,Jurassic.Compiler Volatile
return KeywordToken

While public_oe static_oe property

public static KeywordToken,Jurassic.Compiler While
return KeywordToken

With public_oe static_oe property

public static KeywordToken,Jurassic.Compiler With
return KeywordToken

Yield public_oe static_oe property

public static KeywordToken,Jurassic.Compiler Yield
return KeywordToken