C# Class Rubberduck.Parsing.Symbols.DeclarationFinder

显示文件 Open project: retailcoder/Rubberduck Class Usage Examples

Public Methods

Method Description
DeclarationFinder ( IReadOnlyList declarations, IEnumerable comments, IEnumerable annotations ) : System
FindClass ( Rubberduck.Parsing.Symbols.Declaration parent, string name, bool includeBuiltIn = false ) : Rubberduck.Parsing.Symbols.Declaration
FindEnum ( Rubberduck.Parsing.Symbols.Declaration parent, string name, bool includeBuiltIn = false ) : Rubberduck.Parsing.Symbols.Declaration
FindProject ( Rubberduck.Parsing.Symbols.Declaration currentScope, string name ) : Rubberduck.Parsing.Symbols.Declaration
FindStdModule ( Rubberduck.Parsing.Symbols.Declaration parent, string name, bool includeBuiltIn = false ) : Rubberduck.Parsing.Symbols.Declaration
FindUserDefinedType ( Rubberduck.Parsing.Symbols.Declaration parent, string name, bool includeBuiltIn = false ) : Rubberduck.Parsing.Symbols.Declaration
MatchName ( string name ) : IEnumerable
MatchTypeName ( string name ) : IEnumerable
ModuleAnnotations ( QualifiedModuleName module ) : IEnumerable
ModuleComments ( QualifiedModuleName module ) : IEnumerable

Method Details

DeclarationFinder() public method

public DeclarationFinder ( IReadOnlyList declarations, IEnumerable comments, IEnumerable annotations ) : System
declarations IReadOnlyList
comments IEnumerable
annotations IEnumerable
return System

FindClass() public method

public FindClass ( Rubberduck.Parsing.Symbols.Declaration parent, string name, bool includeBuiltIn = false ) : Rubberduck.Parsing.Symbols.Declaration
parent Rubberduck.Parsing.Symbols.Declaration
name string
includeBuiltIn bool
return Rubberduck.Parsing.Symbols.Declaration

FindEnum() public method

public FindEnum ( Rubberduck.Parsing.Symbols.Declaration parent, string name, bool includeBuiltIn = false ) : Rubberduck.Parsing.Symbols.Declaration
parent Rubberduck.Parsing.Symbols.Declaration
name string
includeBuiltIn bool
return Rubberduck.Parsing.Symbols.Declaration

FindProject() public method

public FindProject ( Rubberduck.Parsing.Symbols.Declaration currentScope, string name ) : Rubberduck.Parsing.Symbols.Declaration
currentScope Rubberduck.Parsing.Symbols.Declaration
name string
return Rubberduck.Parsing.Symbols.Declaration

FindStdModule() public method

public FindStdModule ( Rubberduck.Parsing.Symbols.Declaration parent, string name, bool includeBuiltIn = false ) : Rubberduck.Parsing.Symbols.Declaration
parent Rubberduck.Parsing.Symbols.Declaration
name string
includeBuiltIn bool
return Rubberduck.Parsing.Symbols.Declaration

FindUserDefinedType() public method

public FindUserDefinedType ( Rubberduck.Parsing.Symbols.Declaration parent, string name, bool includeBuiltIn = false ) : Rubberduck.Parsing.Symbols.Declaration
parent Rubberduck.Parsing.Symbols.Declaration
name string
includeBuiltIn bool
return Rubberduck.Parsing.Symbols.Declaration

MatchName() public method

public MatchName ( string name ) : IEnumerable
name string
return IEnumerable

MatchTypeName() public method

public MatchTypeName ( string name ) : IEnumerable
name string
return IEnumerable

ModuleAnnotations() public method

public ModuleAnnotations ( QualifiedModuleName module ) : IEnumerable
module Rubberduck.VBEditor.QualifiedModuleName
return IEnumerable

ModuleComments() public method

public ModuleComments ( QualifiedModuleName module ) : IEnumerable
module Rubberduck.VBEditor.QualifiedModuleName
return IEnumerable