C# Class Jurassic.Compiler.KeywordToken

Represents a reserved word in the source code.
Inheritance: Jurassic.Compiler.Token
Show 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 static property

public static KeywordToken,Jurassic.Compiler Abstract
return KeywordToken

Boolean public static property

public static KeywordToken,Jurassic.Compiler Boolean
return KeywordToken

Break public static property

public static KeywordToken,Jurassic.Compiler Break
return KeywordToken

Byte public static property

public static KeywordToken,Jurassic.Compiler Byte
return KeywordToken

Case public static property

public static KeywordToken,Jurassic.Compiler Case
return KeywordToken

Catch public static property

public static KeywordToken,Jurassic.Compiler Catch
return KeywordToken

Char public static property

public static KeywordToken,Jurassic.Compiler Char
return KeywordToken

Class public static property

public static KeywordToken,Jurassic.Compiler Class
return KeywordToken

Const public static property

public static KeywordToken,Jurassic.Compiler Const
return KeywordToken

Continue public static property

public static KeywordToken,Jurassic.Compiler Continue
return KeywordToken

Debugger public static property

public static KeywordToken,Jurassic.Compiler Debugger
return KeywordToken

Default public static property

public static KeywordToken,Jurassic.Compiler Default
return KeywordToken

Delete public static property

public static KeywordToken,Jurassic.Compiler Delete
return KeywordToken

Do public static property

public static KeywordToken,Jurassic.Compiler Do
return KeywordToken

Double public static property

public static KeywordToken,Jurassic.Compiler Double
return KeywordToken

Else public static property

public static KeywordToken,Jurassic.Compiler Else
return KeywordToken

Enum public static property

public static KeywordToken,Jurassic.Compiler Enum
return KeywordToken

Export public static property

public static KeywordToken,Jurassic.Compiler Export
return KeywordToken

Extends public static property

public static KeywordToken,Jurassic.Compiler Extends
return KeywordToken

Final public static property

public static KeywordToken,Jurassic.Compiler Final
return KeywordToken

Finally public static property

public static KeywordToken,Jurassic.Compiler Finally
return KeywordToken

Float public static property

public static KeywordToken,Jurassic.Compiler Float
return KeywordToken

For public static property

public static KeywordToken,Jurassic.Compiler For
return KeywordToken

Function public static property

public static KeywordToken,Jurassic.Compiler Function
return KeywordToken

Goto public static property

public static KeywordToken,Jurassic.Compiler Goto
return KeywordToken

If public static property

public static KeywordToken,Jurassic.Compiler If
return KeywordToken

Implements public static property

public static KeywordToken,Jurassic.Compiler Implements
return KeywordToken

Import public static property

public static KeywordToken,Jurassic.Compiler Import
return KeywordToken

In public static property

public static KeywordToken,Jurassic.Compiler In
return KeywordToken

InstanceOf public static property

public static KeywordToken,Jurassic.Compiler InstanceOf
return KeywordToken

Int public static property

public static KeywordToken,Jurassic.Compiler Int
return KeywordToken

Interface public static property

public static KeywordToken,Jurassic.Compiler Interface
return KeywordToken

Let public static property

public static KeywordToken,Jurassic.Compiler Let
return KeywordToken

Long public static property

public static KeywordToken,Jurassic.Compiler Long
return KeywordToken

Native public static property

public static KeywordToken,Jurassic.Compiler Native
return KeywordToken

New public static property

public static KeywordToken,Jurassic.Compiler New
return KeywordToken

Package public static property

public static KeywordToken,Jurassic.Compiler Package
return KeywordToken

Private public static property

public static KeywordToken,Jurassic.Compiler Private
return KeywordToken

Protected public static property

public static KeywordToken,Jurassic.Compiler Protected
return KeywordToken

Public public static property

public static KeywordToken,Jurassic.Compiler Public
return KeywordToken

Return public static property

public static KeywordToken,Jurassic.Compiler Return
return KeywordToken

Short public static property

public static KeywordToken,Jurassic.Compiler Short
return KeywordToken

Static public static property

public static KeywordToken,Jurassic.Compiler Static
return KeywordToken

Super public static property

public static KeywordToken,Jurassic.Compiler Super
return KeywordToken

Switch public static property

public static KeywordToken,Jurassic.Compiler Switch
return KeywordToken

Synchronized public static property

public static KeywordToken,Jurassic.Compiler Synchronized
return KeywordToken

This public static property

public static KeywordToken,Jurassic.Compiler This
return KeywordToken

Throw public static property

public static KeywordToken,Jurassic.Compiler Throw
return KeywordToken

Throws public static property

public static KeywordToken,Jurassic.Compiler Throws
return KeywordToken

Transient public static property

public static KeywordToken,Jurassic.Compiler Transient
return KeywordToken

Try public static property

public static KeywordToken,Jurassic.Compiler Try
return KeywordToken

Typeof public static property

public static KeywordToken,Jurassic.Compiler Typeof
return KeywordToken

Var public static property

public static KeywordToken,Jurassic.Compiler Var
return KeywordToken

Void public static property

public static KeywordToken,Jurassic.Compiler Void
return KeywordToken

Volatile public static property

public static KeywordToken,Jurassic.Compiler Volatile
return KeywordToken

While public static property

public static KeywordToken,Jurassic.Compiler While
return KeywordToken

With public static property

public static KeywordToken,Jurassic.Compiler With
return KeywordToken

Yield public static property

public static KeywordToken,Jurassic.Compiler Yield
return KeywordToken