rappel 0.4.1__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.

Potentially problematic release.


This version of rappel might be problematic. Click here for more details.

proto/ast_pb2.py ADDED
@@ -0,0 +1,117 @@
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\"\x9a\x01\n\x0eSingleCallBody\x12\x0f\n\x07targets\x18\x01 \x03(\t\x12#\n\x04\x63\x61ll\x18\x02 \x01(\x0b\x32\x10.rappel.ast.CallH\x00\x88\x01\x01\x12)\n\nstatements\x18\x03 \x03(\x0b\x32\x15.rappel.ast.Statement\x12\x1e\n\x04span\x18\x04 \x01(\x0b\x32\x10.rappel.ast.SpanB\x07\n\x05_call\"\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\"j\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\x04\x62ody\x18\x03 \x01(\x0b\x32\x1a.rappel.ast.SingleCallBody\"\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\"y\n\x08IfBranch\x12#\n\tcondition\x18\x01 \x01(\x0b\x32\x10.rappel.ast.Expr\x12(\n\x04\x62ody\x18\x02 \x01(\x0b\x32\x1a.rappel.ast.SingleCallBody\x12\x1e\n\x04span\x18\x03 \x01(\x0b\x32\x10.rappel.ast.Span\"{\n\nElifBranch\x12#\n\tcondition\x18\x01 \x01(\x0b\x32\x10.rappel.ast.Expr\x12(\n\x04\x62ody\x18\x02 \x01(\x0b\x32\x1a.rappel.ast.SingleCallBody\x12\x1e\n\x04span\x18\x03 \x01(\x0b\x32\x10.rappel.ast.Span\"V\n\nElseBranch\x12(\n\x04\x62ody\x18\x01 \x01(\x0b\x32\x1a.rappel.ast.SingleCallBody\x12\x1e\n\x04span\x18\x02 \x01(\x0b\x32\x10.rappel.ast.Span\"f\n\tTryExcept\x12,\n\x08try_body\x18\x01 \x01(\x0b\x32\x1a.rappel.ast.SingleCallBody\x12+\n\x08handlers\x18\x02 \x03(\x0b\x32\x19.rappel.ast.ExceptHandler\"r\n\rExceptHandler\x12\x17\n\x0f\x65xception_types\x18\x01 \x03(\t\x12(\n\x04\x62ody\x18\x02 \x01(\x0b\x32\x1a.rappel.ast.SingleCallBody\x12\x1e\n\x04span\x18\x03 \x01(\x0b\x32\x10.rappel.ast.Span\"<\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=4367
36
+ _globals['_BINARYOPERATOR']._serialized_end=4715
37
+ _globals['_UNARYOPERATOR']._serialized_start=4717
38
+ _globals['_UNARYOPERATOR']._serialized_end=4794
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['_SINGLECALLBODY']._serialized_start=366
48
+ _globals['_SINGLECALLBODY']._serialized_end=520
49
+ _globals['_STATEMENT']._serialized_start=523
50
+ _globals['_STATEMENT']._serialized_end=995
51
+ _globals['_ASSIGNMENT']._serialized_start=997
52
+ _globals['_ASSIGNMENT']._serialized_end=1059
53
+ _globals['_ACTIONCALL']._serialized_start=1062
54
+ _globals['_ACTIONCALL']._serialized_end=1217
55
+ _globals['_SPREADACTION']._serialized_start=1219
56
+ _globals['_SPREADACTION']._serialized_end=1329
57
+ _globals['_PARALLELBLOCK']._serialized_start=1331
58
+ _globals['_PARALLELBLOCK']._serialized_end=1379
59
+ _globals['_CALL']._serialized_start=1381
60
+ _globals['_CALL']._serialized_end=1483
61
+ _globals['_FORLOOP']._serialized_start=1485
62
+ _globals['_FORLOOP']._serialized_end=1591
63
+ _globals['_CONDITIONAL']._serialized_start=1594
64
+ _globals['_CONDITIONAL']._serialized_end=1761
65
+ _globals['_IFBRANCH']._serialized_start=1763
66
+ _globals['_IFBRANCH']._serialized_end=1884
67
+ _globals['_ELIFBRANCH']._serialized_start=1886
68
+ _globals['_ELIFBRANCH']._serialized_end=2009
69
+ _globals['_ELSEBRANCH']._serialized_start=2011
70
+ _globals['_ELSEBRANCH']._serialized_end=2097
71
+ _globals['_TRYEXCEPT']._serialized_start=2099
72
+ _globals['_TRYEXCEPT']._serialized_end=2201
73
+ _globals['_EXCEPTHANDLER']._serialized_start=2203
74
+ _globals['_EXCEPTHANDLER']._serialized_end=2317
75
+ _globals['_RETURNSTMT']._serialized_start=2319
76
+ _globals['_RETURNSTMT']._serialized_end=2379
77
+ _globals['_EXPRSTMT']._serialized_start=2381
78
+ _globals['_EXPRSTMT']._serialized_end=2423
79
+ _globals['_EXPR']._serialized_start=2426
80
+ _globals['_EXPR']._serialized_end=2990
81
+ _globals['_LITERAL']._serialized_start=2992
82
+ _globals['_LITERAL']._serialized_end=3119
83
+ _globals['_VARIABLE']._serialized_start=3121
84
+ _globals['_VARIABLE']._serialized_end=3145
85
+ _globals['_BINARYOP']._serialized_start=3147
86
+ _globals['_BINARYOP']._serialized_end=3262
87
+ _globals['_UNARYOP']._serialized_start=3264
88
+ _globals['_UNARYOP']._serialized_end=3347
89
+ _globals['_LISTEXPR']._serialized_start=3349
90
+ _globals['_LISTEXPR']._serialized_end=3395
91
+ _globals['_DICTEXPR']._serialized_start=3397
92
+ _globals['_DICTEXPR']._serialized_end=3447
93
+ _globals['_DICTENTRY']._serialized_start=3449
94
+ _globals['_DICTENTRY']._serialized_end=3524
95
+ _globals['_INDEXACCESS']._serialized_start=3526
96
+ _globals['_INDEXACCESS']._serialized_end=3606
97
+ _globals['_DOTACCESS']._serialized_start=3608
98
+ _globals['_DOTACCESS']._serialized_end=3672
99
+ _globals['_FUNCTIONCALL']._serialized_start=3674
100
+ _globals['_FUNCTIONCALL']._serialized_end=3769
101
+ _globals['_KWARG']._serialized_start=3771
102
+ _globals['_KWARG']._serialized_end=3825
103
+ _globals['_PARALLELEXPR']._serialized_start=3827
104
+ _globals['_PARALLELEXPR']._serialized_end=3874
105
+ _globals['_SPREADEXPR']._serialized_start=3876
106
+ _globals['_SPREADEXPR']._serialized_end=3984
107
+ _globals['_POLICYBRACKET']._serialized_start=3986
108
+ _globals['_POLICYBRACKET']._serialized_end=4097
109
+ _globals['_RETRYPOLICY']._serialized_start=4099
110
+ _globals['_RETRYPOLICY']._serialized_end=4197
111
+ _globals['_TIMEOUTPOLICY']._serialized_start=4199
112
+ _globals['_TIMEOUTPOLICY']._serialized_end=4253
113
+ _globals['_DURATION']._serialized_start=4255
114
+ _globals['_DURATION']._serialized_end=4282
115
+ _globals['_SPAN']._serialized_start=4284
116
+ _globals['_SPAN']._serialized_end=4364
117
+ # @@protoc_insertion_point(module_scope)