def __init__(self, json_frame):
    super(LocationContext, self).__init__()
    self.lctx_id = json_frame['lctx_id']
    self.caption = json_frame['location_context']
    self.decl = json_frame['calling']
    self.loc = (SourceLocation(json_frame['location']) if (json_frame['location'] is not None) else None)
def __init__(self, json_frame):
    super(LocationContext, self).__init__()
    self.lctx_id = json_frame['lctx_id']
    self.caption = json_frame['location_context']
    self.decl = json_frame['calling']
    self.loc = (SourceLocation(json_frame['location']) if (json_frame['location'] is not None) else None)