def start_of_object_property(self):
    return ((self.flags.parent.mode == MODE.ObjectLiteral) and (self.flags.mode == MODE.Statement) and (self.flags.last_text == ':') and (self.flags.ternary_depth == 0))
def start_of_object_property(self):
    return ((self.flags.parent.mode == MODE.ObjectLiteral) and (self.flags.mode == MODE.Statement) and (self.flags.last_text == ':') and (self.flags.ternary_depth == 0))