예제 #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()
예제 #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
예제 #3
0
파일: rootkernel.py 프로젝트: bellenot/root
    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()
예제 #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
예제 #5
0
파일: rootkernel.py 프로젝트: geektoni/root
    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()
예제 #6
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()