C# Class ProtocolBuffers.ProtoParser

ファイルを表示 Open project: enyim/ProtoBuf

Public Methods

Method Description
Parse ( string path ) : Proto

Private Methods

Method Description
ParseComment ( string token ) : bool

Return true if token was a comment

ParseEnum ( TokenReader tr, Message parent ) : MessageEnum
ParseField ( TokenReader tr, Message m ) : bool
ParseFieldOption ( string key, string val, Field f ) : void
ParseMessage ( TokenReader tr, Message parent ) : Message
ParseMessages ( TokenReader tr, Proto p ) : void
ParseOption ( TokenReader tr, Message m ) : void

File or Message options

Method Details

Parse() public static method

public static Parse ( string path ) : Proto
path string
return Proto