|
- # 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_ast_type, get_node_type, get_args, get_args_default_values,
- get_ast_namespace_symbol, get_operation_namespace_symbol,
- get_parse_method_of_class, get_scope_name, expand_expr_statement,
- is_class_member, parse_cb, resolve_symbol, convert_to_ms_tensor, get_object_description)
-
- __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_ast_type', 'get_node_type',
- 'get_args_default_values', 'get_ast_namespace_symbol', 'get_operation_namespace_symbol',
- 'get_args', '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', 'get_dataclass_methods', 'get_scope_name',
- 'create_slice_obj', 'convert_to_ms_tensor', 'get_object_description', 'expand_expr_statement']
|