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