Ejemplo n.º 1
0
 public PythonCodeCompletionDataCore(string text, string stub, bool isInstance,
                                     ExternalCodeCompletionType completionType, IExternalCodeCompletionProviderCore providerCore)
 {
     Text           = text;
     Stub           = stub;
     IsInstance     = isInstance;
     provider       = providerCore;
     CompletionType = completionType;
 }
Ejemplo n.º 2
0
 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)
 {
 }