Ejemplo n.º 1
0
 def __init__(self, server_queue, yavide_instance):
     YavideService.__init__(self, server_queue, yavide_instance)
     self.parser = ClangParser()
     self.service = {
         0x0:
         SyntaxHighlighter(
             self.parser,
             VimSyntaxGenerator(yavide_instance,
                                "/tmp/yavideSyntaxFile.vim")),
         0x1:
         Diagnostics(self.parser, VimQuickFixDiagnostics(yavide_instance)),
         0x2:
         TypeDeduction(self.parser, VimTypeDeduction(yavide_instance))
     }
 def __init__(self, server_queue, yavide_instance):
     YavideService.__init__(self, server_queue, yavide_instance)
     self.output_syntax_file = "/tmp/yavideSyntaxFile.vim"
     self.tag_id_list = [
         TagIdentifier.getClassId(),
         TagIdentifier.getClassStructUnionMemberId(),
         TagIdentifier.getEnumId(),
         TagIdentifier.getEnumValueId(),
         TagIdentifier.getExternFwdDeclarationId(),
         TagIdentifier.getFunctionDefinitionId(),
         TagIdentifier.getFunctionPrototypeId(),
         TagIdentifier.getLocalVariableId(),
         TagIdentifier.getMacroId(),
         TagIdentifier.getNamespaceId(),
         TagIdentifier.getStructId(),
         TagIdentifier.getTypedefId(),
         TagIdentifier.getUnionId(),
         TagIdentifier.getVariableDefinitionId()
     ]
     self.syntax_highlighter = VimSyntaxHighlighter(self.tag_id_list, self.output_syntax_file)
     logging.info("tag_id_list = {0}.".format(self.tag_id_list))
Ejemplo n.º 3
0
 def __init__(self, server_queue, yavide_instance):
     YavideService.__init__(self, server_queue, yavide_instance,
                            self.__startup_hook)
     self.build_cmd_dir = ""
     self.build_cmd_output_file = ""
Ejemplo n.º 4
0
 def __init__(self, server_queue, yavide_instance):
     YavideService.__init__(self, server_queue, yavide_instance)
     self.config_file = ""
     self.format_cmd = "clang-format -i -style=file -assume-filename="
Ejemplo n.º 5
0
 def __init__(self, yavide_instance):
     YavideService.__init__(self, yavide_instance, self.__startup_hook, self.__shutdown_hook)
     self.src_code_indexer = ""
Ejemplo n.º 6
0
 def __init__(self, server_queue, yavide_instance):
     YavideService.__init__(self, server_queue, yavide_instance)
     self.config_file = ""
     self.format_cmd = "clang-format -i -style=file -assume-filename="
Ejemplo n.º 7
0
 def __init__(self, server_queue, yavide_instance):
     YavideService.__init__(self, server_queue, yavide_instance)
     self.src_code_indexer = ""
Ejemplo n.º 8
0
 def __init__(self, server_queue, yavide_instance):
     YavideService.__init__(self, server_queue, yavide_instance)
     self.src_code_indexer = ""
Ejemplo n.º 9
0
 def __init__(self, server_queue, yavide_instance):
     YavideService.__init__(self, server_queue, yavide_instance)
     self.output_syntax_file = "/tmp/yavideSyntaxFile.vim"
     self.syntax_highlighter = VimSyntaxHighlighter(self.output_syntax_file)
Ejemplo n.º 10
0
 def __init__(self, server_queue, yavide_instance):
     YavideService.__init__(self, server_queue, yavide_instance,
                            self.__startup_hook, self.__shutdown_hook)
     self.src_code_indexer = ""
Ejemplo n.º 11
0
 def __init__(self, server_queue, yavide_instance):
     YavideService.__init__(self, server_queue, yavide_instance)
     self.build_cmd_dir = ""
     self.build_cmd = ""
Ejemplo n.º 12
0
 def __init__(self, server_queue, yavide_instance):
     YavideService.__init__(self, server_queue, yavide_instance)
     self.build_cmd_dir = ""
     self.build_cmd = ""
Ejemplo n.º 13
0
 def __init__(self, server_queue, yavide_instance):
     YavideService.__init__(self, server_queue, yavide_instance)
     self.output_syntax_file = "/tmp/yavideSyntaxFile.vim"
     self.syntax_highlighter = VimSyntaxHighlighter(self.output_syntax_file)
Ejemplo n.º 14
0
 def __init__(self, server_queue, yavide_instance):
     YavideService.__init__(self, server_queue, yavide_instance, self.__startup_hook)
     self.build_cmd_dir = ""
     self.build_cmd_output_file = ""