C# Class VisualStudio.Haskell.Lexer

ファイルを表示 Open project: ndmitchell/VSHaskell

Public Methods

Method Description
AlternateBracket ( Token t ) : Token
Forward ( string Text, LineState &state ) : Lexeme[]
IsBracket ( Token t ) : bool
IsComment ( Token t ) : bool
IsKeyword ( Token t ) : bool
IsLeftBracket ( Token t ) : bool
IsRightBracket ( Token t ) : bool
IsString ( Token t ) : bool
Test ( ) : void
Test ( string command ) : void

Private Methods

Method Description
Assert ( bool b ) : void
IsIdentCont ( char c ) : bool
IsIdentStart ( char c ) : bool
IsSymbol ( char c ) : bool
IsWhite ( char c ) : bool
MultilineComment ( string s, int &Index, int &Depth ) : void
SplitText ( string s ) : List
Test ( string command, LineState start, LineState end ) : void

Method Details

AlternateBracket() public static method

public static AlternateBracket ( Token t ) : Token
t Token
return Token

Forward() public static method

public static Forward ( string Text, LineState &state ) : Lexeme[]
Text string
state LineState
return Lexeme[]

IsBracket() public static method

public static IsBracket ( Token t ) : bool
t Token
return bool

IsComment() public static method

public static IsComment ( Token t ) : bool
t Token
return bool

IsKeyword() public static method

public static IsKeyword ( Token t ) : bool
t Token
return bool

IsLeftBracket() public static method

public static IsLeftBracket ( Token t ) : bool
t Token
return bool

IsRightBracket() public static method

public static IsRightBracket ( Token t ) : bool
t Token
return bool

IsString() public static method

public static IsString ( Token t ) : bool
t Token
return bool

Test() public static method

public static Test ( ) : void
return void

Test() public static method

public static Test ( string command ) : void
command string
return void