Exemple #1
0
 def construct_parsed_custom_class(calculator: MROCalculator,
                                   script: Script, expected: Dict):
     loc = expected['location']
     # get the Jedi Name, line index starting from 1
     class_name = script.infer(loc[0] + 1, loc[1])[0]
     # construct the ParsedCustomClass and return
     return ParsedCustomClass(class_name, calculator)