C# Class ScriptsRefactorer.Tokenizer

Mostra file Open project: rotators/tools Class Usage Examples

Public Methods

Method Description
Parse ( ) : bool
Save ( String filename ) : bool
SetUnimportantRange ( Token from, Token to ) : void
Tokenizer ( String filename, String newline ) : System

Private Methods

Method Description
fixAllArguments ( ) : void
fixArguments ( Token tok ) : void
isIdentifierSymbol ( Char ch ) : bool
linkTokens ( Token left, Token right ) : void
parseIdentifier ( Token tok ) : bool
parseLines ( ) : void
parseSymbol ( Token tok ) : bool
parseWhitespaces ( Token tok ) : void
parseWhitespacesLine ( Token tok ) : bool
process ( ) : void
replaceWithArray ( Token from, Token to ) : void

Method Details

Parse() public method

public Parse ( ) : bool
return bool

Save() public method

public Save ( String filename ) : bool
filename String
return bool

SetUnimportantRange() public static method

public static SetUnimportantRange ( Token from, Token to ) : void
from Token
to Token
return void

Tokenizer() public method

public Tokenizer ( String filename, String newline ) : System
filename String
newline String
return System