public PythonCodeCompletionDataCore(string text, string stub, bool isInstance, ExternalCodeCompletionType completionType, IExternalCodeCompletionProviderCore providerCore) { Text = text; Stub = stub; IsInstance = isInstance; provider = providerCore; CompletionType = completionType; }
internal static CompletionType ConvertCompletionType(ExternalCodeCompletionType completionType) { if (EnumMap.ContainsKey(completionType)) { return(EnumMap[completionType]); } //if the type can't be found return method by default. return(CompletionType.METHOD); }
public IronPythonCodeCompletionDataCore(string text, string stub, bool isInstance, ExternalCodeCompletionType completionType, IExternalCodeCompletionProviderCore providerCore) : base(text, stub, isInstance, completionType, providerCore) { }