C# Class Monobjc.Tools.Generator.Parsers.Xhtml.XhtmlBaseParser

Base class for XHTML parsing.
Inheritance: BaseParser
Mostrar archivo Open project: Monobjc/monobjc-tools

Protected Properties

Property Type Description
COMMENTS_REGEX System.Text.RegularExpressions.Regex
CONSTANT_REGEX System.Text.RegularExpressions.Regex
ENUMERATION_REGEX System.Text.RegularExpressions.Regex
PARAMETER_REGEX System.Text.RegularExpressions.Regex

Protected Methods

Method Description
FourCharToInt ( String fourCharValue ) : uint

Converts a four-char value to an unsigned integer.

SplitEnumeration ( String declaration, String &name, String &type, String &values ) : bool
XhtmlBaseParser ( NameValueCollection settings, TypeManager typeManager, TextWriter logger ) : System

Initializes a new instance of the XhtmlBaseParser class.

Private Methods

Method Description
CleanEnumValues ( String name, String &values ) : void

Cleans the enum values section by stripping comments and formatting in preparation for key/value parsing.

GetMethodName ( MethodEntity methodEntity ) : String

Gets the name of the method.

Method Details

FourCharToInt() protected static method

Converts a four-char value to an unsigned integer.
protected static FourCharToInt ( String fourCharValue ) : uint
fourCharValue String The four char value.
return uint

SplitEnumeration() protected method

protected SplitEnumeration ( String declaration, String &name, String &type, String &values ) : bool
declaration String
name String
type String
values String
return bool

XhtmlBaseParser() protected method

Initializes a new instance of the XhtmlBaseParser class.
protected XhtmlBaseParser ( NameValueCollection settings, TypeManager typeManager, TextWriter logger ) : System
settings System.Collections.Specialized.NameValueCollection The settings.
typeManager Monobjc.Tools.Generator.Utilities.TypeManager The type manager.
logger System.IO.TextWriter
return System

Property Details

COMMENTS_REGEX protected_oe static_oe property

protected static Regex,System.Text.RegularExpressions COMMENTS_REGEX
return System.Text.RegularExpressions.Regex

CONSTANT_REGEX protected_oe static_oe property

protected static Regex,System.Text.RegularExpressions CONSTANT_REGEX
return System.Text.RegularExpressions.Regex

ENUMERATION_REGEX protected_oe static_oe property

protected static Regex,System.Text.RegularExpressions ENUMERATION_REGEX
return System.Text.RegularExpressions.Regex

PARAMETER_REGEX protected_oe static_oe property

protected static Regex,System.Text.RegularExpressions PARAMETER_REGEX
return System.Text.RegularExpressions.Regex