C# Class Kiwi.Json.Util.AbstractTextMatcher

Show file Open project: jlarsson/Kiwi.Json

Public Properties

Property Type Description
Eof char

Public Methods

Method Description
CreateExpectedException ( object expectedWhat ) : Exception
Match ( char c ) : void
Match ( string s ) : void
MatchAnyChar ( ) : char
MatchIdent ( string expectedWhat ) : string
MatchString ( ) : string
MatchUntil ( char c ) : string
PeekNextChar ( ) : int
TryMatch ( char c ) : bool

Protected Methods

Method Description
AbstractTextMatcher ( ) : System
ParseHexCharValue ( ) : int
ParseUnicodeHexEncoding ( ) : char
Read ( ) : int

Method Details

AbstractTextMatcher() protected method

protected AbstractTextMatcher ( ) : System
return System

CreateExpectedException() public abstract method

public abstract CreateExpectedException ( object expectedWhat ) : Exception
expectedWhat object
return System.Exception

Match() public method

public Match ( char c ) : void
c char
return void

Match() public method

public Match ( string s ) : void
s string
return void

MatchAnyChar() public method

public MatchAnyChar ( ) : char
return char

MatchIdent() public method

public MatchIdent ( string expectedWhat ) : string
expectedWhat string
return string

MatchString() public method

public MatchString ( ) : string
return string

MatchUntil() public method

public MatchUntil ( char c ) : string
c char
return string

ParseHexCharValue() protected method

protected ParseHexCharValue ( ) : int
return int

ParseUnicodeHexEncoding() protected method

protected ParseUnicodeHexEncoding ( ) : char
return char

PeekNextChar() public abstract method

public abstract PeekNextChar ( ) : int
return int

Read() protected abstract method

protected abstract Read ( ) : int
return int

TryMatch() public method

public TryMatch ( char c ) : bool
c char
return bool

Property Details

Eof public static property

public static char Eof
return char