Exemplo n.º 1
0
 def create_sdl_hfcca(self, source_code):
     return UniversalAnalyzer().analyze(SDLTokenTranslator().getFunctions(generate_tokens(source_code)) , "")
Exemplo n.º 2
0
def create_cpp_hfcca(source_code):
    return FileAnalyzer().analyze_source_code_with_parser("", CTokenTranslator(), generate_tokens(source_code))
Exemplo n.º 3
0
 def create_sdl_hfcca(self, source_code):
     return UniversalAnalyzer().analyze(
         SDLTokenTranslator().getFunctions(generate_tokens(source_code)),
         "")
Exemplo n.º 4
0
 def get_tokens_and_line(self, source_code):
     return [x for x in generate_tokens(source_code)]
Exemplo n.º 5
0
 def get_tokens(self, source_code):
     return [x for x, l in generate_tokens(source_code)]
Exemplo n.º 6
0
 def get_tokens_and_line(self, source_code):
     return [x for x in generate_tokens(source_code)]
Exemplo n.º 7
0
 def get_tokens(self, source_code):
     return [x for x, l in generate_tokens(source_code)]