Beispiel #1
0
    def __init__(self, **kwargs):

        MetaKernel.__init__(self, **kwargs)
        setStyle()
        self.ioHandler = GetIOHandler()
        self.Executor = GetExecutor()
        self.Declarer = GetDeclarer()  #required for %%cpp -d magic
        self.ACLiC = invokeAclic
        self.magicloader = MagicLoader(self)
        self.completer = CppCompleter()
        self.completer.activate()
Beispiel #2
0
 def __init__(self, **kwargs):
     with open(os.path.dirname(os.path.realpath(__file__)) + '/data/' + 'sasproclist.json') as proclist:
         self.proclist = json.load(proclist)
     with open(os.path.dirname(os.path.realpath(__file__)) + '/data/' + 'sasgrammardictionary.json') as compglo:
         self.compglo = json.load(compglo)
     self.strproclist = '\n'.join(str(x) for x in self.proclist)
     self.promptDict = {}
     MetaKernel.__init__(self, **kwargs)
     self.mva = None
     self.cachedlog = None
     self.lst_len = -99  # initialize the length to a negative number to trigger function
Beispiel #3
0
    def __init__(self,**kwargs):

        MetaKernel.__init__(self,**kwargs)
        setStyle()
        self.ioHandler = GetIOHandler()
        self.Executor  = GetExecutor()
        self.Declarer  = GetDeclarer()#required for %%cpp -d magic
        self.ACLiC     = invokeAclic
        self.magicloader = MagicLoader(self)
        self.completer = CppCompleter()
        self.completer.activate()
Beispiel #4
0
 def __init__(self, **kwargs):
     with open(os.path.dirname(os.path.realpath(__file__)) + '/data/' + 'sasproclist.json') as proclist:
         self.proclist = json.load(proclist)
     with open(os.path.dirname(os.path.realpath(__file__)) + '/data/' + 'sasgrammardictionary.json') as compglo:
         self.compglo = json.load(compglo)
     self.strproclist = '\n'.join(str(x) for x in self.proclist)
     self.promptDict = {}
     MetaKernel.__init__(self, **kwargs)
     self.mva = None
     self.cachedlog = None
     self.lst_len = -99  # initialize the length to a negative number to trigger function
Beispiel #5
0
    def __init__(self,**kwargs):

        MetaKernel.__init__(self,**kwargs)
        setStyle()
        self.ioHandler = GetIOHandler()
        self.Executor  = GetExecutor()
        self.Declarer  = GetDeclarer()#required for %%cpp -d magic
        self.ACLiC     = invokeAclic
        self.magicloader = MagicLoader(self)
        self.parser = Parser(self.identifier_regex, self.func_call_regex,
                             self.magic_prefixes, self.help_suffix)
        self.completer = CppCompleter()
        self.completer.activate()
    def __init__(self, **kwargs):

        MetaKernel.__init__(self, **kwargs)
        setStyle()
        self.ioHandler = GetIOHandler()
        self.Executor = GetExecutor()
        self.Declarer = GetDeclarer()  #required for %%cpp -d magic
        self.ACLiC = invokeAclic
        self.magicloader = MagicLoader(self)
        self.parser = Parser(self.identifier_regex, self.func_call_regex,
                             self.magic_prefixes, self.help_suffix)
        self.completer = CppCompleter()
        self.completer.activate()