kcl-lib 0.8.6__cp311-none-win_amd64.whl → 0.9.0a1__cp311-none-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of kcl-lib might be problematic. Click here for more details.
|
Binary file
|
kcl_lib/api/spec_pb2.py
CHANGED
|
@@ -7,209 +7,200 @@ from google.protobuf import descriptor as _descriptor
|
|
|
7
7
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
8
8
|
from google.protobuf import symbol_database as _symbol_database
|
|
9
9
|
from google.protobuf.internal import builder as _builder
|
|
10
|
-
|
|
11
10
|
# @@protoc_insertion_point(imports)
|
|
12
11
|
|
|
13
12
|
_sym_db = _symbol_database.Default()
|
|
14
13
|
|
|
15
14
|
|
|
16
|
-
|
|
17
|
-
b'\n\nspec.proto\x12\x0b\x63om.kcl.api"8\n\x12\x43mdExternalPkgSpec\x12\x10\n\x08pkg_name\x18\x01 \x01(\t\x12\x10\n\x08pkg_path\x18\x02 \x01(\t")\n\nCmdArgSpec\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t"[\n\x0f\x43mdOverrideSpec\x12\x0f\n\x07pkgpath\x18\x01 \x01(\t\x12\x12\n\nfield_path\x18\x02 \x01(\t\x12\x13\n\x0b\x66ield_value\x18\x03 \x01(\t\x12\x0e\n\x06\x61\x63tion\x18\x04 \x01(\t"L\n\x05\x45rror\x12\r\n\x05level\x18\x01 \x01(\t\x12\x0c\n\x04\x63ode\x18\x02 \x01(\t\x12&\n\x08messages\x18\x03 \x03(\x0b\x32\x14.com.kcl.api.Message":\n\x07Message\x12\x0b\n\x03msg\x18\x01 \x01(\t\x12"\n\x03pos\x18\x02 \x01(\x0b\x32\x15.com.kcl.api.Position"\x1a\n\tPing_Args\x12\r\n\x05value\x18\x01 \x01(\t"\x1c\n\x0bPing_Result\x12\r\n\x05value\x18\x01 \x01(\t"\x11\n\x0fListMethod_Args"-\n\x11ListMethod_Result\x12\x18\n\x10method_name_list\x18\x01 \x03(\t"f\n\x0eParseFile_Args\x12\x0c\n\x04path\x18\x01 \x01(\t\x12\x0e\n\x06source\x18\x02 \x01(\t\x12\x36\n\rexternal_pkgs\x18\x03 \x03(\x0b\x32\x1f.com.kcl.api.CmdExternalPkgSpec"V\n\x10ParseFile_Result\x12\x10\n\x08\x61st_json\x18\x01 \x01(\t\x12\x0c\n\x04\x64\x65ps\x18\x02 \x03(\t\x12"\n\x06\x65rrors\x18\x03 \x03(\x0b\x32\x12.com.kcl.api.Error"k\n\x11ParseProgram_Args\x12\r\n\x05paths\x18\x01 \x03(\t\x12\x0f\n\x07sources\x18\x02 \x03(\t\x12\x36\n\rexternal_pkgs\x18\x03 \x03(\x0b\x32\x1f.com.kcl.api.CmdExternalPkgSpec"Z\n\x13ParseProgram_Result\x12\x10\n\x08\x61st_json\x18\x01 \x01(\t\x12\r\n\x05paths\x18\x02 \x03(\t\x12"\n\x06\x65rrors\x18\x03 \x03(\x0b\x32\x12.com.kcl.api.Error"\x89\x01\n\x10LoadPackage_Args\x12\x32\n\nparse_args\x18\x01 \x01(\x0b\x32\x1e.com.kcl.api.ParseProgram_Args\x12\x13\n\x0bresolve_ast\x18\x02 \x01(\x08\x12\x14\n\x0cload_builtin\x18\x03 \x01(\x08\x12\x16\n\x0ewith_ast_index\x18\x04 \x01(\x08"\xf7\x07\n\x12LoadPackage_Result\x12\x0f\n\x07program\x18\x01 \x01(\t\x12\r\n\x05paths\x18\x02 \x03(\t\x12(\n\x0cparse_errors\x18\x03 \x03(\x0b\x32\x12.com.kcl.api.Error\x12\'\n\x0btype_errors\x18\x04 \x03(\x0b\x32\x12.com.kcl.api.Error\x12;\n\x06scopes\x18\x05 \x03(\x0b\x32+.com.kcl.api.LoadPackage_Result.ScopesEntry\x12=\n\x07symbols\x18\x06 \x03(\x0b\x32,.com.kcl.api.LoadPackage_Result.SymbolsEntry\x12K\n\x0fnode_symbol_map\x18\x07 \x03(\x0b\x32\x32.com.kcl.api.LoadPackage_Result.NodeSymbolMapEntry\x12K\n\x0fsymbol_node_map\x18\x08 \x03(\x0b\x32\x32.com.kcl.api.LoadPackage_Result.SymbolNodeMapEntry\x12\\\n\x18\x66ully_qualified_name_map\x18\t \x03(\x0b\x32:.com.kcl.api.LoadPackage_Result.FullyQualifiedNameMapEntry\x12G\n\rpkg_scope_map\x18\n \x03(\x0b\x32\x30.com.kcl.api.LoadPackage_Result.PkgScopeMapEntry\x1a\x41\n\x0bScopesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12!\n\x05value\x18\x02 \x01(\x0b\x32\x12.com.kcl.api.Scope:\x02\x38\x01\x1a\x43\n\x0cSymbolsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12"\n\x05value\x18\x02 \x01(\x0b\x32\x13.com.kcl.api.Symbol:\x02\x38\x01\x1aN\n\x12NodeSymbolMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\'\n\x05value\x18\x02 \x01(\x0b\x32\x18.com.kcl.api.SymbolIndex:\x02\x38\x01\x1a\x34\n\x12SymbolNodeMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1aV\n\x1a\x46ullyQualifiedNameMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\'\n\x05value\x18\x02 \x01(\x0b\x32\x18.com.kcl.api.SymbolIndex:\x02\x38\x01\x1aK\n\x10PkgScopeMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12&\n\x05value\x18\x02 \x01(\x0b\x32\x17.com.kcl.api.ScopeIndex:\x02\x38\x01">\n\x12ListOptions_Result\x12(\n\x07options\x18\x02 \x03(\x0b\x32\x17.com.kcl.api.OptionHelp"_\n\nOptionHelp\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\x12\x10\n\x08required\x18\x03 \x01(\x08\x12\x15\n\rdefault_value\x18\x04 \x01(\t\x12\x0c\n\x04help\x18\x05 \x01(\t"\xc4\x01\n\x06Symbol\x12 \n\x02ty\x18\x01 \x01(\x0b\x32\x14.com.kcl.api.KclType\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\'\n\x05owner\x18\x03 \x01(\x0b\x32\x18.com.kcl.api.SymbolIndex\x12%\n\x03\x64\x65\x66\x18\x04 \x01(\x0b\x32\x18.com.kcl.api.SymbolIndex\x12\'\n\x05\x61ttrs\x18\x05 \x03(\x0b\x32\x18.com.kcl.api.SymbolIndex\x12\x11\n\tis_global\x18\x06 \x01(\x08"\xba\x01\n\x05Scope\x12\x0c\n\x04kind\x18\x01 \x01(\t\x12\'\n\x06parent\x18\x02 \x01(\x0b\x32\x17.com.kcl.api.ScopeIndex\x12\'\n\x05owner\x18\x03 \x01(\x0b\x32\x18.com.kcl.api.SymbolIndex\x12)\n\x08\x63hildren\x18\x04 \x03(\x0b\x32\x17.com.kcl.api.ScopeIndex\x12&\n\x04\x64\x65\x66s\x18\x05 \x03(\x0b\x32\x18.com.kcl.api.SymbolIndex"1\n\x0bSymbolIndex\x12\t\n\x01i\x18\x01 \x01(\x04\x12\t\n\x01g\x18\x02 \x01(\x04\x12\x0c\n\x04kind\x18\x03 \x01(\t"0\n\nScopeIndex\x12\t\n\x01i\x18\x01 \x01(\x04\x12\t\n\x01g\x18\x02 \x01(\x04\x12\x0c\n\x04kind\x18\x03 \x01(\t"\xf7\x03\n\x10\x45xecProgram_Args\x12\x10\n\x08work_dir\x18\x01 \x01(\t\x12\x17\n\x0fk_filename_list\x18\x02 \x03(\t\x12\x13\n\x0bk_code_list\x18\x03 \x03(\t\x12%\n\x04\x61rgs\x18\x04 \x03(\x0b\x32\x17.com.kcl.api.CmdArgSpec\x12/\n\toverrides\x18\x05 \x03(\x0b\x32\x1c.com.kcl.api.CmdOverrideSpec\x12\x1b\n\x13\x64isable_yaml_result\x18\x06 \x01(\x08\x12\x1a\n\x12print_override_ast\x18\x07 \x01(\x08\x12\x1a\n\x12strict_range_check\x18\x08 \x01(\x08\x12\x14\n\x0c\x64isable_none\x18\t \x01(\x08\x12\x0f\n\x07verbose\x18\n \x01(\x05\x12\r\n\x05\x64\x65\x62ug\x18\x0b \x01(\x05\x12\x11\n\tsort_keys\x18\x0c \x01(\x08\x12\x36\n\rexternal_pkgs\x18\r \x03(\x0b\x32\x1f.com.kcl.api.CmdExternalPkgSpec\x12 \n\x18include_schema_type_path\x18\x0e \x01(\x08\x12\x14\n\x0c\x63ompile_only\x18\x0f \x01(\x08\x12\x13\n\x0bshow_hidden\x18\x10 \x01(\x08\x12\x15\n\rpath_selector\x18\x11 \x03(\t\x12\x11\n\tfast_eval\x18\x12 \x01(\x08"h\n\x12\x45xecProgram_Result\x12\x13\n\x0bjson_result\x18\x01 \x01(\t\x12\x13\n\x0byaml_result\x18\x02 \x01(\t\x12\x13\n\x0blog_message\x18\x03 \x01(\t\x12\x13\n\x0b\x65rr_message\x18\x04 \x01(\t"U\n\x11\x42uildProgram_Args\x12\x30\n\texec_args\x18\x01 \x01(\x0b\x32\x1d.com.kcl.api.ExecProgram_Args\x12\x0e\n\x06output\x18\x02 \x01(\t"#\n\x13\x42uildProgram_Result\x12\x0c\n\x04path\x18\x01 \x01(\t"S\n\x11\x45xecArtifact_Args\x12\x0c\n\x04path\x18\x01 \x01(\t\x12\x30\n\texec_args\x18\x02 \x01(\x0b\x32\x1d.com.kcl.api.ExecProgram_Args"\'\n\x10ResetPlugin_Args\x12\x13\n\x0bplugin_root\x18\x01 \x01(\t"\x14\n\x12ResetPlugin_Result"!\n\x0f\x46ormatCode_Args\x12\x0e\n\x06source\x18\x01 \x01(\t"&\n\x11\x46ormatCode_Result\x12\x11\n\tformatted\x18\x01 \x01(\x0c"\x1f\n\x0f\x46ormatPath_Args\x12\x0c\n\x04path\x18\x01 \x01(\t"*\n\x11\x46ormatPath_Result\x12\x15\n\rchanged_paths\x18\x01 \x03(\t"\x1e\n\rLintPath_Args\x12\r\n\x05paths\x18\x01 \x03(\t""\n\x0fLintPath_Result\x12\x0f\n\x07results\x18\x01 \x03(\t"F\n\x11OverrideFile_Args\x12\x0c\n\x04\x66ile\x18\x01 \x01(\t\x12\r\n\x05specs\x18\x02 \x03(\t\x12\x14\n\x0cimport_paths\x18\x03 \x03(\t"%\n\x13OverrideFile_Result\x12\x0e\n\x06result\x18\x01 \x01(\x08"1\n\x12ListVariables_Args\x12\x0c\n\x04\x66ile\x18\x01 \x01(\t\x12\r\n\x05specs\x18\x02 \x03(\t"\xbf\x01\n\x14ListVariables_Result\x12\x43\n\tvariables\x18\x01 \x03(\x0b\x32\x30.com.kcl.api.ListVariables_Result.VariablesEntry\x12\x19\n\x11unsupported_codes\x18\x02 \x03(\t\x1aG\n\x0eVariablesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12$\n\x05value\x18\x02 \x01(\x0b\x32\x15.com.kcl.api.Variable:\x02\x38\x01"\x19\n\x08Variable\x12\r\n\x05value\x18\x01 \x01(\t"_\n\x16GetFullSchemaType_Args\x12\x30\n\texec_args\x18\x01 \x01(\x0b\x32\x1d.com.kcl.api.ExecProgram_Args\x12\x13\n\x0bschema_name\x18\x02 \x01(\t"E\n\x12GetSchemaType_Args\x12\x0c\n\x04\x66ile\x18\x01 \x01(\t\x12\x0c\n\x04\x63ode\x18\x02 \x01(\t\x12\x13\n\x0bschema_name\x18\x03 \x01(\t"F\n\x14GetSchemaType_Result\x12.\n\x10schema_type_list\x18\x01 \x03(\x0b\x32\x14.com.kcl.api.KclType"L\n\x19GetSchemaTypeMapping_Args\x12\x0c\n\x04\x66ile\x18\x01 \x01(\t\x12\x0c\n\x04\x63ode\x18\x02 \x01(\t\x12\x13\n\x0bschema_name\x18\x03 \x01(\t"\xcb\x01\n\x1bGetSchemaTypeMapping_Result\x12\\\n\x13schema_type_mapping\x18\x01 \x03(\x0b\x32?.com.kcl.api.GetSchemaTypeMapping_Result.SchemaTypeMappingEntry\x1aN\n\x16SchemaTypeMappingEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12#\n\x05value\x18\x02 \x01(\x0b\x32\x14.com.kcl.api.KclType:\x02\x38\x01"\x87\x01\n\x11ValidateCode_Args\x12\x10\n\x08\x64\x61tafile\x18\x01 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\t\x12\x0c\n\x04\x66ile\x18\x03 \x01(\t\x12\x0c\n\x04\x63ode\x18\x04 \x01(\t\x12\x0e\n\x06schema\x18\x05 \x01(\t\x12\x16\n\x0e\x61ttribute_name\x18\x06 \x01(\t\x12\x0e\n\x06\x66ormat\x18\x07 \x01(\t";\n\x13ValidateCode_Result\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x13\n\x0b\x65rr_message\x18\x02 \x01(\t":\n\x08Position\x12\x0c\n\x04line\x18\x01 \x01(\x03\x12\x0e\n\x06\x63olumn\x18\x02 \x01(\x03\x12\x10\n\x08\x66ilename\x18\x03 \x01(\t"i\n\x11ListDepFiles_Args\x12\x10\n\x08work_dir\x18\x01 \x01(\t\x12\x14\n\x0cuse_abs_path\x18\x02 \x01(\x08\x12\x13\n\x0binclude_all\x18\x03 \x01(\x08\x12\x17\n\x0fuse_fast_parser\x18\x04 \x01(\x08"F\n\x13ListDepFiles_Result\x12\x0f\n\x07pkgroot\x18\x01 \x01(\t\x12\x0f\n\x07pkgpath\x18\x02 \x01(\t\x12\r\n\x05\x66iles\x18\x03 \x03(\t"9\n\x16LoadSettingsFiles_Args\x12\x10\n\x08work_dir\x18\x01 \x01(\t\x12\r\n\x05\x66iles\x18\x02 \x03(\t"{\n\x18LoadSettingsFiles_Result\x12/\n\x0fkcl_cli_configs\x18\x01 \x01(\x0b\x32\x16.com.kcl.api.CliConfig\x12.\n\x0bkcl_options\x18\x02 \x03(\x0b\x32\x19.com.kcl.api.KeyValuePair"\x83\x02\n\tCliConfig\x12\r\n\x05\x66iles\x18\x01 \x03(\t\x12\x0e\n\x06output\x18\x02 \x01(\t\x12\x11\n\toverrides\x18\x03 \x03(\t\x12\x15\n\rpath_selector\x18\x04 \x03(\t\x12\x1a\n\x12strict_range_check\x18\x05 \x01(\x08\x12\x14\n\x0c\x64isable_none\x18\x06 \x01(\x08\x12\x0f\n\x07verbose\x18\x07 \x01(\x03\x12\r\n\x05\x64\x65\x62ug\x18\x08 \x01(\x08\x12\x11\n\tsort_keys\x18\t \x01(\x08\x12\x13\n\x0bshow_hidden\x18\n \x01(\x08\x12 \n\x18include_schema_type_path\x18\x0b \x01(\x08\x12\x11\n\tfast_eval\x18\x0c \x01(\x08"*\n\x0cKeyValuePair\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t"^\n\x0bRename_Args\x12\x14\n\x0cpackage_root\x18\x01 \x01(\t\x12\x13\n\x0bsymbol_path\x18\x02 \x01(\t\x12\x12\n\nfile_paths\x18\x03 \x03(\t\x12\x10\n\x08new_name\x18\x04 \x01(\t"&\n\rRename_Result\x12\x15\n\rchanged_files\x18\x01 \x03(\t"\xc7\x01\n\x0fRenameCode_Args\x12\x14\n\x0cpackage_root\x18\x01 \x01(\t\x12\x13\n\x0bsymbol_path\x18\x02 \x01(\t\x12\x43\n\x0csource_codes\x18\x03 \x03(\x0b\x32-.com.kcl.api.RenameCode_Args.SourceCodesEntry\x12\x10\n\x08new_name\x18\x04 \x01(\t\x1a\x32\n\x10SourceCodesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"\x91\x01\n\x11RenameCode_Result\x12G\n\rchanged_codes\x18\x01 \x03(\x0b\x32\x30.com.kcl.api.RenameCode_Result.ChangedCodesEntry\x1a\x33\n\x11\x43hangedCodesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"v\n\tTest_Args\x12\x30\n\texec_args\x18\x01 \x01(\x0b\x32\x1d.com.kcl.api.ExecProgram_Args\x12\x10\n\x08pkg_list\x18\x02 \x03(\t\x12\x12\n\nrun_regexp\x18\x03 \x01(\t\x12\x11\n\tfail_fast\x18\x04 \x01(\x08"6\n\x0bTest_Result\x12\'\n\x04info\x18\x02 \x03(\x0b\x32\x19.com.kcl.api.TestCaseInfo"R\n\x0cTestCaseInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05\x65rror\x18\x02 \x01(\t\x12\x10\n\x08\x64uration\x18\x03 \x01(\x04\x12\x13\n\x0blog_message\x18\x04 \x01(\t"\xc8\x04\n\x07KclType\x12\x0c\n\x04type\x18\x01 \x01(\t\x12)\n\x0bunion_types\x18\x02 \x03(\x0b\x32\x14.com.kcl.api.KclType\x12\x0f\n\x07\x64\x65\x66\x61ult\x18\x03 \x01(\t\x12\x13\n\x0bschema_name\x18\x04 \x01(\t\x12\x12\n\nschema_doc\x18\x05 \x01(\t\x12\x38\n\nproperties\x18\x06 \x03(\x0b\x32$.com.kcl.api.KclType.PropertiesEntry\x12\x10\n\x08required\x18\x07 \x03(\t\x12!\n\x03key\x18\x08 \x01(\x0b\x32\x14.com.kcl.api.KclType\x12"\n\x04item\x18\t \x01(\x0b\x32\x14.com.kcl.api.KclType\x12\x0c\n\x04line\x18\n \x01(\x05\x12*\n\ndecorators\x18\x0b \x03(\x0b\x32\x16.com.kcl.api.Decorator\x12\x10\n\x08\x66ilename\x18\x0c \x01(\t\x12\x10\n\x08pkg_path\x18\r \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x0e \x01(\t\x12\x34\n\x08\x65xamples\x18\x0f \x03(\x0b\x32".com.kcl.api.KclType.ExamplesEntry\x1aG\n\x0fPropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12#\n\x05value\x18\x02 \x01(\x0b\x32\x14.com.kcl.api.KclType:\x02\x38\x01\x1a\x45\n\rExamplesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12#\n\x05value\x18\x02 \x01(\x0b\x32\x14.com.kcl.api.Example:\x02\x38\x01"\x95\x01\n\tDecorator\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x11\n\targuments\x18\x02 \x03(\t\x12\x36\n\x08keywords\x18\x03 \x03(\x0b\x32$.com.kcl.api.Decorator.KeywordsEntry\x1a/\n\rKeywordsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01">\n\x07\x45xample\x12\x0f\n\x07summary\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\r\n\x05value\x18\x03 \x01(\t2\x96\x01\n\x0e\x42uiltinService\x12\x38\n\x04Ping\x12\x16.com.kcl.api.Ping_Args\x1a\x18.com.kcl.api.Ping_Result\x12J\n\nListMethod\x12\x1c.com.kcl.api.ListMethod_Args\x1a\x1e.com.kcl.api.ListMethod_Result2\xe0\r\n\x0cKclvmService\x12\x38\n\x04Ping\x12\x16.com.kcl.api.Ping_Args\x1a\x18.com.kcl.api.Ping_Result\x12M\n\x0b\x45xecProgram\x12\x1d.com.kcl.api.ExecProgram_Args\x1a\x1f.com.kcl.api.ExecProgram_Result\x12P\n\x0c\x42uildProgram\x12\x1e.com.kcl.api.BuildProgram_Args\x1a .com.kcl.api.BuildProgram_Result\x12O\n\x0c\x45xecArtifact\x12\x1e.com.kcl.api.ExecArtifact_Args\x1a\x1f.com.kcl.api.ExecProgram_Result\x12G\n\tParseFile\x12\x1b.com.kcl.api.ParseFile_Args\x1a\x1d.com.kcl.api.ParseFile_Result\x12P\n\x0cParseProgram\x12\x1e.com.kcl.api.ParseProgram_Args\x1a .com.kcl.api.ParseProgram_Result\x12M\n\x0bLoadPackage\x12\x1d.com.kcl.api.LoadPackage_Args\x1a\x1f.com.kcl.api.LoadPackage_Result\x12N\n\x0bListOptions\x12\x1e.com.kcl.api.ParseProgram_Args\x1a\x1f.com.kcl.api.ListOptions_Result\x12S\n\rListVariables\x12\x1f.com.kcl.api.ListVariables_Args\x1a!.com.kcl.api.ListVariables_Result\x12J\n\nFormatCode\x12\x1c.com.kcl.api.FormatCode_Args\x1a\x1e.com.kcl.api.FormatCode_Result\x12J\n\nFormatPath\x12\x1c.com.kcl.api.FormatPath_Args\x1a\x1e.com.kcl.api.FormatPath_Result\x12\x44\n\x08LintPath\x12\x1a.com.kcl.api.LintPath_Args\x1a\x1c.com.kcl.api.LintPath_Result\x12P\n\x0cOverrideFile\x12\x1e.com.kcl.api.OverrideFile_Args\x1a .com.kcl.api.OverrideFile_Result\x12S\n\rGetSchemaType\x12\x1f.com.kcl.api.GetSchemaType_Args\x1a!.com.kcl.api.GetSchemaType_Result\x12[\n\x11GetFullSchemaType\x12#.com.kcl.api.GetFullSchemaType_Args\x1a!.com.kcl.api.GetSchemaType_Result\x12h\n\x14GetSchemaTypeMapping\x12&.com.kcl.api.GetSchemaTypeMapping_Args\x1a(.com.kcl.api.GetSchemaTypeMapping_Result\x12P\n\x0cValidateCode\x12\x1e.com.kcl.api.ValidateCode_Args\x1a .com.kcl.api.ValidateCode_Result\x12P\n\x0cListDepFiles\x12\x1e.com.kcl.api.ListDepFiles_Args\x1a .com.kcl.api.ListDepFiles_Result\x12_\n\x11LoadSettingsFiles\x12#.com.kcl.api.LoadSettingsFiles_Args\x1a%.com.kcl.api.LoadSettingsFiles_Result\x12>\n\x06Rename\x12\x18.com.kcl.api.Rename_Args\x1a\x1a.com.kcl.api.Rename_Result\x12J\n\nRenameCode\x12\x1c.com.kcl.api.RenameCode_Args\x1a\x1e.com.kcl.api.RenameCode_Result\x12\x38\n\x04Test\x12\x16.com.kcl.api.Test_Args\x1a\x18.com.kcl.api.Test_Resultb\x06proto3'
|
|
18
|
-
)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\nspec.proto\x12\x0b\x63om.kcl.api\"8\n\x12\x43mdExternalPkgSpec\x12\x10\n\x08pkg_name\x18\x01 \x01(\t\x12\x10\n\x08pkg_path\x18\x02 \x01(\t\")\n\nCmdArgSpec\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\"[\n\x0f\x43mdOverrideSpec\x12\x0f\n\x07pkgpath\x18\x01 \x01(\t\x12\x12\n\nfield_path\x18\x02 \x01(\t\x12\x13\n\x0b\x66ield_value\x18\x03 \x01(\t\x12\x0e\n\x06\x61\x63tion\x18\x04 \x01(\t\"L\n\x05\x45rror\x12\r\n\x05level\x18\x01 \x01(\t\x12\x0c\n\x04\x63ode\x18\x02 \x01(\t\x12&\n\x08messages\x18\x03 \x03(\x0b\x32\x14.com.kcl.api.Message\":\n\x07Message\x12\x0b\n\x03msg\x18\x01 \x01(\t\x12\"\n\x03pos\x18\x02 \x01(\x0b\x32\x15.com.kcl.api.Position\"\x1a\n\tPing_Args\x12\r\n\x05value\x18\x01 \x01(\t\"\x1c\n\x0bPing_Result\x12\r\n\x05value\x18\x01 \x01(\t\"\x11\n\x0fListMethod_Args\"-\n\x11ListMethod_Result\x12\x18\n\x10method_name_list\x18\x01 \x03(\t\"f\n\x0eParseFile_Args\x12\x0c\n\x04path\x18\x01 \x01(\t\x12\x0e\n\x06source\x18\x02 \x01(\t\x12\x36\n\rexternal_pkgs\x18\x03 \x03(\x0b\x32\x1f.com.kcl.api.CmdExternalPkgSpec\"V\n\x10ParseFile_Result\x12\x10\n\x08\x61st_json\x18\x01 \x01(\t\x12\x0c\n\x04\x64\x65ps\x18\x02 \x03(\t\x12\"\n\x06\x65rrors\x18\x03 \x03(\x0b\x32\x12.com.kcl.api.Error\"k\n\x11ParseProgram_Args\x12\r\n\x05paths\x18\x01 \x03(\t\x12\x0f\n\x07sources\x18\x02 \x03(\t\x12\x36\n\rexternal_pkgs\x18\x03 \x03(\x0b\x32\x1f.com.kcl.api.CmdExternalPkgSpec\"Z\n\x13ParseProgram_Result\x12\x10\n\x08\x61st_json\x18\x01 \x01(\t\x12\r\n\x05paths\x18\x02 \x03(\t\x12\"\n\x06\x65rrors\x18\x03 \x03(\x0b\x32\x12.com.kcl.api.Error\"\x89\x01\n\x10LoadPackage_Args\x12\x32\n\nparse_args\x18\x01 \x01(\x0b\x32\x1e.com.kcl.api.ParseProgram_Args\x12\x13\n\x0bresolve_ast\x18\x02 \x01(\x08\x12\x14\n\x0cload_builtin\x18\x03 \x01(\x08\x12\x16\n\x0ewith_ast_index\x18\x04 \x01(\x08\"\xf7\x07\n\x12LoadPackage_Result\x12\x0f\n\x07program\x18\x01 \x01(\t\x12\r\n\x05paths\x18\x02 \x03(\t\x12(\n\x0cparse_errors\x18\x03 \x03(\x0b\x32\x12.com.kcl.api.Error\x12\'\n\x0btype_errors\x18\x04 \x03(\x0b\x32\x12.com.kcl.api.Error\x12;\n\x06scopes\x18\x05 \x03(\x0b\x32+.com.kcl.api.LoadPackage_Result.ScopesEntry\x12=\n\x07symbols\x18\x06 \x03(\x0b\x32,.com.kcl.api.LoadPackage_Result.SymbolsEntry\x12K\n\x0fnode_symbol_map\x18\x07 \x03(\x0b\x32\x32.com.kcl.api.LoadPackage_Result.NodeSymbolMapEntry\x12K\n\x0fsymbol_node_map\x18\x08 \x03(\x0b\x32\x32.com.kcl.api.LoadPackage_Result.SymbolNodeMapEntry\x12\\\n\x18\x66ully_qualified_name_map\x18\t \x03(\x0b\x32:.com.kcl.api.LoadPackage_Result.FullyQualifiedNameMapEntry\x12G\n\rpkg_scope_map\x18\n \x03(\x0b\x32\x30.com.kcl.api.LoadPackage_Result.PkgScopeMapEntry\x1a\x41\n\x0bScopesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12!\n\x05value\x18\x02 \x01(\x0b\x32\x12.com.kcl.api.Scope:\x02\x38\x01\x1a\x43\n\x0cSymbolsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\"\n\x05value\x18\x02 \x01(\x0b\x32\x13.com.kcl.api.Symbol:\x02\x38\x01\x1aN\n\x12NodeSymbolMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\'\n\x05value\x18\x02 \x01(\x0b\x32\x18.com.kcl.api.SymbolIndex:\x02\x38\x01\x1a\x34\n\x12SymbolNodeMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1aV\n\x1a\x46ullyQualifiedNameMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\'\n\x05value\x18\x02 \x01(\x0b\x32\x18.com.kcl.api.SymbolIndex:\x02\x38\x01\x1aK\n\x10PkgScopeMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12&\n\x05value\x18\x02 \x01(\x0b\x32\x17.com.kcl.api.ScopeIndex:\x02\x38\x01\">\n\x12ListOptions_Result\x12(\n\x07options\x18\x02 \x03(\x0b\x32\x17.com.kcl.api.OptionHelp\"_\n\nOptionHelp\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\x12\x10\n\x08required\x18\x03 \x01(\x08\x12\x15\n\rdefault_value\x18\x04 \x01(\t\x12\x0c\n\x04help\x18\x05 \x01(\t\"\xc4\x01\n\x06Symbol\x12 \n\x02ty\x18\x01 \x01(\x0b\x32\x14.com.kcl.api.KclType\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\'\n\x05owner\x18\x03 \x01(\x0b\x32\x18.com.kcl.api.SymbolIndex\x12%\n\x03\x64\x65\x66\x18\x04 \x01(\x0b\x32\x18.com.kcl.api.SymbolIndex\x12\'\n\x05\x61ttrs\x18\x05 \x03(\x0b\x32\x18.com.kcl.api.SymbolIndex\x12\x11\n\tis_global\x18\x06 \x01(\x08\"\xba\x01\n\x05Scope\x12\x0c\n\x04kind\x18\x01 \x01(\t\x12\'\n\x06parent\x18\x02 \x01(\x0b\x32\x17.com.kcl.api.ScopeIndex\x12\'\n\x05owner\x18\x03 \x01(\x0b\x32\x18.com.kcl.api.SymbolIndex\x12)\n\x08\x63hildren\x18\x04 \x03(\x0b\x32\x17.com.kcl.api.ScopeIndex\x12&\n\x04\x64\x65\x66s\x18\x05 \x03(\x0b\x32\x18.com.kcl.api.SymbolIndex\"1\n\x0bSymbolIndex\x12\t\n\x01i\x18\x01 \x01(\x04\x12\t\n\x01g\x18\x02 \x01(\x04\x12\x0c\n\x04kind\x18\x03 \x01(\t\"0\n\nScopeIndex\x12\t\n\x01i\x18\x01 \x01(\x04\x12\t\n\x01g\x18\x02 \x01(\x04\x12\x0c\n\x04kind\x18\x03 \x01(\t\"\xf7\x03\n\x10\x45xecProgram_Args\x12\x10\n\x08work_dir\x18\x01 \x01(\t\x12\x17\n\x0fk_filename_list\x18\x02 \x03(\t\x12\x13\n\x0bk_code_list\x18\x03 \x03(\t\x12%\n\x04\x61rgs\x18\x04 \x03(\x0b\x32\x17.com.kcl.api.CmdArgSpec\x12/\n\toverrides\x18\x05 \x03(\x0b\x32\x1c.com.kcl.api.CmdOverrideSpec\x12\x1b\n\x13\x64isable_yaml_result\x18\x06 \x01(\x08\x12\x1a\n\x12print_override_ast\x18\x07 \x01(\x08\x12\x1a\n\x12strict_range_check\x18\x08 \x01(\x08\x12\x14\n\x0c\x64isable_none\x18\t \x01(\x08\x12\x0f\n\x07verbose\x18\n \x01(\x05\x12\r\n\x05\x64\x65\x62ug\x18\x0b \x01(\x05\x12\x11\n\tsort_keys\x18\x0c \x01(\x08\x12\x36\n\rexternal_pkgs\x18\r \x03(\x0b\x32\x1f.com.kcl.api.CmdExternalPkgSpec\x12 \n\x18include_schema_type_path\x18\x0e \x01(\x08\x12\x14\n\x0c\x63ompile_only\x18\x0f \x01(\x08\x12\x13\n\x0bshow_hidden\x18\x10 \x01(\x08\x12\x15\n\rpath_selector\x18\x11 \x03(\t\x12\x11\n\tfast_eval\x18\x12 \x01(\x08\"h\n\x12\x45xecProgram_Result\x12\x13\n\x0bjson_result\x18\x01 \x01(\t\x12\x13\n\x0byaml_result\x18\x02 \x01(\t\x12\x13\n\x0blog_message\x18\x03 \x01(\t\x12\x13\n\x0b\x65rr_message\x18\x04 \x01(\t\"U\n\x11\x42uildProgram_Args\x12\x30\n\texec_args\x18\x01 \x01(\x0b\x32\x1d.com.kcl.api.ExecProgram_Args\x12\x0e\n\x06output\x18\x02 \x01(\t\"#\n\x13\x42uildProgram_Result\x12\x0c\n\x04path\x18\x01 \x01(\t\"S\n\x11\x45xecArtifact_Args\x12\x0c\n\x04path\x18\x01 \x01(\t\x12\x30\n\texec_args\x18\x02 \x01(\x0b\x32\x1d.com.kcl.api.ExecProgram_Args\"\'\n\x10ResetPlugin_Args\x12\x13\n\x0bplugin_root\x18\x01 \x01(\t\"\x14\n\x12ResetPlugin_Result\"!\n\x0f\x46ormatCode_Args\x12\x0e\n\x06source\x18\x01 \x01(\t\"&\n\x11\x46ormatCode_Result\x12\x11\n\tformatted\x18\x01 \x01(\x0c\"\x1f\n\x0f\x46ormatPath_Args\x12\x0c\n\x04path\x18\x01 \x01(\t\"*\n\x11\x46ormatPath_Result\x12\x15\n\rchanged_paths\x18\x01 \x03(\t\"\x1e\n\rLintPath_Args\x12\r\n\x05paths\x18\x01 \x03(\t\"\"\n\x0fLintPath_Result\x12\x0f\n\x07results\x18\x01 \x03(\t\"F\n\x11OverrideFile_Args\x12\x0c\n\x04\x66ile\x18\x01 \x01(\t\x12\r\n\x05specs\x18\x02 \x03(\t\x12\x14\n\x0cimport_paths\x18\x03 \x03(\t\"%\n\x13OverrideFile_Result\x12\x0e\n\x06result\x18\x01 \x01(\x08\"1\n\x12ListVariables_Args\x12\x0c\n\x04\x66ile\x18\x01 \x01(\t\x12\r\n\x05specs\x18\x02 \x03(\t\"\xbf\x01\n\x14ListVariables_Result\x12\x43\n\tvariables\x18\x01 \x03(\x0b\x32\x30.com.kcl.api.ListVariables_Result.VariablesEntry\x12\x19\n\x11unsupported_codes\x18\x02 \x03(\t\x1aG\n\x0eVariablesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12$\n\x05value\x18\x02 \x01(\x0b\x32\x15.com.kcl.api.Variable:\x02\x38\x01\"<\n\x08Variable\x12\r\n\x05value\x18\x01 \x01(\t\x12\x11\n\ttype_name\x18\x02 \x01(\t\x12\x0e\n\x06op_sym\x18\x03 \x01(\t\"_\n\x16GetFullSchemaType_Args\x12\x30\n\texec_args\x18\x01 \x01(\x0b\x32\x1d.com.kcl.api.ExecProgram_Args\x12\x13\n\x0bschema_name\x18\x02 \x01(\t\"E\n\x12GetSchemaType_Args\x12\x0c\n\x04\x66ile\x18\x01 \x01(\t\x12\x0c\n\x04\x63ode\x18\x02 \x01(\t\x12\x13\n\x0bschema_name\x18\x03 \x01(\t\"F\n\x14GetSchemaType_Result\x12.\n\x10schema_type_list\x18\x01 \x03(\x0b\x32\x14.com.kcl.api.KclType\"L\n\x19GetSchemaTypeMapping_Args\x12\x0c\n\x04\x66ile\x18\x01 \x01(\t\x12\x0c\n\x04\x63ode\x18\x02 \x01(\t\x12\x13\n\x0bschema_name\x18\x03 \x01(\t\"\xcb\x01\n\x1bGetSchemaTypeMapping_Result\x12\\\n\x13schema_type_mapping\x18\x01 \x03(\x0b\x32?.com.kcl.api.GetSchemaTypeMapping_Result.SchemaTypeMappingEntry\x1aN\n\x16SchemaTypeMappingEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12#\n\x05value\x18\x02 \x01(\x0b\x32\x14.com.kcl.api.KclType:\x02\x38\x01\"\x87\x01\n\x11ValidateCode_Args\x12\x10\n\x08\x64\x61tafile\x18\x01 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\t\x12\x0c\n\x04\x66ile\x18\x03 \x01(\t\x12\x0c\n\x04\x63ode\x18\x04 \x01(\t\x12\x0e\n\x06schema\x18\x05 \x01(\t\x12\x16\n\x0e\x61ttribute_name\x18\x06 \x01(\t\x12\x0e\n\x06\x66ormat\x18\x07 \x01(\t\";\n\x13ValidateCode_Result\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x13\n\x0b\x65rr_message\x18\x02 \x01(\t\":\n\x08Position\x12\x0c\n\x04line\x18\x01 \x01(\x03\x12\x0e\n\x06\x63olumn\x18\x02 \x01(\x03\x12\x10\n\x08\x66ilename\x18\x03 \x01(\t\"i\n\x11ListDepFiles_Args\x12\x10\n\x08work_dir\x18\x01 \x01(\t\x12\x14\n\x0cuse_abs_path\x18\x02 \x01(\x08\x12\x13\n\x0binclude_all\x18\x03 \x01(\x08\x12\x17\n\x0fuse_fast_parser\x18\x04 \x01(\x08\"F\n\x13ListDepFiles_Result\x12\x0f\n\x07pkgroot\x18\x01 \x01(\t\x12\x0f\n\x07pkgpath\x18\x02 \x01(\t\x12\r\n\x05\x66iles\x18\x03 \x03(\t\"9\n\x16LoadSettingsFiles_Args\x12\x10\n\x08work_dir\x18\x01 \x01(\t\x12\r\n\x05\x66iles\x18\x02 \x03(\t\"{\n\x18LoadSettingsFiles_Result\x12/\n\x0fkcl_cli_configs\x18\x01 \x01(\x0b\x32\x16.com.kcl.api.CliConfig\x12.\n\x0bkcl_options\x18\x02 \x03(\x0b\x32\x19.com.kcl.api.KeyValuePair\"\x83\x02\n\tCliConfig\x12\r\n\x05\x66iles\x18\x01 \x03(\t\x12\x0e\n\x06output\x18\x02 \x01(\t\x12\x11\n\toverrides\x18\x03 \x03(\t\x12\x15\n\rpath_selector\x18\x04 \x03(\t\x12\x1a\n\x12strict_range_check\x18\x05 \x01(\x08\x12\x14\n\x0c\x64isable_none\x18\x06 \x01(\x08\x12\x0f\n\x07verbose\x18\x07 \x01(\x03\x12\r\n\x05\x64\x65\x62ug\x18\x08 \x01(\x08\x12\x11\n\tsort_keys\x18\t \x01(\x08\x12\x13\n\x0bshow_hidden\x18\n \x01(\x08\x12 \n\x18include_schema_type_path\x18\x0b \x01(\x08\x12\x11\n\tfast_eval\x18\x0c \x01(\x08\"*\n\x0cKeyValuePair\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\"^\n\x0bRename_Args\x12\x14\n\x0cpackage_root\x18\x01 \x01(\t\x12\x13\n\x0bsymbol_path\x18\x02 \x01(\t\x12\x12\n\nfile_paths\x18\x03 \x03(\t\x12\x10\n\x08new_name\x18\x04 \x01(\t\"&\n\rRename_Result\x12\x15\n\rchanged_files\x18\x01 \x03(\t\"\xc7\x01\n\x0fRenameCode_Args\x12\x14\n\x0cpackage_root\x18\x01 \x01(\t\x12\x13\n\x0bsymbol_path\x18\x02 \x01(\t\x12\x43\n\x0csource_codes\x18\x03 \x03(\x0b\x32-.com.kcl.api.RenameCode_Args.SourceCodesEntry\x12\x10\n\x08new_name\x18\x04 \x01(\t\x1a\x32\n\x10SourceCodesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x91\x01\n\x11RenameCode_Result\x12G\n\rchanged_codes\x18\x01 \x03(\x0b\x32\x30.com.kcl.api.RenameCode_Result.ChangedCodesEntry\x1a\x33\n\x11\x43hangedCodesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"v\n\tTest_Args\x12\x30\n\texec_args\x18\x01 \x01(\x0b\x32\x1d.com.kcl.api.ExecProgram_Args\x12\x10\n\x08pkg_list\x18\x02 \x03(\t\x12\x12\n\nrun_regexp\x18\x03 \x01(\t\x12\x11\n\tfail_fast\x18\x04 \x01(\x08\"6\n\x0bTest_Result\x12\'\n\x04info\x18\x02 \x03(\x0b\x32\x19.com.kcl.api.TestCaseInfo\"R\n\x0cTestCaseInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05\x65rror\x18\x02 \x01(\t\x12\x10\n\x08\x64uration\x18\x03 \x01(\x04\x12\x13\n\x0blog_message\x18\x04 \x01(\t\"\xf3\x04\n\x07KclType\x12\x0c\n\x04type\x18\x01 \x01(\t\x12)\n\x0bunion_types\x18\x02 \x03(\x0b\x32\x14.com.kcl.api.KclType\x12\x0f\n\x07\x64\x65\x66\x61ult\x18\x03 \x01(\t\x12\x13\n\x0bschema_name\x18\x04 \x01(\t\x12\x12\n\nschema_doc\x18\x05 \x01(\t\x12\x38\n\nproperties\x18\x06 \x03(\x0b\x32$.com.kcl.api.KclType.PropertiesEntry\x12\x10\n\x08required\x18\x07 \x03(\t\x12!\n\x03key\x18\x08 \x01(\x0b\x32\x14.com.kcl.api.KclType\x12\"\n\x04item\x18\t \x01(\x0b\x32\x14.com.kcl.api.KclType\x12\x0c\n\x04line\x18\n \x01(\x05\x12*\n\ndecorators\x18\x0b \x03(\x0b\x32\x16.com.kcl.api.Decorator\x12\x10\n\x08\x66ilename\x18\x0c \x01(\t\x12\x10\n\x08pkg_path\x18\r \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x0e \x01(\t\x12\x34\n\x08\x65xamples\x18\x0f \x03(\x0b\x32\".com.kcl.api.KclType.ExamplesEntry\x12)\n\x0b\x62\x61se_schema\x18\x10 \x01(\x0b\x32\x14.com.kcl.api.KclType\x1aG\n\x0fPropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12#\n\x05value\x18\x02 \x01(\x0b\x32\x14.com.kcl.api.KclType:\x02\x38\x01\x1a\x45\n\rExamplesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12#\n\x05value\x18\x02 \x01(\x0b\x32\x14.com.kcl.api.Example:\x02\x38\x01\"\x95\x01\n\tDecorator\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x11\n\targuments\x18\x02 \x03(\t\x12\x36\n\x08keywords\x18\x03 \x03(\x0b\x32$.com.kcl.api.Decorator.KeywordsEntry\x1a/\n\rKeywordsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\">\n\x07\x45xample\x12\x0f\n\x07summary\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\r\n\x05value\x18\x03 \x01(\t2\x96\x01\n\x0e\x42uiltinService\x12\x38\n\x04Ping\x12\x16.com.kcl.api.Ping_Args\x1a\x18.com.kcl.api.Ping_Result\x12J\n\nListMethod\x12\x1c.com.kcl.api.ListMethod_Args\x1a\x1e.com.kcl.api.ListMethod_Result2\xe0\r\n\x0cKclvmService\x12\x38\n\x04Ping\x12\x16.com.kcl.api.Ping_Args\x1a\x18.com.kcl.api.Ping_Result\x12M\n\x0b\x45xecProgram\x12\x1d.com.kcl.api.ExecProgram_Args\x1a\x1f.com.kcl.api.ExecProgram_Result\x12P\n\x0c\x42uildProgram\x12\x1e.com.kcl.api.BuildProgram_Args\x1a .com.kcl.api.BuildProgram_Result\x12O\n\x0c\x45xecArtifact\x12\x1e.com.kcl.api.ExecArtifact_Args\x1a\x1f.com.kcl.api.ExecProgram_Result\x12G\n\tParseFile\x12\x1b.com.kcl.api.ParseFile_Args\x1a\x1d.com.kcl.api.ParseFile_Result\x12P\n\x0cParseProgram\x12\x1e.com.kcl.api.ParseProgram_Args\x1a .com.kcl.api.ParseProgram_Result\x12M\n\x0bLoadPackage\x12\x1d.com.kcl.api.LoadPackage_Args\x1a\x1f.com.kcl.api.LoadPackage_Result\x12N\n\x0bListOptions\x12\x1e.com.kcl.api.ParseProgram_Args\x1a\x1f.com.kcl.api.ListOptions_Result\x12S\n\rListVariables\x12\x1f.com.kcl.api.ListVariables_Args\x1a!.com.kcl.api.ListVariables_Result\x12J\n\nFormatCode\x12\x1c.com.kcl.api.FormatCode_Args\x1a\x1e.com.kcl.api.FormatCode_Result\x12J\n\nFormatPath\x12\x1c.com.kcl.api.FormatPath_Args\x1a\x1e.com.kcl.api.FormatPath_Result\x12\x44\n\x08LintPath\x12\x1a.com.kcl.api.LintPath_Args\x1a\x1c.com.kcl.api.LintPath_Result\x12P\n\x0cOverrideFile\x12\x1e.com.kcl.api.OverrideFile_Args\x1a .com.kcl.api.OverrideFile_Result\x12S\n\rGetSchemaType\x12\x1f.com.kcl.api.GetSchemaType_Args\x1a!.com.kcl.api.GetSchemaType_Result\x12[\n\x11GetFullSchemaType\x12#.com.kcl.api.GetFullSchemaType_Args\x1a!.com.kcl.api.GetSchemaType_Result\x12h\n\x14GetSchemaTypeMapping\x12&.com.kcl.api.GetSchemaTypeMapping_Args\x1a(.com.kcl.api.GetSchemaTypeMapping_Result\x12P\n\x0cValidateCode\x12\x1e.com.kcl.api.ValidateCode_Args\x1a .com.kcl.api.ValidateCode_Result\x12P\n\x0cListDepFiles\x12\x1e.com.kcl.api.ListDepFiles_Args\x1a .com.kcl.api.ListDepFiles_Result\x12_\n\x11LoadSettingsFiles\x12#.com.kcl.api.LoadSettingsFiles_Args\x1a%.com.kcl.api.LoadSettingsFiles_Result\x12>\n\x06Rename\x12\x18.com.kcl.api.Rename_Args\x1a\x1a.com.kcl.api.Rename_Result\x12J\n\nRenameCode\x12\x1c.com.kcl.api.RenameCode_Args\x1a\x1e.com.kcl.api.RenameCode_Result\x12\x38\n\x04Test\x12\x16.com.kcl.api.Test_Args\x1a\x18.com.kcl.api.Test_Resultb\x06proto3')
|
|
19
18
|
|
|
20
19
|
_globals = globals()
|
|
21
20
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
22
|
-
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR,
|
|
21
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'spec_pb2', _globals)
|
|
23
22
|
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
_globals["_DECORATOR_KEYWORDSENTRY"]._serialized_start = 7059
|
|
208
|
-
_globals["_DECORATOR_KEYWORDSENTRY"]._serialized_end = 7106
|
|
209
|
-
_globals["_EXAMPLE"]._serialized_start = 7108
|
|
210
|
-
_globals["_EXAMPLE"]._serialized_end = 7170
|
|
211
|
-
_globals["_BUILTINSERVICE"]._serialized_start = 7173
|
|
212
|
-
_globals["_BUILTINSERVICE"]._serialized_end = 7323
|
|
213
|
-
_globals["_KCLVMSERVICE"]._serialized_start = 7326
|
|
214
|
-
_globals["_KCLVMSERVICE"]._serialized_end = 9086
|
|
23
|
+
DESCRIPTOR._options = None
|
|
24
|
+
_globals['_LOADPACKAGE_RESULT_SCOPESENTRY']._options = None
|
|
25
|
+
_globals['_LOADPACKAGE_RESULT_SCOPESENTRY']._serialized_options = b'8\001'
|
|
26
|
+
_globals['_LOADPACKAGE_RESULT_SYMBOLSENTRY']._options = None
|
|
27
|
+
_globals['_LOADPACKAGE_RESULT_SYMBOLSENTRY']._serialized_options = b'8\001'
|
|
28
|
+
_globals['_LOADPACKAGE_RESULT_NODESYMBOLMAPENTRY']._options = None
|
|
29
|
+
_globals['_LOADPACKAGE_RESULT_NODESYMBOLMAPENTRY']._serialized_options = b'8\001'
|
|
30
|
+
_globals['_LOADPACKAGE_RESULT_SYMBOLNODEMAPENTRY']._options = None
|
|
31
|
+
_globals['_LOADPACKAGE_RESULT_SYMBOLNODEMAPENTRY']._serialized_options = b'8\001'
|
|
32
|
+
_globals['_LOADPACKAGE_RESULT_FULLYQUALIFIEDNAMEMAPENTRY']._options = None
|
|
33
|
+
_globals['_LOADPACKAGE_RESULT_FULLYQUALIFIEDNAMEMAPENTRY']._serialized_options = b'8\001'
|
|
34
|
+
_globals['_LOADPACKAGE_RESULT_PKGSCOPEMAPENTRY']._options = None
|
|
35
|
+
_globals['_LOADPACKAGE_RESULT_PKGSCOPEMAPENTRY']._serialized_options = b'8\001'
|
|
36
|
+
_globals['_LISTVARIABLES_RESULT_VARIABLESENTRY']._options = None
|
|
37
|
+
_globals['_LISTVARIABLES_RESULT_VARIABLESENTRY']._serialized_options = b'8\001'
|
|
38
|
+
_globals['_GETSCHEMATYPEMAPPING_RESULT_SCHEMATYPEMAPPINGENTRY']._options = None
|
|
39
|
+
_globals['_GETSCHEMATYPEMAPPING_RESULT_SCHEMATYPEMAPPINGENTRY']._serialized_options = b'8\001'
|
|
40
|
+
_globals['_RENAMECODE_ARGS_SOURCECODESENTRY']._options = None
|
|
41
|
+
_globals['_RENAMECODE_ARGS_SOURCECODESENTRY']._serialized_options = b'8\001'
|
|
42
|
+
_globals['_RENAMECODE_RESULT_CHANGEDCODESENTRY']._options = None
|
|
43
|
+
_globals['_RENAMECODE_RESULT_CHANGEDCODESENTRY']._serialized_options = b'8\001'
|
|
44
|
+
_globals['_KCLTYPE_PROPERTIESENTRY']._options = None
|
|
45
|
+
_globals['_KCLTYPE_PROPERTIESENTRY']._serialized_options = b'8\001'
|
|
46
|
+
_globals['_KCLTYPE_EXAMPLESENTRY']._options = None
|
|
47
|
+
_globals['_KCLTYPE_EXAMPLESENTRY']._serialized_options = b'8\001'
|
|
48
|
+
_globals['_DECORATOR_KEYWORDSENTRY']._options = None
|
|
49
|
+
_globals['_DECORATOR_KEYWORDSENTRY']._serialized_options = b'8\001'
|
|
50
|
+
_globals['_CMDEXTERNALPKGSPEC']._serialized_start=27
|
|
51
|
+
_globals['_CMDEXTERNALPKGSPEC']._serialized_end=83
|
|
52
|
+
_globals['_CMDARGSPEC']._serialized_start=85
|
|
53
|
+
_globals['_CMDARGSPEC']._serialized_end=126
|
|
54
|
+
_globals['_CMDOVERRIDESPEC']._serialized_start=128
|
|
55
|
+
_globals['_CMDOVERRIDESPEC']._serialized_end=219
|
|
56
|
+
_globals['_ERROR']._serialized_start=221
|
|
57
|
+
_globals['_ERROR']._serialized_end=297
|
|
58
|
+
_globals['_MESSAGE']._serialized_start=299
|
|
59
|
+
_globals['_MESSAGE']._serialized_end=357
|
|
60
|
+
_globals['_PING_ARGS']._serialized_start=359
|
|
61
|
+
_globals['_PING_ARGS']._serialized_end=385
|
|
62
|
+
_globals['_PING_RESULT']._serialized_start=387
|
|
63
|
+
_globals['_PING_RESULT']._serialized_end=415
|
|
64
|
+
_globals['_LISTMETHOD_ARGS']._serialized_start=417
|
|
65
|
+
_globals['_LISTMETHOD_ARGS']._serialized_end=434
|
|
66
|
+
_globals['_LISTMETHOD_RESULT']._serialized_start=436
|
|
67
|
+
_globals['_LISTMETHOD_RESULT']._serialized_end=481
|
|
68
|
+
_globals['_PARSEFILE_ARGS']._serialized_start=483
|
|
69
|
+
_globals['_PARSEFILE_ARGS']._serialized_end=585
|
|
70
|
+
_globals['_PARSEFILE_RESULT']._serialized_start=587
|
|
71
|
+
_globals['_PARSEFILE_RESULT']._serialized_end=673
|
|
72
|
+
_globals['_PARSEPROGRAM_ARGS']._serialized_start=675
|
|
73
|
+
_globals['_PARSEPROGRAM_ARGS']._serialized_end=782
|
|
74
|
+
_globals['_PARSEPROGRAM_RESULT']._serialized_start=784
|
|
75
|
+
_globals['_PARSEPROGRAM_RESULT']._serialized_end=874
|
|
76
|
+
_globals['_LOADPACKAGE_ARGS']._serialized_start=877
|
|
77
|
+
_globals['_LOADPACKAGE_ARGS']._serialized_end=1014
|
|
78
|
+
_globals['_LOADPACKAGE_RESULT']._serialized_start=1017
|
|
79
|
+
_globals['_LOADPACKAGE_RESULT']._serialized_end=2032
|
|
80
|
+
_globals['_LOADPACKAGE_RESULT_SCOPESENTRY']._serialized_start=1599
|
|
81
|
+
_globals['_LOADPACKAGE_RESULT_SCOPESENTRY']._serialized_end=1664
|
|
82
|
+
_globals['_LOADPACKAGE_RESULT_SYMBOLSENTRY']._serialized_start=1666
|
|
83
|
+
_globals['_LOADPACKAGE_RESULT_SYMBOLSENTRY']._serialized_end=1733
|
|
84
|
+
_globals['_LOADPACKAGE_RESULT_NODESYMBOLMAPENTRY']._serialized_start=1735
|
|
85
|
+
_globals['_LOADPACKAGE_RESULT_NODESYMBOLMAPENTRY']._serialized_end=1813
|
|
86
|
+
_globals['_LOADPACKAGE_RESULT_SYMBOLNODEMAPENTRY']._serialized_start=1815
|
|
87
|
+
_globals['_LOADPACKAGE_RESULT_SYMBOLNODEMAPENTRY']._serialized_end=1867
|
|
88
|
+
_globals['_LOADPACKAGE_RESULT_FULLYQUALIFIEDNAMEMAPENTRY']._serialized_start=1869
|
|
89
|
+
_globals['_LOADPACKAGE_RESULT_FULLYQUALIFIEDNAMEMAPENTRY']._serialized_end=1955
|
|
90
|
+
_globals['_LOADPACKAGE_RESULT_PKGSCOPEMAPENTRY']._serialized_start=1957
|
|
91
|
+
_globals['_LOADPACKAGE_RESULT_PKGSCOPEMAPENTRY']._serialized_end=2032
|
|
92
|
+
_globals['_LISTOPTIONS_RESULT']._serialized_start=2034
|
|
93
|
+
_globals['_LISTOPTIONS_RESULT']._serialized_end=2096
|
|
94
|
+
_globals['_OPTIONHELP']._serialized_start=2098
|
|
95
|
+
_globals['_OPTIONHELP']._serialized_end=2193
|
|
96
|
+
_globals['_SYMBOL']._serialized_start=2196
|
|
97
|
+
_globals['_SYMBOL']._serialized_end=2392
|
|
98
|
+
_globals['_SCOPE']._serialized_start=2395
|
|
99
|
+
_globals['_SCOPE']._serialized_end=2581
|
|
100
|
+
_globals['_SYMBOLINDEX']._serialized_start=2583
|
|
101
|
+
_globals['_SYMBOLINDEX']._serialized_end=2632
|
|
102
|
+
_globals['_SCOPEINDEX']._serialized_start=2634
|
|
103
|
+
_globals['_SCOPEINDEX']._serialized_end=2682
|
|
104
|
+
_globals['_EXECPROGRAM_ARGS']._serialized_start=2685
|
|
105
|
+
_globals['_EXECPROGRAM_ARGS']._serialized_end=3188
|
|
106
|
+
_globals['_EXECPROGRAM_RESULT']._serialized_start=3190
|
|
107
|
+
_globals['_EXECPROGRAM_RESULT']._serialized_end=3294
|
|
108
|
+
_globals['_BUILDPROGRAM_ARGS']._serialized_start=3296
|
|
109
|
+
_globals['_BUILDPROGRAM_ARGS']._serialized_end=3381
|
|
110
|
+
_globals['_BUILDPROGRAM_RESULT']._serialized_start=3383
|
|
111
|
+
_globals['_BUILDPROGRAM_RESULT']._serialized_end=3418
|
|
112
|
+
_globals['_EXECARTIFACT_ARGS']._serialized_start=3420
|
|
113
|
+
_globals['_EXECARTIFACT_ARGS']._serialized_end=3503
|
|
114
|
+
_globals['_RESETPLUGIN_ARGS']._serialized_start=3505
|
|
115
|
+
_globals['_RESETPLUGIN_ARGS']._serialized_end=3544
|
|
116
|
+
_globals['_RESETPLUGIN_RESULT']._serialized_start=3546
|
|
117
|
+
_globals['_RESETPLUGIN_RESULT']._serialized_end=3566
|
|
118
|
+
_globals['_FORMATCODE_ARGS']._serialized_start=3568
|
|
119
|
+
_globals['_FORMATCODE_ARGS']._serialized_end=3601
|
|
120
|
+
_globals['_FORMATCODE_RESULT']._serialized_start=3603
|
|
121
|
+
_globals['_FORMATCODE_RESULT']._serialized_end=3641
|
|
122
|
+
_globals['_FORMATPATH_ARGS']._serialized_start=3643
|
|
123
|
+
_globals['_FORMATPATH_ARGS']._serialized_end=3674
|
|
124
|
+
_globals['_FORMATPATH_RESULT']._serialized_start=3676
|
|
125
|
+
_globals['_FORMATPATH_RESULT']._serialized_end=3718
|
|
126
|
+
_globals['_LINTPATH_ARGS']._serialized_start=3720
|
|
127
|
+
_globals['_LINTPATH_ARGS']._serialized_end=3750
|
|
128
|
+
_globals['_LINTPATH_RESULT']._serialized_start=3752
|
|
129
|
+
_globals['_LINTPATH_RESULT']._serialized_end=3786
|
|
130
|
+
_globals['_OVERRIDEFILE_ARGS']._serialized_start=3788
|
|
131
|
+
_globals['_OVERRIDEFILE_ARGS']._serialized_end=3858
|
|
132
|
+
_globals['_OVERRIDEFILE_RESULT']._serialized_start=3860
|
|
133
|
+
_globals['_OVERRIDEFILE_RESULT']._serialized_end=3897
|
|
134
|
+
_globals['_LISTVARIABLES_ARGS']._serialized_start=3899
|
|
135
|
+
_globals['_LISTVARIABLES_ARGS']._serialized_end=3948
|
|
136
|
+
_globals['_LISTVARIABLES_RESULT']._serialized_start=3951
|
|
137
|
+
_globals['_LISTVARIABLES_RESULT']._serialized_end=4142
|
|
138
|
+
_globals['_LISTVARIABLES_RESULT_VARIABLESENTRY']._serialized_start=4071
|
|
139
|
+
_globals['_LISTVARIABLES_RESULT_VARIABLESENTRY']._serialized_end=4142
|
|
140
|
+
_globals['_VARIABLE']._serialized_start=4144
|
|
141
|
+
_globals['_VARIABLE']._serialized_end=4204
|
|
142
|
+
_globals['_GETFULLSCHEMATYPE_ARGS']._serialized_start=4206
|
|
143
|
+
_globals['_GETFULLSCHEMATYPE_ARGS']._serialized_end=4301
|
|
144
|
+
_globals['_GETSCHEMATYPE_ARGS']._serialized_start=4303
|
|
145
|
+
_globals['_GETSCHEMATYPE_ARGS']._serialized_end=4372
|
|
146
|
+
_globals['_GETSCHEMATYPE_RESULT']._serialized_start=4374
|
|
147
|
+
_globals['_GETSCHEMATYPE_RESULT']._serialized_end=4444
|
|
148
|
+
_globals['_GETSCHEMATYPEMAPPING_ARGS']._serialized_start=4446
|
|
149
|
+
_globals['_GETSCHEMATYPEMAPPING_ARGS']._serialized_end=4522
|
|
150
|
+
_globals['_GETSCHEMATYPEMAPPING_RESULT']._serialized_start=4525
|
|
151
|
+
_globals['_GETSCHEMATYPEMAPPING_RESULT']._serialized_end=4728
|
|
152
|
+
_globals['_GETSCHEMATYPEMAPPING_RESULT_SCHEMATYPEMAPPINGENTRY']._serialized_start=4650
|
|
153
|
+
_globals['_GETSCHEMATYPEMAPPING_RESULT_SCHEMATYPEMAPPINGENTRY']._serialized_end=4728
|
|
154
|
+
_globals['_VALIDATECODE_ARGS']._serialized_start=4731
|
|
155
|
+
_globals['_VALIDATECODE_ARGS']._serialized_end=4866
|
|
156
|
+
_globals['_VALIDATECODE_RESULT']._serialized_start=4868
|
|
157
|
+
_globals['_VALIDATECODE_RESULT']._serialized_end=4927
|
|
158
|
+
_globals['_POSITION']._serialized_start=4929
|
|
159
|
+
_globals['_POSITION']._serialized_end=4987
|
|
160
|
+
_globals['_LISTDEPFILES_ARGS']._serialized_start=4989
|
|
161
|
+
_globals['_LISTDEPFILES_ARGS']._serialized_end=5094
|
|
162
|
+
_globals['_LISTDEPFILES_RESULT']._serialized_start=5096
|
|
163
|
+
_globals['_LISTDEPFILES_RESULT']._serialized_end=5166
|
|
164
|
+
_globals['_LOADSETTINGSFILES_ARGS']._serialized_start=5168
|
|
165
|
+
_globals['_LOADSETTINGSFILES_ARGS']._serialized_end=5225
|
|
166
|
+
_globals['_LOADSETTINGSFILES_RESULT']._serialized_start=5227
|
|
167
|
+
_globals['_LOADSETTINGSFILES_RESULT']._serialized_end=5350
|
|
168
|
+
_globals['_CLICONFIG']._serialized_start=5353
|
|
169
|
+
_globals['_CLICONFIG']._serialized_end=5612
|
|
170
|
+
_globals['_KEYVALUEPAIR']._serialized_start=5614
|
|
171
|
+
_globals['_KEYVALUEPAIR']._serialized_end=5656
|
|
172
|
+
_globals['_RENAME_ARGS']._serialized_start=5658
|
|
173
|
+
_globals['_RENAME_ARGS']._serialized_end=5752
|
|
174
|
+
_globals['_RENAME_RESULT']._serialized_start=5754
|
|
175
|
+
_globals['_RENAME_RESULT']._serialized_end=5792
|
|
176
|
+
_globals['_RENAMECODE_ARGS']._serialized_start=5795
|
|
177
|
+
_globals['_RENAMECODE_ARGS']._serialized_end=5994
|
|
178
|
+
_globals['_RENAMECODE_ARGS_SOURCECODESENTRY']._serialized_start=5944
|
|
179
|
+
_globals['_RENAMECODE_ARGS_SOURCECODESENTRY']._serialized_end=5994
|
|
180
|
+
_globals['_RENAMECODE_RESULT']._serialized_start=5997
|
|
181
|
+
_globals['_RENAMECODE_RESULT']._serialized_end=6142
|
|
182
|
+
_globals['_RENAMECODE_RESULT_CHANGEDCODESENTRY']._serialized_start=6091
|
|
183
|
+
_globals['_RENAMECODE_RESULT_CHANGEDCODESENTRY']._serialized_end=6142
|
|
184
|
+
_globals['_TEST_ARGS']._serialized_start=6144
|
|
185
|
+
_globals['_TEST_ARGS']._serialized_end=6262
|
|
186
|
+
_globals['_TEST_RESULT']._serialized_start=6264
|
|
187
|
+
_globals['_TEST_RESULT']._serialized_end=6318
|
|
188
|
+
_globals['_TESTCASEINFO']._serialized_start=6320
|
|
189
|
+
_globals['_TESTCASEINFO']._serialized_end=6402
|
|
190
|
+
_globals['_KCLTYPE']._serialized_start=6405
|
|
191
|
+
_globals['_KCLTYPE']._serialized_end=7032
|
|
192
|
+
_globals['_KCLTYPE_PROPERTIESENTRY']._serialized_start=6890
|
|
193
|
+
_globals['_KCLTYPE_PROPERTIESENTRY']._serialized_end=6961
|
|
194
|
+
_globals['_KCLTYPE_EXAMPLESENTRY']._serialized_start=6963
|
|
195
|
+
_globals['_KCLTYPE_EXAMPLESENTRY']._serialized_end=7032
|
|
196
|
+
_globals['_DECORATOR']._serialized_start=7035
|
|
197
|
+
_globals['_DECORATOR']._serialized_end=7184
|
|
198
|
+
_globals['_DECORATOR_KEYWORDSENTRY']._serialized_start=7137
|
|
199
|
+
_globals['_DECORATOR_KEYWORDSENTRY']._serialized_end=7184
|
|
200
|
+
_globals['_EXAMPLE']._serialized_start=7186
|
|
201
|
+
_globals['_EXAMPLE']._serialized_end=7248
|
|
202
|
+
_globals['_BUILTINSERVICE']._serialized_start=7251
|
|
203
|
+
_globals['_BUILTINSERVICE']._serialized_end=7401
|
|
204
|
+
_globals['_KCLVMSERVICE']._serialized_start=7404
|
|
205
|
+
_globals['_KCLVMSERVICE']._serialized_end=9164
|
|
215
206
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: kcl_lib
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.9.0a1
|
|
4
4
|
Classifier: Programming Language :: Rust
|
|
5
5
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
6
6
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
@@ -21,6 +21,23 @@ Project-URL: Repository, https://github.com/kcl-lang/kcl
|
|
|
21
21
|
|
|
22
22
|
# KCL Artifact Library for Python
|
|
23
23
|
|
|
24
|
+
## Installation
|
|
25
|
+
|
|
26
|
+
```shell
|
|
27
|
+
python3 -m pip install kcl-lib
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## Quick Start
|
|
31
|
+
|
|
32
|
+
```python
|
|
33
|
+
import kcl_lib.api as api
|
|
34
|
+
|
|
35
|
+
args = api.ExecProgram_Args(k_filename_list=["./tests/test_data/schema.k"])
|
|
36
|
+
api = api.API()
|
|
37
|
+
result = api.exec_program(args)
|
|
38
|
+
print(result.yaml_result)
|
|
39
|
+
```
|
|
40
|
+
|
|
24
41
|
## Developing
|
|
25
42
|
|
|
26
43
|
Setup virtualenv:
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
kcl_lib-0.9.0a1.dist-info/METADATA,sha256=nthCP2LfDlwQRvlNWuAY9hQYFcDEwF4md31chQ1x79g,1370
|
|
2
|
+
kcl_lib-0.9.0a1.dist-info/WHEEL,sha256=88DykRyub23IQeCxphAc1eW7PZo2npnb8m2maKWpwLI,95
|
|
3
|
+
kcl_lib/api/service.py,sha256=ZFXVCi8gOdm4OUuF40DUi9OzTilF8UOg50o4dSM22HE,8535
|
|
4
|
+
kcl_lib/api/spec_pb2.py,sha256=chbasI_GDOKSW7pTcGcLyI0LgP4R-o9GO09aN-kZbgs,26822
|
|
5
|
+
kcl_lib/api/__init__.py,sha256=6yAR-7jlAMBJVDVNukZ_0LeuM7NQWgjNo7yRTjGJLBg,72
|
|
6
|
+
kcl_lib/__init__.py,sha256=l3Vex1HIfcckzc9d23poK8cntz2zAnchQM4l6qbXluM,25
|
|
7
|
+
kcl_lib/_kcl_lib.cp311-win_amd64.pyd,sha256=gPFbuipF9kr6Q8bRIW9Yrh-1LdqevaEbZttornfGmAk,14003712
|
|
8
|
+
kcl_lib-0.9.0a1.dist-info/RECORD,,
|
kcl_lib-0.8.6.dist-info/RECORD
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
kcl_lib-0.8.6.dist-info/METADATA,sha256=Sol5EhtBsVAVbHi9eMSkipt5RzH4K5HiiEdUzNyyldQ,1081
|
|
2
|
-
kcl_lib-0.8.6.dist-info/WHEEL,sha256=88DykRyub23IQeCxphAc1eW7PZo2npnb8m2maKWpwLI,95
|
|
3
|
-
kcl_lib/api/service.py,sha256=ZFXVCi8gOdm4OUuF40DUi9OzTilF8UOg50o4dSM22HE,8535
|
|
4
|
-
kcl_lib/api/spec_pb2.py,sha256=XiQ57KEreKdYivL2obUMKrTSRV4tKbpdiibSz3FAdi0,27360
|
|
5
|
-
kcl_lib/api/__init__.py,sha256=6yAR-7jlAMBJVDVNukZ_0LeuM7NQWgjNo7yRTjGJLBg,72
|
|
6
|
-
kcl_lib/__init__.py,sha256=l3Vex1HIfcckzc9d23poK8cntz2zAnchQM4l6qbXluM,25
|
|
7
|
-
kcl_lib/_kcl_lib.cp311-win_amd64.pyd,sha256=VOb0G5jx8gLOjqFIsHF3xbHz58zGF09r3q7lpBNbc5I,13871616
|
|
8
|
-
kcl_lib-0.8.6.dist-info/RECORD,,
|
|
File without changes
|