C# Class Monobjc.Tools.Generator.Parsers.CodeDom.CodeDomBaseParser

Base class for code DOM parsing.
Inheritance: BaseParser
显示文件 Open project: Monobjc/monobjc-tools

Protected Methods

Method Description
AppendComment ( BaseEntity entity, IEnumerable comments ) : void

Appends the comment.

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

Initializes a new instance of the CodeDomBaseParser class.

FindAttribute ( AttributedNode declaration, String attributeName ) : Attribute

Finds the attribute on the given node.

GetDocumentationCommentsBefore ( INode node ) : IEnumerable

Appends the comment.

Method Details

AppendComment() protected static method

Appends the comment.
protected static AppendComment ( BaseEntity entity, IEnumerable comments ) : void
entity BaseEntity The entity.
comments IEnumerable The comments.
return void

CodeDomBaseParser() protected method

Initializes a new instance of the CodeDomBaseParser class.
protected CodeDomBaseParser ( 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

FindAttribute() protected static method

Finds the attribute on the given node.
protected static FindAttribute ( AttributedNode declaration, String attributeName ) : Attribute
declaration ICSharpCode.NRefactory.Ast.AttributedNode The declaration.
attributeName String Name of the attribute.
return ICSharpCode.NRefactory.Ast.Attribute

GetDocumentationCommentsBefore() protected method

Appends the comment.
protected GetDocumentationCommentsBefore ( INode node ) : IEnumerable
node INode The node.
return IEnumerable