C# 클래스 ICSharpCode.NRefactory.CSharp.Completion.CSharpCompletionEngineBase

Acts as a common base between code completion and parameter completion.
파일 보기 프로젝트 열기: 0xd4d/NRefactory 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
currentMember IUnresolvedMember
currentType IUnresolvedTypeDefinition
document IDocument
location TextLocation
offset int

공개 메소드들

메소드 설명
AppendMissingClosingBrackets ( StringBuilder wrapper, bool appendSemicolon ) : void
GetCurrentParameterIndex ( int triggerOffset, int endOffset ) : int
GetCurrentParameterIndex ( int triggerOffset, int endOffset, List &usedNamedParameters ) : int
GetParameterCompletionCommandOffset ( int &cpos ) : bool
SetOffset ( int offset ) : void

보호된 메소드들

메소드 설명
CSharpCompletionEngineBase ( IProjectContent content, ICompletionContextProvider completionContextProvider, ICSharpCode.NRefactory.CSharp.TypeSystem.CSharpTypeResolveContext ctx ) : System
CreateWrapper ( string continuation, bool appendSemicolon, string afterContinuation, string memberText, TextLocation memberLocation, int &closingBrackets, int &generatedLines ) : StringBuilder
GetInvocationBeforeCursor ( bool afterBracket ) : ExpressionResult
GetMemberTextToCaret ( ) : TextLocation>.Tuple
GetState ( ) : CSharpResolver
IsInsideCommentStringOrDirective ( ) : bool
IsInsideCommentStringOrDirective ( int offset ) : bool
IsInsideDocComment ( ) : bool
ParseStub ( string continuation, bool appendSemicolon = true, string afterContinuation = null ) : SyntaxTree
Reset ( ) : void
ResolveExpression ( AstNode expr ) : ExpressionResolveResult
ResolveExpression ( ExpressionResult tuple ) : ExpressionResolveResult

비공개 메소드들

메소드 설명
GetBracketStack ( string memberText ) : int>>.Stack

메소드 상세

AppendMissingClosingBrackets() 공개 정적인 메소드

public static AppendMissingClosingBrackets ( StringBuilder wrapper, bool appendSemicolon ) : void
wrapper StringBuilder
appendSemicolon bool
리턴 void

CSharpCompletionEngineBase() 보호된 메소드

protected CSharpCompletionEngineBase ( IProjectContent content, ICompletionContextProvider completionContextProvider, ICSharpCode.NRefactory.CSharp.TypeSystem.CSharpTypeResolveContext ctx ) : System
content IProjectContent
completionContextProvider ICompletionContextProvider
ctx ICSharpCode.NRefactory.CSharp.TypeSystem.CSharpTypeResolveContext
리턴 System

CreateWrapper() 보호된 메소드

protected CreateWrapper ( string continuation, bool appendSemicolon, string afterContinuation, string memberText, TextLocation memberLocation, int &closingBrackets, int &generatedLines ) : StringBuilder
continuation string
appendSemicolon bool
afterContinuation string
memberText string
memberLocation TextLocation
closingBrackets int
generatedLines int
리턴 StringBuilder

GetCurrentParameterIndex() 공개 메소드

public GetCurrentParameterIndex ( int triggerOffset, int endOffset ) : int
triggerOffset int
endOffset int
리턴 int

GetCurrentParameterIndex() 공개 메소드

public GetCurrentParameterIndex ( int triggerOffset, int endOffset, List &usedNamedParameters ) : int
triggerOffset int
endOffset int
usedNamedParameters List
리턴 int

GetInvocationBeforeCursor() 보호된 메소드

protected GetInvocationBeforeCursor ( bool afterBracket ) : ExpressionResult
afterBracket bool
리턴 ExpressionResult

GetMemberTextToCaret() 보호된 메소드

protected GetMemberTextToCaret ( ) : TextLocation>.Tuple
리턴 TextLocation>.Tuple

GetParameterCompletionCommandOffset() 공개 메소드

public GetParameterCompletionCommandOffset ( int &cpos ) : bool
cpos int
리턴 bool

GetState() 보호된 메소드

protected GetState ( ) : CSharpResolver
리턴 ICSharpCode.NRefactory.CSharp.Resolver.CSharpResolver

IsInsideCommentStringOrDirective() 보호된 메소드

protected IsInsideCommentStringOrDirective ( ) : bool
리턴 bool

IsInsideCommentStringOrDirective() 보호된 메소드

protected IsInsideCommentStringOrDirective ( int offset ) : bool
offset int
리턴 bool

IsInsideDocComment() 보호된 메소드

protected IsInsideDocComment ( ) : bool
리턴 bool

ParseStub() 보호된 메소드

protected ParseStub ( string continuation, bool appendSemicolon = true, string afterContinuation = null ) : SyntaxTree
continuation string
appendSemicolon bool
afterContinuation string
리턴 SyntaxTree

Reset() 보호된 메소드

protected Reset ( ) : void
리턴 void

ResolveExpression() 보호된 메소드

protected ResolveExpression ( AstNode expr ) : ExpressionResolveResult
expr AstNode
리턴 ExpressionResolveResult

ResolveExpression() 보호된 메소드

protected ResolveExpression ( ExpressionResult tuple ) : ExpressionResolveResult
tuple ExpressionResult
리턴 ExpressionResolveResult

SetOffset() 공개 메소드

public SetOffset ( int offset ) : void
offset int
리턴 void

프로퍼티 상세

currentMember 보호되어 있는 프로퍼티

protected IUnresolvedMember currentMember
리턴 IUnresolvedMember

currentType 보호되어 있는 프로퍼티

protected IUnresolvedTypeDefinition currentType
리턴 IUnresolvedTypeDefinition

document 보호되어 있는 프로퍼티

protected IDocument document
리턴 IDocument

location 보호되어 있는 프로퍼티

protected TextLocation location
리턴 TextLocation

offset 보호되어 있는 프로퍼티

protected int offset
리턴 int