C# 클래스 Boo.BooLangService.Intellisense.DeclarationFinder

파일 보기 프로젝트 열기: jagregory/boolangstudio 1 사용 예제들

공개 메소드들

메소드 설명
DeclarationFinder ( CompiledProject compiledProject, ISource source, string fileName ) : System
Find ( CaretLocation caretLocation, ParseReason parseReason ) : IntellisenseDeclarations
Find ( int lineNum, int colNum, ParseReason reason ) : IntellisenseDeclarations

Finds any intellisense declarations relative to the current caret position.

비공개 메소드들

메소드 설명
AddImports ( IntellisenseDeclarations declarations, DocumentTreeNode document ) : void

Adds any types and namespaces, imported at the start of the document, to the declarations.

AddKeywords ( IntellisenseDeclarations declarations, IBooParseTreeNode scopedParseTree ) : void

Adds keywords based on the current scope to the declarations.

AddMemberLookupDeclarations ( IntellisenseDeclarations declarations, string lineSource, int line ) : void
AddMembersFromScopeTree ( IntellisenseDeclarations declarations, IBooParseTreeNode scopedParseTree ) : void

Adds members from the current scope (flattened, so all containing scopes are included) to the declarations.

AddReferences ( IntellisenseDeclarations declarations, ProjectTreeNode project ) : void
AddSpecialTypes ( IntellisenseDeclarations declarations ) : void
GetDocument ( IBooParseTreeNode node ) : DocumentTreeNode
GetInvocationStack ( string lineSource ) : Boo.BooLangService.Intellisense.Invocation[]
GetMembersFromCurrentScope ( int line, string lineSource ) : List
GetScopedIntellisenseDeclarations ( int lineNum ) : IntellisenseDeclarations

메소드 상세

DeclarationFinder() 공개 메소드

public DeclarationFinder ( CompiledProject compiledProject, ISource source, string fileName ) : System
compiledProject CompiledProject
source ISource
fileName string
리턴 System

Find() 공개 메소드

public Find ( CaretLocation caretLocation, ParseReason parseReason ) : IntellisenseDeclarations
caretLocation Boo.BooLangStudioSpecs.Document.CaretLocation
parseReason ParseReason
리턴 IntellisenseDeclarations

Find() 공개 메소드

Finds any intellisense declarations relative to the current caret position.
public Find ( int lineNum, int colNum, ParseReason reason ) : IntellisenseDeclarations
lineNum int Caret line
colNum int Caret column
reason ParseReason Reason for parse
리턴 IntellisenseDeclarations