C# Class CSharpUtils.Templates.Tokenizers.TokenizerStringReader

Exibir arquivo Open project: soywiz/csharputils Class Usage Examples

Public Properties

Property Type Description
Offset int
Text String

Public Methods

Method Description
GetSlice ( int Start, int End ) : String
IndexOf ( String Str ) : int
Match ( Regex Regex ) : TokenizerStringReaderMatch
Peek ( int Count ) : String
PeekChar ( ) : Char
ReadChar ( ) : char
ReadString ( ) : String
ReadString ( int Length ) : String
SegmentGetSlice ( ) : String
SegmentSetEnd ( int Offset ) : void
SegmentSetStart ( int Offset ) : void
Skip ( int Count = 1 ) : void
SkipSpaces ( ) : void
TokenizerStringReader ( String Text, int Offset ) : System
Unread ( int Count = 1 ) : void

Method Details

GetSlice() public method

public GetSlice ( int Start, int End ) : String
Start int
End int
return String

IndexOf() public method

public IndexOf ( String Str ) : int
Str String
return int

Match() public method

public Match ( Regex Regex ) : TokenizerStringReaderMatch
Regex System.Text.RegularExpressions.Regex
return TokenizerStringReaderMatch

Peek() public method

public Peek ( int Count ) : String
Count int
return String

PeekChar() public method

public PeekChar ( ) : Char
return Char

ReadChar() public method

public ReadChar ( ) : char
return char

ReadString() public method

public ReadString ( ) : String
return String

ReadString() public method

public ReadString ( int Length ) : String
Length int
return String

SegmentGetSlice() public method

public SegmentGetSlice ( ) : String
return String

SegmentSetEnd() public method

public SegmentSetEnd ( int Offset ) : void
Offset int
return void

SegmentSetStart() public method

public SegmentSetStart ( int Offset ) : void
Offset int
return void

Skip() public method

public Skip ( int Count = 1 ) : void
Count int
return void

SkipSpaces() public method

public SkipSpaces ( ) : void
return void

TokenizerStringReader() public method

public TokenizerStringReader ( String Text, int Offset ) : System
Text String
Offset int
return System

Unread() public method

public Unread ( int Count = 1 ) : void
Count int
return void

Property Details

Offset public_oe property

public int Offset
return int

Text public_oe property

public String Text
return String