C# Class Monobjc.Tools.Generator.Parsers.Xhtml.Cocoa.XhtmlCocoaConstantParser

XHTML parser dedicated to constants.
Inheritance: XhtmlBaseParser
Datei anzeigen Open project: Monobjc/monobjc-tools

Protected Properties

Property Type Description
L_VALUE_REGEX System.Text.RegularExpressions.Regex
ULL_VALUE_REGEX System.Text.RegularExpressions.Regex
UL_VALUE_REGEX System.Text.RegularExpressions.Regex

Public Methods

Method Description
Parse ( TypedEntity typedEntity, System.Xml.Linq.XElement constantElement ) : List

Parses the specified constant element.

Parse ( BaseEntity entity, TextReader reader ) : void

Parses the specified entity.

XhtmlCocoaConstantParser ( NameValueCollection settings, TypeManager typeManager, TextWriter logger ) : System

Initializes a new instance of the XhtmlNotificationParser class.

Private Methods

Method Description
ConvertNumericQualifier ( String value ) : String
ExtractConstants ( System.Xml.Linq.XElement constantElement, String name, String summary, String declaration ) : List
ExtractDefine ( System.Xml.Linq.XElement constantElement, String name, String summary, String declaration ) : List
ExtractEnumeration ( System.Xml.Linq.XElement constantElement, String name, String summary, String declaration ) : List
RefineEnumBaseType ( String values ) : String

Method Details

Parse() public method

Parses the specified constant element.
public Parse ( TypedEntity typedEntity, System.Xml.Linq.XElement constantElement ) : List
typedEntity Monobjc.Tools.Generator.Model.TypedEntity
constantElement System.Xml.Linq.XElement The constant element.
return List

Parse() public method

Parses the specified entity.
public Parse ( BaseEntity entity, TextReader reader ) : void
entity BaseEntity The entity.
reader System.IO.TextReader The reader.
return void

XhtmlCocoaConstantParser() public method

Initializes a new instance of the XhtmlNotificationParser class.
public XhtmlCocoaConstantParser ( 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

L_VALUE_REGEX protected_oe static_oe property

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

ULL_VALUE_REGEX protected_oe static_oe property

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

UL_VALUE_REGEX protected_oe static_oe property

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