C# 클래스 Rubberduck.Parsing.Symbols.DeclarationSymbolsListener

상속: Rubberduck.Parsing.Grammar.VBABaseListener
파일 보기 프로젝트 열기: retailcoder/Rubberduck 1 사용 예제들

공개 메소드들

메소드 설명
CreateModuleDeclarations ( ) : void
DeclarationSymbolsListener ( QualifiedModuleName qualifiedName, Accessibility componentAccessibility, vbext_ComponentType type, IEnumerable comments, IEnumerable annotations, DeclarationType>.IDictionary attributes, HashSet projectReferences ) : Antlr4.Runtime
EnterArgList ( VBAParser context ) : void
EnterConstSubStmt ( VBAParser context ) : void
EnterDeclareStmt ( VBAParser context ) : void
EnterEnumerationStmt ( VBAParser context ) : void
EnterEnumerationStmt_Constant ( VBAParser context ) : void
EnterEventStmt ( VBAParser context ) : void
EnterFunctionStmt ( VBAParser context ) : void
EnterLineLabel ( VBAParser context ) : void
EnterOptionBaseStmt ( VBAParser context ) : void
EnterOptionCompareStmt ( VBAParser context ) : void
EnterOptionExplicitStmt ( VBAParser context ) : void
EnterPropertyGetStmt ( VBAParser context ) : void
EnterPropertyLetStmt ( VBAParser context ) : void
EnterPropertySetStmt ( VBAParser context ) : void
EnterSubStmt ( VBAParser context ) : void
EnterTypeStmt ( VBAParser context ) : void
EnterTypeStmt_Element ( VBAParser context ) : void
EnterVariableSubStmt ( VBAParser context ) : void
ExitDeclareStmt ( VBAParser context ) : void
ExitEnumerationStmt ( VBAParser context ) : void
ExitEventStmt ( VBAParser context ) : void
ExitFunctionStmt ( VBAParser context ) : void
ExitOptionPrivateModuleStmt ( VBAParser context ) : void
ExitPropertyGetStmt ( VBAParser context ) : void
ExitPropertyLetStmt ( VBAParser context ) : void
ExitPropertySetStmt ( VBAParser context ) : void
ExitSubStmt ( VBAParser context ) : void
ExitTypeStmt ( VBAParser context ) : void

비공개 메소드들

메소드 설명
CreateDeclaration ( string identifierName, string asTypeName, Accessibility accessibility, DeclarationType declarationType, ParserRuleContext context, Rubberduck.VBEditor.Selection selection, bool selfAssigned = false, bool withEvents = false ) : Rubberduck.Parsing.Symbols.Declaration
CreateProjectDeclaration ( QualifiedModuleName projectQualifiedName, VBProject project ) : Rubberduck.Parsing.Symbols.Declaration
DeclareControlsAsMembers ( VBComponent form ) : void

Scans form designer to create a public, self-assigned field for each control on a form.

These declarations are meant to be used to identify control event procedures.

FindAnnotations ( ) : IEnumerable
FindAnnotations ( int line ) : IEnumerable
GetMemberAccessibility ( VBAParser visibilityContext ) : Accessibility

Gets the Accessibility for a non-procedure member.

GetProcedureAccessibility ( VBAParser visibilityContext ) : Accessibility

Gets the Accessibility for a procedure member.

OnNewDeclaration ( Rubberduck.Parsing.Symbols.Declaration declaration ) : void
SetCurrentScope ( ) : void

Sets current scope to module-level.

SetCurrentScope ( Rubberduck.Parsing.Symbols.Declaration procedureDeclaration, string name ) : void

Sets current scope to specified module member.

메소드 상세

CreateModuleDeclarations() 공개 메소드

public CreateModuleDeclarations ( ) : void
리턴 void

DeclarationSymbolsListener() 공개 메소드

public DeclarationSymbolsListener ( QualifiedModuleName qualifiedName, Accessibility componentAccessibility, vbext_ComponentType type, IEnumerable comments, IEnumerable annotations, DeclarationType>.IDictionary attributes, HashSet projectReferences ) : Antlr4.Runtime
qualifiedName Rubberduck.VBEditor.QualifiedModuleName
componentAccessibility Accessibility
type vbext_ComponentType
comments IEnumerable
annotations IEnumerable
attributes DeclarationType>.IDictionary
projectReferences HashSet
리턴 Antlr4.Runtime

EnterArgList() 공개 메소드

public EnterArgList ( VBAParser context ) : void
context VBAParser
리턴 void

EnterConstSubStmt() 공개 메소드

public EnterConstSubStmt ( VBAParser context ) : void
context VBAParser
리턴 void

EnterDeclareStmt() 공개 메소드

public EnterDeclareStmt ( VBAParser context ) : void
context VBAParser
리턴 void

EnterEnumerationStmt() 공개 메소드

public EnterEnumerationStmt ( VBAParser context ) : void
context VBAParser
리턴 void

EnterEnumerationStmt_Constant() 공개 메소드

public EnterEnumerationStmt_Constant ( VBAParser context ) : void
context VBAParser
리턴 void

EnterEventStmt() 공개 메소드

public EnterEventStmt ( VBAParser context ) : void
context VBAParser
리턴 void

EnterFunctionStmt() 공개 메소드

public EnterFunctionStmt ( VBAParser context ) : void
context VBAParser
리턴 void

EnterLineLabel() 공개 메소드

public EnterLineLabel ( VBAParser context ) : void
context VBAParser
리턴 void

EnterOptionBaseStmt() 공개 메소드

public EnterOptionBaseStmt ( VBAParser context ) : void
context VBAParser
리턴 void

EnterOptionCompareStmt() 공개 메소드

public EnterOptionCompareStmt ( VBAParser context ) : void
context VBAParser
리턴 void

EnterOptionExplicitStmt() 공개 메소드

public EnterOptionExplicitStmt ( VBAParser context ) : void
context VBAParser
리턴 void

EnterPropertyGetStmt() 공개 메소드

public EnterPropertyGetStmt ( VBAParser context ) : void
context VBAParser
리턴 void

EnterPropertyLetStmt() 공개 메소드

public EnterPropertyLetStmt ( VBAParser context ) : void
context VBAParser
리턴 void

EnterPropertySetStmt() 공개 메소드

public EnterPropertySetStmt ( VBAParser context ) : void
context VBAParser
리턴 void

EnterSubStmt() 공개 메소드

public EnterSubStmt ( VBAParser context ) : void
context VBAParser
리턴 void

EnterTypeStmt() 공개 메소드

public EnterTypeStmt ( VBAParser context ) : void
context VBAParser
리턴 void

EnterTypeStmt_Element() 공개 메소드

public EnterTypeStmt_Element ( VBAParser context ) : void
context VBAParser
리턴 void

EnterVariableSubStmt() 공개 메소드

public EnterVariableSubStmt ( VBAParser context ) : void
context VBAParser
리턴 void

ExitDeclareStmt() 공개 메소드

public ExitDeclareStmt ( VBAParser context ) : void
context VBAParser
리턴 void

ExitEnumerationStmt() 공개 메소드

public ExitEnumerationStmt ( VBAParser context ) : void
context VBAParser
리턴 void

ExitEventStmt() 공개 메소드

public ExitEventStmt ( VBAParser context ) : void
context VBAParser
리턴 void

ExitFunctionStmt() 공개 메소드

public ExitFunctionStmt ( VBAParser context ) : void
context VBAParser
리턴 void

ExitOptionPrivateModuleStmt() 공개 메소드

public ExitOptionPrivateModuleStmt ( VBAParser context ) : void
context VBAParser
리턴 void

ExitPropertyGetStmt() 공개 메소드

public ExitPropertyGetStmt ( VBAParser context ) : void
context VBAParser
리턴 void

ExitPropertyLetStmt() 공개 메소드

public ExitPropertyLetStmt ( VBAParser context ) : void
context VBAParser
리턴 void

ExitPropertySetStmt() 공개 메소드

public ExitPropertySetStmt ( VBAParser context ) : void
context VBAParser
리턴 void

ExitSubStmt() 공개 메소드

public ExitSubStmt ( VBAParser context ) : void
context VBAParser
리턴 void

ExitTypeStmt() 공개 메소드

public ExitTypeStmt ( VBAParser context ) : void
context VBAParser
리턴 void