rappel 0.7.2__py3-none-macosx_15_0_arm64.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,121 @@
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\"\xb8\x04\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+\n\nbreak_stmt\x18\x0b \x01(\x0b\x32\x15.rappel.ast.BreakStmtH\x00\x12\x31\n\rcontinue_stmt\x18\x0c \x01(\x0b\x32\x18.rappel.ast.ContinueStmtH\x00\x12\x1e\n\x04span\x18\n \x01(\x0b\x32\x10.rappel.ast.SpanB\x06\n\x04kind\"\x0b\n\tBreakStmt\"\x0e\n\x0c\x43ontinueStmt\">\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\"\x9d\x01\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\x12\x1a\n\rexception_var\x18\x04 \x01(\tH\x00\x88\x01\x01\x42\x10\n\x0e_exception_var\"<\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\"\x94\x01\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\x12\x33\n\x0fglobal_function\x18\x04 \x01(\x0e\x32\x1a.rappel.ast.GlobalFunction\"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*\x84\x01\n\x0eGlobalFunction\x12\x1f\n\x1bGLOBAL_FUNCTION_UNSPECIFIED\x10\x00\x12\x19\n\x15GLOBAL_FUNCTION_RANGE\x10\x01\x12\x17\n\x13GLOBAL_FUNCTION_LEN\x10\x02\x12\x1d\n\x19GLOBAL_FUNCTION_ENUMERATE\x10\x03\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=4413
36
+ _globals['_BINARYOPERATOR']._serialized_end=4761
37
+ _globals['_UNARYOPERATOR']._serialized_start=4763
38
+ _globals['_UNARYOPERATOR']._serialized_end=4840
39
+ _globals['_GLOBALFUNCTION']._serialized_start=4843
40
+ _globals['_GLOBALFUNCTION']._serialized_end=4975
41
+ _globals['_PROGRAM']._serialized_start=25
42
+ _globals['_PROGRAM']._serialized_end=78
43
+ _globals['_FUNCTIONDEF']._serialized_start=80
44
+ _globals['_FUNCTIONDEF']._serialized_end=204
45
+ _globals['_IODECL']._serialized_start=206
46
+ _globals['_IODECL']._serialized_end=279
47
+ _globals['_BLOCK']._serialized_start=281
48
+ _globals['_BLOCK']._serialized_end=363
49
+ _globals['_STATEMENT']._serialized_start=366
50
+ _globals['_STATEMENT']._serialized_end=934
51
+ _globals['_BREAKSTMT']._serialized_start=936
52
+ _globals['_BREAKSTMT']._serialized_end=947
53
+ _globals['_CONTINUESTMT']._serialized_start=949
54
+ _globals['_CONTINUESTMT']._serialized_end=963
55
+ _globals['_ASSIGNMENT']._serialized_start=965
56
+ _globals['_ASSIGNMENT']._serialized_end=1027
57
+ _globals['_ACTIONCALL']._serialized_start=1030
58
+ _globals['_ACTIONCALL']._serialized_end=1185
59
+ _globals['_SPREADACTION']._serialized_start=1187
60
+ _globals['_SPREADACTION']._serialized_end=1297
61
+ _globals['_PARALLELBLOCK']._serialized_start=1299
62
+ _globals['_PARALLELBLOCK']._serialized_end=1347
63
+ _globals['_CALL']._serialized_start=1349
64
+ _globals['_CALL']._serialized_end=1451
65
+ _globals['_FORLOOP']._serialized_start=1453
66
+ _globals['_FORLOOP']._serialized_end=1556
67
+ _globals['_CONDITIONAL']._serialized_start=1559
68
+ _globals['_CONDITIONAL']._serialized_end=1726
69
+ _globals['_IFBRANCH']._serialized_start=1728
70
+ _globals['_IFBRANCH']._serialized_end=1846
71
+ _globals['_ELIFBRANCH']._serialized_start=1848
72
+ _globals['_ELIFBRANCH']._serialized_end=1968
73
+ _globals['_ELSEBRANCH']._serialized_start=1970
74
+ _globals['_ELSEBRANCH']._serialized_end=2053
75
+ _globals['_TRYEXCEPT']._serialized_start=2055
76
+ _globals['_TRYEXCEPT']._serialized_end=2149
77
+ _globals['_EXCEPTHANDLER']._serialized_start=2152
78
+ _globals['_EXCEPTHANDLER']._serialized_end=2309
79
+ _globals['_RETURNSTMT']._serialized_start=2311
80
+ _globals['_RETURNSTMT']._serialized_end=2371
81
+ _globals['_EXPRSTMT']._serialized_start=2373
82
+ _globals['_EXPRSTMT']._serialized_end=2415
83
+ _globals['_EXPR']._serialized_start=2418
84
+ _globals['_EXPR']._serialized_end=2982
85
+ _globals['_LITERAL']._serialized_start=2984
86
+ _globals['_LITERAL']._serialized_end=3111
87
+ _globals['_VARIABLE']._serialized_start=3113
88
+ _globals['_VARIABLE']._serialized_end=3137
89
+ _globals['_BINARYOP']._serialized_start=3139
90
+ _globals['_BINARYOP']._serialized_end=3254
91
+ _globals['_UNARYOP']._serialized_start=3256
92
+ _globals['_UNARYOP']._serialized_end=3339
93
+ _globals['_LISTEXPR']._serialized_start=3341
94
+ _globals['_LISTEXPR']._serialized_end=3387
95
+ _globals['_DICTEXPR']._serialized_start=3389
96
+ _globals['_DICTEXPR']._serialized_end=3439
97
+ _globals['_DICTENTRY']._serialized_start=3441
98
+ _globals['_DICTENTRY']._serialized_end=3516
99
+ _globals['_INDEXACCESS']._serialized_start=3518
100
+ _globals['_INDEXACCESS']._serialized_end=3598
101
+ _globals['_DOTACCESS']._serialized_start=3600
102
+ _globals['_DOTACCESS']._serialized_end=3664
103
+ _globals['_FUNCTIONCALL']._serialized_start=3667
104
+ _globals['_FUNCTIONCALL']._serialized_end=3815
105
+ _globals['_KWARG']._serialized_start=3817
106
+ _globals['_KWARG']._serialized_end=3871
107
+ _globals['_PARALLELEXPR']._serialized_start=3873
108
+ _globals['_PARALLELEXPR']._serialized_end=3920
109
+ _globals['_SPREADEXPR']._serialized_start=3922
110
+ _globals['_SPREADEXPR']._serialized_end=4030
111
+ _globals['_POLICYBRACKET']._serialized_start=4032
112
+ _globals['_POLICYBRACKET']._serialized_end=4143
113
+ _globals['_RETRYPOLICY']._serialized_start=4145
114
+ _globals['_RETRYPOLICY']._serialized_end=4243
115
+ _globals['_TIMEOUTPOLICY']._serialized_start=4245
116
+ _globals['_TIMEOUTPOLICY']._serialized_end=4299
117
+ _globals['_DURATION']._serialized_start=4301
118
+ _globals['_DURATION']._serialized_end=4328
119
+ _globals['_SPAN']._serialized_start=4330
120
+ _globals['_SPAN']._serialized_end=4410
121
+ # @@protoc_insertion_point(module_scope)