C# Class SData.Internal.Parser

Inheritance: ParserBase
显示文件 Open project: knat/SData

Private Properties

Property Type Description
ClassValue bool
GetUri string
LocalValue bool
LocalValueExpected object
Parser System
ParsingUnit bool

Public Methods

Method Description
Parse ( string filePath, TextReader reader, LoadingContext context, ClassTypeMd classTypeMd, object &result ) : bool

Protected Methods

Method Description
Clear ( ) : void
Init ( string filePath, TextReader reader, LoadingContext context ) : void

Private Methods

Method Description
ClassValue ( ClassTypeMd declaredClsMd, object &result, TextSpan &textSpan ) : bool
GetUri ( Token aliasToken ) : string
LocalValue ( LocalTypeMd typeMd, object &result, TextSpan &textSpan ) : bool
LocalValueExpected ( LocalTypeMd typeMd ) : object
Parser ( ) : System
ParsingUnit ( string filePath, TextReader reader, LoadingContext context, ClassTypeMd classTypeMd, object &result ) : bool

Method Details

Clear() protected method

protected Clear ( ) : void
return void

Init() protected method

protected Init ( string filePath, TextReader reader, LoadingContext context ) : void
filePath string
reader System.IO.TextReader
context LoadingContext
return void

Parse() public static method

public static Parse ( string filePath, TextReader reader, LoadingContext context, ClassTypeMd classTypeMd, object &result ) : bool
filePath string
reader System.IO.TextReader
context LoadingContext
classTypeMd ClassTypeMd
result object
return bool