rappel 0.5.7__py3-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.
proto/ast_pb2.py ADDED
@@ -0,0 +1,115 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: ast.proto
5
+ # Protobuf Python Version: 5.29.0
6
+ """Generated protocol buffer code."""
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ from google.protobuf.internal import builder as _builder
12
+
13
+ _runtime_version.ValidateProtobufRuntimeVersion(
14
+ _runtime_version.Domain.PUBLIC,
15
+ 5,
16
+ 29,
17
+ 0,
18
+ '',
19
+ 'ast.proto'
20
+ )
21
+ # @@protoc_insertion_point(imports)
22
+
23
+ _sym_db = _symbol_database.Default()
24
+
25
+
26
+
27
+
28
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\tast.proto\x12\nrappel.ast\"5\n\x07Program\x12*\n\tfunctions\x18\x01 \x03(\x0b\x32\x17.rappel.ast.FunctionDef\"|\n\x0b\x46unctionDef\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x1e\n\x02io\x18\x02 \x01(\x0b\x32\x12.rappel.ast.IoDecl\x12\x1f\n\x04\x62ody\x18\x03 \x01(\x0b\x32\x11.rappel.ast.Block\x12\x1e\n\x04span\x18\x04 \x01(\x0b\x32\x10.rappel.ast.Span\"I\n\x06IoDecl\x12\x0e\n\x06inputs\x18\x01 \x03(\t\x12\x0f\n\x07outputs\x18\x02 \x03(\t\x12\x1e\n\x04span\x18\x03 \x01(\x0b\x32\x10.rappel.ast.Span\"R\n\x05\x42lock\x12)\n\nstatements\x18\x01 \x03(\x0b\x32\x15.rappel.ast.Statement\x12\x1e\n\x04span\x18\x02 \x01(\x0b\x32\x10.rappel.ast.Span\"\xd8\x03\n\tStatement\x12,\n\nassignment\x18\x01 \x01(\x0b\x32\x16.rappel.ast.AssignmentH\x00\x12-\n\x0b\x61\x63tion_call\x18\x02 \x01(\x0b\x32\x16.rappel.ast.ActionCallH\x00\x12\x31\n\rspread_action\x18\x03 \x01(\x0b\x32\x18.rappel.ast.SpreadActionH\x00\x12\x33\n\x0eparallel_block\x18\x04 \x01(\x0b\x32\x19.rappel.ast.ParallelBlockH\x00\x12\'\n\x08\x66or_loop\x18\x05 \x01(\x0b\x32\x13.rappel.ast.ForLoopH\x00\x12.\n\x0b\x63onditional\x18\x06 \x01(\x0b\x32\x17.rappel.ast.ConditionalH\x00\x12+\n\ntry_except\x18\x07 \x01(\x0b\x32\x15.rappel.ast.TryExceptH\x00\x12-\n\x0breturn_stmt\x18\x08 \x01(\x0b\x32\x16.rappel.ast.ReturnStmtH\x00\x12)\n\texpr_stmt\x18\t \x01(\x0b\x32\x14.rappel.ast.ExprStmtH\x00\x12\x1e\n\x04span\x18\n \x01(\x0b\x32\x10.rappel.ast.SpanB\x06\n\x04kind\">\n\nAssignment\x12\x0f\n\x07targets\x18\x01 \x03(\t\x12\x1f\n\x05value\x18\x02 \x01(\x0b\x32\x10.rappel.ast.Expr\"\x9b\x01\n\nActionCall\x12\x13\n\x0b\x61\x63tion_name\x18\x01 \x01(\t\x12!\n\x06kwargs\x18\x02 \x03(\x0b\x32\x11.rappel.ast.Kwarg\x12+\n\x08policies\x18\x03 \x03(\x0b\x32\x19.rappel.ast.PolicyBracket\x12\x18\n\x0bmodule_name\x18\x04 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_module_name\"n\n\x0cSpreadAction\x12$\n\ncollection\x18\x01 \x01(\x0b\x32\x10.rappel.ast.Expr\x12\x10\n\x08loop_var\x18\x02 \x01(\t\x12&\n\x06\x61\x63tion\x18\x03 \x01(\x0b\x32\x16.rappel.ast.ActionCall\"0\n\rParallelBlock\x12\x1f\n\x05\x63\x61lls\x18\x01 \x03(\x0b\x32\x10.rappel.ast.Call\"f\n\x04\x43\x61ll\x12(\n\x06\x61\x63tion\x18\x01 \x01(\x0b\x32\x16.rappel.ast.ActionCallH\x00\x12,\n\x08\x66unction\x18\x02 \x01(\x0b\x32\x18.rappel.ast.FunctionCallH\x00\x42\x06\n\x04kind\"g\n\x07\x46orLoop\x12\x11\n\tloop_vars\x18\x01 \x03(\t\x12\"\n\x08iterable\x18\x02 \x01(\x0b\x32\x10.rappel.ast.Expr\x12%\n\nblock_body\x18\x03 \x01(\x0b\x32\x11.rappel.ast.Block\"\xa7\x01\n\x0b\x43onditional\x12\'\n\tif_branch\x18\x01 \x01(\x0b\x32\x14.rappel.ast.IfBranch\x12-\n\relif_branches\x18\x02 \x03(\x0b\x32\x16.rappel.ast.ElifBranch\x12\x30\n\x0b\x65lse_branch\x18\x03 \x01(\x0b\x32\x16.rappel.ast.ElseBranchH\x00\x88\x01\x01\x42\x0e\n\x0c_else_branch\"v\n\x08IfBranch\x12#\n\tcondition\x18\x01 \x01(\x0b\x32\x10.rappel.ast.Expr\x12\x1e\n\x04span\x18\x02 \x01(\x0b\x32\x10.rappel.ast.Span\x12%\n\nblock_body\x18\x03 \x01(\x0b\x32\x11.rappel.ast.Block\"x\n\nElifBranch\x12#\n\tcondition\x18\x01 \x01(\x0b\x32\x10.rappel.ast.Expr\x12\x1e\n\x04span\x18\x02 \x01(\x0b\x32\x10.rappel.ast.Span\x12%\n\nblock_body\x18\x03 \x01(\x0b\x32\x11.rappel.ast.Block\"S\n\nElseBranch\x12\x1e\n\x04span\x18\x01 \x01(\x0b\x32\x10.rappel.ast.Span\x12%\n\nblock_body\x18\x02 \x01(\x0b\x32\x11.rappel.ast.Block\"^\n\tTryExcept\x12+\n\x08handlers\x18\x02 \x03(\x0b\x32\x19.rappel.ast.ExceptHandler\x12$\n\ttry_block\x18\x03 \x01(\x0b\x32\x11.rappel.ast.Block\"o\n\rExceptHandler\x12\x17\n\x0f\x65xception_types\x18\x01 \x03(\t\x12\x1e\n\x04span\x18\x02 \x01(\x0b\x32\x10.rappel.ast.Span\x12%\n\nblock_body\x18\x03 \x01(\x0b\x32\x11.rappel.ast.Block\"<\n\nReturnStmt\x12$\n\x05value\x18\x01 \x01(\x0b\x32\x10.rappel.ast.ExprH\x00\x88\x01\x01\x42\x08\n\x06_value\"*\n\x08\x45xprStmt\x12\x1e\n\x04\x65xpr\x18\x01 \x01(\x0b\x32\x10.rappel.ast.Expr\"\xb4\x04\n\x04\x45xpr\x12&\n\x07literal\x18\x01 \x01(\x0b\x32\x13.rappel.ast.LiteralH\x00\x12(\n\x08variable\x18\x02 \x01(\x0b\x32\x14.rappel.ast.VariableH\x00\x12)\n\tbinary_op\x18\x03 \x01(\x0b\x32\x14.rappel.ast.BinaryOpH\x00\x12\'\n\x08unary_op\x18\x04 \x01(\x0b\x32\x13.rappel.ast.UnaryOpH\x00\x12$\n\x04list\x18\x05 \x01(\x0b\x32\x14.rappel.ast.ListExprH\x00\x12$\n\x04\x64ict\x18\x06 \x01(\x0b\x32\x14.rappel.ast.DictExprH\x00\x12(\n\x05index\x18\x07 \x01(\x0b\x32\x17.rappel.ast.IndexAccessH\x00\x12$\n\x03\x64ot\x18\x08 \x01(\x0b\x32\x15.rappel.ast.DotAccessH\x00\x12\x31\n\rfunction_call\x18\t \x01(\x0b\x32\x18.rappel.ast.FunctionCallH\x00\x12-\n\x0b\x61\x63tion_call\x18\n \x01(\x0b\x32\x16.rappel.ast.ActionCallH\x00\x12\x31\n\rparallel_expr\x18\x0c \x01(\x0b\x32\x18.rappel.ast.ParallelExprH\x00\x12-\n\x0bspread_expr\x18\r \x01(\x0b\x32\x16.rappel.ast.SpreadExprH\x00\x12\x1e\n\x04span\x18\x0b \x01(\x0b\x32\x10.rappel.ast.SpanB\x06\n\x04kind\"\x7f\n\x07Literal\x12\x13\n\tint_value\x18\x01 \x01(\x03H\x00\x12\x15\n\x0b\x66loat_value\x18\x02 \x01(\x01H\x00\x12\x16\n\x0cstring_value\x18\x03 \x01(\tH\x00\x12\x14\n\nbool_value\x18\x04 \x01(\x08H\x00\x12\x11\n\x07is_none\x18\x05 \x01(\x08H\x00\x42\x07\n\x05value\"\x18\n\x08Variable\x12\x0c\n\x04name\x18\x01 \x01(\t\"s\n\x08\x42inaryOp\x12\x1e\n\x04left\x18\x01 \x01(\x0b\x32\x10.rappel.ast.Expr\x12&\n\x02op\x18\x02 \x01(\x0e\x32\x1a.rappel.ast.BinaryOperator\x12\x1f\n\x05right\x18\x03 \x01(\x0b\x32\x10.rappel.ast.Expr\"S\n\x07UnaryOp\x12%\n\x02op\x18\x01 \x01(\x0e\x32\x19.rappel.ast.UnaryOperator\x12!\n\x07operand\x18\x02 \x01(\x0b\x32\x10.rappel.ast.Expr\".\n\x08ListExpr\x12\"\n\x08\x65lements\x18\x01 \x03(\x0b\x32\x10.rappel.ast.Expr\"2\n\x08\x44ictExpr\x12&\n\x07\x65ntries\x18\x01 \x03(\x0b\x32\x15.rappel.ast.DictEntry\"K\n\tDictEntry\x12\x1d\n\x03key\x18\x01 \x01(\x0b\x32\x10.rappel.ast.Expr\x12\x1f\n\x05value\x18\x02 \x01(\x0b\x32\x10.rappel.ast.Expr\"P\n\x0bIndexAccess\x12 \n\x06object\x18\x01 \x01(\x0b\x32\x10.rappel.ast.Expr\x12\x1f\n\x05index\x18\x02 \x01(\x0b\x32\x10.rappel.ast.Expr\"@\n\tDotAccess\x12 \n\x06object\x18\x01 \x01(\x0b\x32\x10.rappel.ast.Expr\x12\x11\n\tattribute\x18\x02 \x01(\t\"_\n\x0c\x46unctionCall\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x1e\n\x04\x61rgs\x18\x02 \x03(\x0b\x32\x10.rappel.ast.Expr\x12!\n\x06kwargs\x18\x03 \x03(\x0b\x32\x11.rappel.ast.Kwarg\"6\n\x05Kwarg\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x1f\n\x05value\x18\x02 \x01(\x0b\x32\x10.rappel.ast.Expr\"/\n\x0cParallelExpr\x12\x1f\n\x05\x63\x61lls\x18\x01 \x03(\x0b\x32\x10.rappel.ast.Call\"l\n\nSpreadExpr\x12$\n\ncollection\x18\x01 \x01(\x0b\x32\x10.rappel.ast.Expr\x12\x10\n\x08loop_var\x18\x02 \x01(\t\x12&\n\x06\x61\x63tion\x18\x03 \x01(\x0b\x32\x16.rappel.ast.ActionCall\"o\n\rPolicyBracket\x12(\n\x05retry\x18\x01 \x01(\x0b\x32\x17.rappel.ast.RetryPolicyH\x00\x12,\n\x07timeout\x18\x02 \x01(\x0b\x32\x19.rappel.ast.TimeoutPolicyH\x00\x42\x06\n\x04kind\"b\n\x0bRetryPolicy\x12\x17\n\x0f\x65xception_types\x18\x01 \x03(\t\x12\x13\n\x0bmax_retries\x18\x02 \x01(\r\x12%\n\x07\x62\x61\x63koff\x18\x03 \x01(\x0b\x32\x14.rappel.ast.Duration\"6\n\rTimeoutPolicy\x12%\n\x07timeout\x18\x01 \x01(\x0b\x32\x14.rappel.ast.Duration\"\x1b\n\x08\x44uration\x12\x0f\n\x07seconds\x18\x01 \x01(\x04\"P\n\x04Span\x12\x12\n\nstart_line\x18\x01 \x01(\r\x12\x11\n\tstart_col\x18\x02 \x01(\r\x12\x10\n\x08\x65nd_line\x18\x03 \x01(\r\x12\x0f\n\x07\x65nd_col\x18\x04 \x01(\r*\xdc\x02\n\x0e\x42inaryOperator\x12\x19\n\x15\x42INARY_OP_UNSPECIFIED\x10\x00\x12\x11\n\rBINARY_OP_ADD\x10\x01\x12\x11\n\rBINARY_OP_SUB\x10\x02\x12\x11\n\rBINARY_OP_MUL\x10\x03\x12\x11\n\rBINARY_OP_DIV\x10\x04\x12\x17\n\x13\x42INARY_OP_FLOOR_DIV\x10\x05\x12\x11\n\rBINARY_OP_MOD\x10\x06\x12\x10\n\x0c\x42INARY_OP_EQ\x10\n\x12\x10\n\x0c\x42INARY_OP_NE\x10\x0b\x12\x10\n\x0c\x42INARY_OP_LT\x10\x0c\x12\x10\n\x0c\x42INARY_OP_LE\x10\r\x12\x10\n\x0c\x42INARY_OP_GT\x10\x0e\x12\x10\n\x0c\x42INARY_OP_GE\x10\x0f\x12\x10\n\x0c\x42INARY_OP_IN\x10\x10\x12\x14\n\x10\x42INARY_OP_NOT_IN\x10\x11\x12\x11\n\rBINARY_OP_AND\x10\x14\x12\x10\n\x0c\x42INARY_OP_OR\x10\x15*M\n\rUnaryOperator\x12\x18\n\x14UNARY_OP_UNSPECIFIED\x10\x00\x12\x10\n\x0cUNARY_OP_NEG\x10\x01\x12\x10\n\x0cUNARY_OP_NOT\x10\x02\x62\x06proto3')
29
+
30
+ _globals = globals()
31
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
32
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ast_pb2', _globals)
33
+ if not _descriptor._USE_C_DESCRIPTORS:
34
+ DESCRIPTOR._loaded_options = None
35
+ _globals['_BINARYOPERATOR']._serialized_start=4187
36
+ _globals['_BINARYOPERATOR']._serialized_end=4535
37
+ _globals['_UNARYOPERATOR']._serialized_start=4537
38
+ _globals['_UNARYOPERATOR']._serialized_end=4614
39
+ _globals['_PROGRAM']._serialized_start=25
40
+ _globals['_PROGRAM']._serialized_end=78
41
+ _globals['_FUNCTIONDEF']._serialized_start=80
42
+ _globals['_FUNCTIONDEF']._serialized_end=204
43
+ _globals['_IODECL']._serialized_start=206
44
+ _globals['_IODECL']._serialized_end=279
45
+ _globals['_BLOCK']._serialized_start=281
46
+ _globals['_BLOCK']._serialized_end=363
47
+ _globals['_STATEMENT']._serialized_start=366
48
+ _globals['_STATEMENT']._serialized_end=838
49
+ _globals['_ASSIGNMENT']._serialized_start=840
50
+ _globals['_ASSIGNMENT']._serialized_end=902
51
+ _globals['_ACTIONCALL']._serialized_start=905
52
+ _globals['_ACTIONCALL']._serialized_end=1060
53
+ _globals['_SPREADACTION']._serialized_start=1062
54
+ _globals['_SPREADACTION']._serialized_end=1172
55
+ _globals['_PARALLELBLOCK']._serialized_start=1174
56
+ _globals['_PARALLELBLOCK']._serialized_end=1222
57
+ _globals['_CALL']._serialized_start=1224
58
+ _globals['_CALL']._serialized_end=1326
59
+ _globals['_FORLOOP']._serialized_start=1328
60
+ _globals['_FORLOOP']._serialized_end=1431
61
+ _globals['_CONDITIONAL']._serialized_start=1434
62
+ _globals['_CONDITIONAL']._serialized_end=1601
63
+ _globals['_IFBRANCH']._serialized_start=1603
64
+ _globals['_IFBRANCH']._serialized_end=1721
65
+ _globals['_ELIFBRANCH']._serialized_start=1723
66
+ _globals['_ELIFBRANCH']._serialized_end=1843
67
+ _globals['_ELSEBRANCH']._serialized_start=1845
68
+ _globals['_ELSEBRANCH']._serialized_end=1928
69
+ _globals['_TRYEXCEPT']._serialized_start=1930
70
+ _globals['_TRYEXCEPT']._serialized_end=2024
71
+ _globals['_EXCEPTHANDLER']._serialized_start=2026
72
+ _globals['_EXCEPTHANDLER']._serialized_end=2137
73
+ _globals['_RETURNSTMT']._serialized_start=2139
74
+ _globals['_RETURNSTMT']._serialized_end=2199
75
+ _globals['_EXPRSTMT']._serialized_start=2201
76
+ _globals['_EXPRSTMT']._serialized_end=2243
77
+ _globals['_EXPR']._serialized_start=2246
78
+ _globals['_EXPR']._serialized_end=2810
79
+ _globals['_LITERAL']._serialized_start=2812
80
+ _globals['_LITERAL']._serialized_end=2939
81
+ _globals['_VARIABLE']._serialized_start=2941
82
+ _globals['_VARIABLE']._serialized_end=2965
83
+ _globals['_BINARYOP']._serialized_start=2967
84
+ _globals['_BINARYOP']._serialized_end=3082
85
+ _globals['_UNARYOP']._serialized_start=3084
86
+ _globals['_UNARYOP']._serialized_end=3167
87
+ _globals['_LISTEXPR']._serialized_start=3169
88
+ _globals['_LISTEXPR']._serialized_end=3215
89
+ _globals['_DICTEXPR']._serialized_start=3217
90
+ _globals['_DICTEXPR']._serialized_end=3267
91
+ _globals['_DICTENTRY']._serialized_start=3269
92
+ _globals['_DICTENTRY']._serialized_end=3344
93
+ _globals['_INDEXACCESS']._serialized_start=3346
94
+ _globals['_INDEXACCESS']._serialized_end=3426
95
+ _globals['_DOTACCESS']._serialized_start=3428
96
+ _globals['_DOTACCESS']._serialized_end=3492
97
+ _globals['_FUNCTIONCALL']._serialized_start=3494
98
+ _globals['_FUNCTIONCALL']._serialized_end=3589
99
+ _globals['_KWARG']._serialized_start=3591
100
+ _globals['_KWARG']._serialized_end=3645
101
+ _globals['_PARALLELEXPR']._serialized_start=3647
102
+ _globals['_PARALLELEXPR']._serialized_end=3694
103
+ _globals['_SPREADEXPR']._serialized_start=3696
104
+ _globals['_SPREADEXPR']._serialized_end=3804
105
+ _globals['_POLICYBRACKET']._serialized_start=3806
106
+ _globals['_POLICYBRACKET']._serialized_end=3917
107
+ _globals['_RETRYPOLICY']._serialized_start=3919
108
+ _globals['_RETRYPOLICY']._serialized_end=4017
109
+ _globals['_TIMEOUTPOLICY']._serialized_start=4019
110
+ _globals['_TIMEOUTPOLICY']._serialized_end=4073
111
+ _globals['_DURATION']._serialized_start=4075
112
+ _globals['_DURATION']._serialized_end=4102
113
+ _globals['_SPAN']._serialized_start=4104
114
+ _globals['_SPAN']._serialized_end=4184
115
+ # @@protoc_insertion_point(module_scope)