C# Class SData.Compiler.Parser

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

Private Properties

Property Type Description
CheckDuplicateGlobalType void
ClassType bool
CompilationUnit bool
EnumType bool
EnumTypeMember bool
ErrorAndThrow void
ErrorAndThrow void
GlobalType bool
GlobalTypeRef bool
Import bool
ListType bool
LocalType bool
LocalTypeExpected LocalTypeNode
MapType bool
Namespace bool
NullableType bool
Parser System
Property bool
QualifiableName bool
QualifiableNameExpected QualifiableNameNode
SetType bool
UriExpected Token

Public Methods

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

Private Methods

Method Description
CheckDuplicateGlobalType ( NamespaceNode ns, Token name ) : void
ClassType ( NamespaceNode ns ) : bool
CompilationUnit ( string filePath, TextReader reader, LoadingContext context, CompilationUnitNode &result ) : bool
EnumType ( NamespaceNode ns ) : bool
EnumTypeMember ( EnumTypeNode en ) : bool
ErrorAndThrow ( DiagMsgEx diagMsg ) : void
ErrorAndThrow ( DiagMsgEx diagMsg, TextSpan textSpan ) : void
GlobalType ( NamespaceNode ns ) : bool
GlobalTypeRef ( NamespaceNode ns, GlobalTypeRefNode &result ) : bool
Import ( NamespaceNode ns ) : bool
ListType ( NamespaceNode ns, ListOrSetTypeNode &result ) : bool
LocalType ( NamespaceNode ns, LocalTypeFlags flags, LocalTypeNode &result ) : bool
LocalTypeExpected ( NamespaceNode ns, LocalTypeFlags flags ) : LocalTypeNode
MapType ( NamespaceNode ns, MapTypeNode &result ) : bool
Namespace ( CompilationUnitNode cu ) : bool
NullableType ( NamespaceNode ns, NullableTypeNode &result ) : bool
Parser ( ) : System
Property ( NamespaceNode ns, ClassTypeNode cls ) : bool
QualifiableName ( QualifiableNameNode &result ) : bool
QualifiableNameExpected ( ) : QualifiableNameNode
SetType ( NamespaceNode ns, ListOrSetTypeNode &result ) : bool
UriExpected ( ) : Token

Method Details

Parse() public static method

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