C# Class DParserCOMServer.VDServer

Inheritance: IVDServer
Mostrar archivo Open project: rainers/visuald

Public Properties

Property Type Description
_modules DModule>.Dictionary
_sources string>.Dictionary

Public Methods

Method Description
ClearSemanticProject ( ) : void
ConfigureSemanticProject ( string filename, string imp, string stringImp, string versionids, string debugids, uint flags ) : void
GetBinaryIsInLocations ( string filename, uint &locs ) : void
GetDefinition ( string filename, int startLine, int startIndex, int endLine, int endIndex ) : void
GetDefinitionResult ( int &startLine, int &startIndex, int &endLine, int &endIndex, string &filename ) : void
GetLastMessage ( string &message ) : void
GetModule ( string fileName ) : D_Parser.Dom.DModule
GetParseErrors ( string filename, string &errors ) : void
GetReferences ( string filename, string tok, uint line, uint idx, string expr ) : void
GetReferencesResult ( string &stringList ) : void
GetSemanticExpansions ( string filename, string tok, uint line, uint idx, string expr ) : void
GetSemanticExpansionsResult ( string &stringList ) : void
GetTip ( string filename, int startLine, int startIndex, int endLine, int endIndex ) : void
GetTipResult ( int &startLine, int &startIndex, int &endLine, int &endIndex, string &answer ) : void
IsBinaryOperator ( string filename, uint startLine, uint startIndex, uint endLine, uint endIndex, bool &pIsOp ) : void
LaunchCompletionThread ( ) : void
RegasmRegisterLocalServer ( Type t ) : void

Register the component as a local server.

RegasmUnregisterLocalServer ( Type t ) : void

Unregister the component.

StopCompletionThread ( ) : void
UpdateModule ( string filename, string srcText, bool verbose ) : void
VDServer ( ) : System
_setupEditorData ( ) : void
runAsync ( Action a ) : void
runAsyncCompletionLoop ( ) : void

Private Methods

Method Description
GetReferencesInModule ( D_Parser.Dom.DModule ast, StringBuilder refs, D_Parser.Dom.DNode n, ResolutionContext ctxt ) : void
GuardNullType ( Type t, String param ) : void
Register ( Type t ) : void
Unregister ( Type t ) : void
getCodeOffset ( string s, CodeLocation loc ) : int
normalizeDir ( string dir ) : string
normalizePath ( string path ) : string
uniqueDirectories ( string imp ) : string[]

Method Details

ClearSemanticProject() public method

public ClearSemanticProject ( ) : void
return void

ConfigureSemanticProject() public method

public ConfigureSemanticProject ( string filename, string imp, string stringImp, string versionids, string debugids, uint flags ) : void
filename string
imp string
stringImp string
versionids string
debugids string
flags uint
return void

GetBinaryIsInLocations() public method

public GetBinaryIsInLocations ( string filename, uint &locs ) : void
filename string
locs uint
return void

GetDefinition() public method

public GetDefinition ( string filename, int startLine, int startIndex, int endLine, int endIndex ) : void
filename string
startLine int
startIndex int
endLine int
endIndex int
return void

GetDefinitionResult() public method

public GetDefinitionResult ( int &startLine, int &startIndex, int &endLine, int &endIndex, string &filename ) : void
startLine int
startIndex int
endLine int
endIndex int
filename string
return void

GetLastMessage() public method

public GetLastMessage ( string &message ) : void
message string
return void

GetModule() public method

public GetModule ( string fileName ) : D_Parser.Dom.DModule
fileName string
return D_Parser.Dom.DModule

GetParseErrors() public method

public GetParseErrors ( string filename, string &errors ) : void
filename string
errors string
return void

GetReferences() public method

public GetReferences ( string filename, string tok, uint line, uint idx, string expr ) : void
filename string
tok string
line uint
idx uint
expr string
return void

GetReferencesResult() public method

public GetReferencesResult ( string &stringList ) : void
stringList string
return void

GetSemanticExpansions() public method

public GetSemanticExpansions ( string filename, string tok, uint line, uint idx, string expr ) : void
filename string
tok string
line uint
idx uint
expr string
return void

GetSemanticExpansionsResult() public method

public GetSemanticExpansionsResult ( string &stringList ) : void
stringList string
return void

GetTip() public method

public GetTip ( string filename, int startLine, int startIndex, int endLine, int endIndex ) : void
filename string
startLine int
startIndex int
endLine int
endIndex int
return void

GetTipResult() public method

public GetTipResult ( int &startLine, int &startIndex, int &endLine, int &endIndex, string &answer ) : void
startLine int
startIndex int
endLine int
endIndex int
answer string
return void

IsBinaryOperator() public method

public IsBinaryOperator ( string filename, uint startLine, uint startIndex, uint endLine, uint endIndex, bool &pIsOp ) : void
filename string
startLine uint
startIndex uint
endLine uint
endIndex uint
pIsOp bool
return void

LaunchCompletionThread() public method

public LaunchCompletionThread ( ) : void
return void

RegasmRegisterLocalServer() public static method

Register the component as a local server.
public static RegasmRegisterLocalServer ( Type t ) : void
t System.Type
return void

RegasmUnregisterLocalServer() public static method

Unregister the component.
public static RegasmUnregisterLocalServer ( Type t ) : void
t System.Type
return void

StopCompletionThread() public method

public StopCompletionThread ( ) : void
return void

UpdateModule() public method

public UpdateModule ( string filename, string srcText, bool verbose ) : void
filename string
srcText string
verbose bool
return void

VDServer() public method

public VDServer ( ) : System
return System

_setupEditorData() public method

public _setupEditorData ( ) : void
return void

runAsync() public method

public runAsync ( Action a ) : void
a Action
return void

runAsyncCompletionLoop() public method

public runAsyncCompletionLoop ( ) : void
return void

Property Details

_modules public_oe property

public Dictionary _modules
return DModule>.Dictionary

_sources public_oe property

public Dictionary _sources
return string>.Dictionary