C# Class StringParser.StringTokenizer

显示文件 Open project: Koziev/GrammarEngine Class Usage Examples

Public Methods

Method Description
GetCurrentLineNumber ( ) : int
ReadStringUntill ( string terminator ) : string
SkipWhite ( ) : void
StringTokenizer ( string _str ) : System
Strip ( string str, char c ) : string
UnQuote ( string s ) : string
back ( ) : void
eof ( ) : bool
probe ( string required ) : bool
read ( ) : string
read_it ( string required ) : void
seekp ( StringTokenizerPos where ) : void
tellp ( ) : StringTokenizerPos

Private Methods

Method Description
IsDelimiter ( char c ) : bool
IsSpace ( char c ) : bool
ReadQuotedToken ( char quotation_char ) : string
SkipCommentBlock ( ) : void
SkipLine ( ) : void
TryReadN ( int nchar ) : string

Method Details

GetCurrentLineNumber() public method

public GetCurrentLineNumber ( ) : int
return int

ReadStringUntill() public method

public ReadStringUntill ( string terminator ) : string
terminator string
return string

SkipWhite() public method

public SkipWhite ( ) : void
return void

StringTokenizer() public method

public StringTokenizer ( string _str ) : System
_str string
return System

Strip() public static method

public static Strip ( string str, char c ) : string
str string
c char
return string

UnQuote() public static method

public static UnQuote ( string s ) : string
s string
return string

back() public method

public back ( ) : void
return void

eof() public method

public eof ( ) : bool
return bool

probe() public method

public probe ( string required ) : bool
required string
return bool

read() public method

public read ( ) : string
return string

read_it() public method

public read_it ( string required ) : void
required string
return void

seekp() public method

public seekp ( StringTokenizerPos where ) : void
where StringTokenizerPos
return void

tellp() public method

public tellp ( ) : StringTokenizerPos
return StringTokenizerPos