C# Class MvvmCross.Platform.Parse.MvxParser

Mostra file Open project: MvvmCross/MvvmCross

Protected Methods

Method Description
IsValidFirstCharacterOfCSharpName ( char firstChar ) : bool
IsValidMidCharacterOfCSharpName ( char firstChar ) : bool
MoveNext ( uint increment = 1 ) : void
NumberFromText ( string numberText ) : ValueType
NumberFromText ( string numberText, bool decimalPeriodSeen ) : ValueType
ReadEnumerationValue ( Type enumerationType, bool ignoreCase = true ) : object
ReadEscapedCharacter ( ) : char
ReadNumber ( ) : ValueType
ReadQuotedString ( ) : string
ReadTextUntil ( ) : string
ReadTextUntilWhitespaceOr ( ) : string
ReadUnsignedInteger ( ) : uint
ReadValidCSharpName ( ) : string
ReadValue ( ) : object
Reset ( string textToParse ) : void
SafePeekString ( int length ) : string
SkipWhitespace ( ) : void
SkipWhitespaceAndCharacters ( ) : void
SkipWhitespaceAndCharacters ( bool>.Dictionary toSkip ) : void
SkipWhitespaceAndCharacters ( IEnumerable toSkip ) : void
TestKeywordInPeekString ( string uppercaseKeyword, string peekString ) : bool
TryReadBoolean ( bool &booleanValue ) : bool
TryReadNull ( ) : bool
TryReadValue ( AllowNonQuotedText allowNonQuotedText, object &value ) : bool

Private Methods

Method Description
IsWhiteSpaceOrCharacter ( char charToTest, bool>.Dictionary toSkip ) : bool
IsWhiteSpaceOrCharacter ( char charToTest, IEnumerable toSkip ) : bool
ReadFourDigitUnicodeCharacter ( ) : char
ReadNDigits ( int count ) : string

Method Details

IsValidFirstCharacterOfCSharpName() protected method

protected IsValidFirstCharacterOfCSharpName ( char firstChar ) : bool
firstChar char
return bool

IsValidMidCharacterOfCSharpName() protected method

protected IsValidMidCharacterOfCSharpName ( char firstChar ) : bool
firstChar char
return bool

MoveNext() protected method

protected MoveNext ( uint increment = 1 ) : void
increment uint
return void

NumberFromText() protected method

protected NumberFromText ( string numberText ) : ValueType
numberText string
return System.ValueType

NumberFromText() protected method

protected NumberFromText ( string numberText, bool decimalPeriodSeen ) : ValueType
numberText string
decimalPeriodSeen bool
return System.ValueType

ReadEnumerationValue() protected method

protected ReadEnumerationValue ( Type enumerationType, bool ignoreCase = true ) : object
enumerationType System.Type
ignoreCase bool
return object

ReadEscapedCharacter() protected method

protected ReadEscapedCharacter ( ) : char
return char

ReadNumber() protected method

protected ReadNumber ( ) : ValueType
return System.ValueType

ReadQuotedString() protected method

protected ReadQuotedString ( ) : string
return string

ReadTextUntil() protected method

protected ReadTextUntil ( ) : string
return string

ReadTextUntilWhitespaceOr() protected method

protected ReadTextUntilWhitespaceOr ( ) : string
return string

ReadUnsignedInteger() protected method

protected ReadUnsignedInteger ( ) : uint
return uint

ReadValidCSharpName() protected method

protected ReadValidCSharpName ( ) : string
return string

ReadValue() protected method

protected ReadValue ( ) : object
return object

Reset() protected method

protected Reset ( string textToParse ) : void
textToParse string
return void

SafePeekString() protected method

protected SafePeekString ( int length ) : string
length int
return string

SkipWhitespace() protected method

protected SkipWhitespace ( ) : void
return void

SkipWhitespaceAndCharacters() protected method

protected SkipWhitespaceAndCharacters ( ) : void
return void

SkipWhitespaceAndCharacters() protected method

protected SkipWhitespaceAndCharacters ( bool>.Dictionary toSkip ) : void
toSkip bool>.Dictionary
return void

SkipWhitespaceAndCharacters() protected method

protected SkipWhitespaceAndCharacters ( IEnumerable toSkip ) : void
toSkip IEnumerable
return void

TestKeywordInPeekString() protected method

protected TestKeywordInPeekString ( string uppercaseKeyword, string peekString ) : bool
uppercaseKeyword string
peekString string
return bool

TryReadBoolean() protected method

protected TryReadBoolean ( bool &booleanValue ) : bool
booleanValue bool
return bool

TryReadNull() protected method

protected TryReadNull ( ) : bool
return bool

TryReadValue() protected method

protected TryReadValue ( AllowNonQuotedText allowNonQuotedText, object &value ) : bool
allowNonQuotedText AllowNonQuotedText
value object
return bool