C# Class Rubberduck.Parsing.VBA.RubberduckParser

Inheritance: IRubberduckParser
Mostra file Open project: retailcoder/Rubberduck Class Usage Examples

Public Methods

Method Description
Cancel ( VBComponent component = null ) : void
Parse ( ) : void
ParseAsync ( VBComponent component, CancellationToken token, TokenStreamRewriter rewriter = null ) : Task
RubberduckParser ( VBE vbe, RubberduckParserState state, IAttributeParser attributeParser ) : System

Private Methods

Method Description
ParseAll ( ) : void

Starts parsing all components of all unprotected VBProjects associated with the VBE-Instance passed to the constructor of this parser instance.

ParseAsyncInternal ( VBComponent component, CancellationToken token, TokenStreamRewriter rewriter = null ) : void
ParseComponent ( VBComponent component, TokenStreamRewriter rewriter = null ) : void
ReparseRequested ( object sender, ParseRequestEventArgs e ) : void
Resolve ( CancellationToken token ) : void
ResolveDeclarations ( VBComponent component, IParseTree tree ) : void
ResolveInternal ( CancellationToken token ) : void
ResolveReferences ( DeclarationFinder finder, VBComponent component, IParseTree tree ) : void
StateOnStateChanged ( object sender, EventArgs e ) : void
SyncComReferences ( IReadOnlyList projects ) : void
UnloadComReference ( System.Reference reference ) : void

Method Details

Cancel() public method

public Cancel ( VBComponent component = null ) : void
component VBComponent
return void

Parse() public method

public Parse ( ) : void
return void

ParseAsync() public method

public ParseAsync ( VBComponent component, CancellationToken token, TokenStreamRewriter rewriter = null ) : Task
component VBComponent
token System.Threading.CancellationToken
rewriter TokenStreamRewriter
return Task

RubberduckParser() public method

public RubberduckParser ( VBE vbe, RubberduckParserState state, IAttributeParser attributeParser ) : System
vbe VBE
state RubberduckParserState
attributeParser IAttributeParser
return System