|
- # Copyright 2020 Huawei Technologies Co., Ltd
- #
- # Licensed under the Apache License, Version 2.0 (the "License");
- # you may not use this file except in compliance with the License.
- # You may obtain a copy of the License at
- #
- # http://www.apache.org/licenses/LICENSE-2.0
- #
- # Unless required by applicable law or agreed to in writing, software
- # distributed under the License is distributed on an "AS IS" BASIS,
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- # See the License for the specific language governing permissions and
- # limitations under the License.
- # ============================================================================
- """
- Interfaces for parser module in c++.
- """
-
- from .parser import (Parser, create_obj_instance, generate_scope,
- get_bprop_method_of_class, get_class_instance_type,
- get_class_member_namespace_symbol, create_slice_obj,
- get_dataclass_attributes, get_dataclass_methods, get_obj_id,
- get_module_namespace, get_obj_type, get_object_key,
- get_parse_method_of_class, get_scope_name,
- is_class_member, parse_cb, resolve_symbol)
- from .serialize import *
-
- __all__ = ['parse_cb', 'get_parse_method_of_class', 'get_bprop_method_of_class', 'resolve_symbol',
- 'get_object_key', 'get_class_instance_type', 'is_class_member',
- 'get_obj_type', 'get_obj_id', 'create_obj_instance', 'get_module_namespace',
- 'get_class_member_namespace_symbol', 'get_obj_id', 'Parser', 'get_dataclass_attributes',
- 'get_dataclass_methods', 'dump_obj', 'load_obj', 'get_dataclass_methods', 'get_scope_name',
- 'create_slice_obj']
|