C# Class Source.HRON.HRONSerializer

显示文件 Open project: mrange/T4Include Class Usage Examples

Public Methods

Method Description
DynamicAsString ( HRONObject hronObject ) : string
Parse ( int maxErrorCount, IEnumerable lines, IHRONVisitor visitor ) : void
TryParseDynamic ( int maxErrorCount, IEnumerable lines, HRONObject &hronObject, HRONDynamicParseError &errors ) : bool
TryParseDynamic ( int maxErrorCount, IEnumerable lines, dynamic &dyn, HRONDynamicParseError &errors ) : bool
VisitDynamic ( HRONObject hronObject, IHRONVisitor visitor ) : void

Method Details

DynamicAsString() public static method

public static DynamicAsString ( HRONObject hronObject ) : string
hronObject HRONObject
return string

Parse() public static method

public static Parse ( int maxErrorCount, IEnumerable lines, IHRONVisitor visitor ) : void
maxErrorCount int
lines IEnumerable
visitor IHRONVisitor
return void

TryParseDynamic() public static method

public static TryParseDynamic ( int maxErrorCount, IEnumerable lines, HRONObject &hronObject, HRONDynamicParseError &errors ) : bool
maxErrorCount int
lines IEnumerable
hronObject HRONObject
errors HRONDynamicParseError
return bool

TryParseDynamic() public static method

public static TryParseDynamic ( int maxErrorCount, IEnumerable lines, dynamic &dyn, HRONDynamicParseError &errors ) : bool
maxErrorCount int
lines IEnumerable
dyn dynamic
errors HRONDynamicParseError
return bool

VisitDynamic() public static method

public static VisitDynamic ( HRONObject hronObject, IHRONVisitor visitor ) : void
hronObject HRONObject
visitor IHRONVisitor
return void