@algorandfoundation/puya-ts 1.0.0-alpha.4

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.
Files changed (241) hide show
  1. package/README.md +11 -0
  2. package/awst/index.d.ts +4 -0
  3. package/awst/intrinsic-factory.d.ts +35 -0
  4. package/awst/json-serialize-awst.d.ts +17 -0
  5. package/awst/models.d.ts +85 -0
  6. package/awst/node-factory.d.ts +90 -0
  7. package/awst/nodes.d.ts +841 -0
  8. package/awst/source-location.d.ts +21 -0
  9. package/awst/to-code-visitor.d.ts +87 -0
  10. package/awst/txn-fields.d.ts +84 -0
  11. package/awst/util.d.ts +2 -0
  12. package/awst/wtypes.d.ts +131 -0
  13. package/awst_build/base-visitor.d.ts +87 -0
  14. package/awst_build/constructor-visitor.d.ts +18 -0
  15. package/awst_build/context/awst-build-context.d.ts +72 -0
  16. package/awst_build/context/evaluation-context.d.ts +11 -0
  17. package/awst_build/context/switch-loop-context.d.ts +31 -0
  18. package/awst_build/context/unique-name-resolver.d.ts +14 -0
  19. package/awst_build/contract-data.d.ts +24 -0
  20. package/awst_build/contract-method-visitor.d.ts +20 -0
  21. package/awst_build/contract-visitor.d.ts +33 -0
  22. package/awst_build/decorator-visitor.d.ts +34 -0
  23. package/awst_build/eb/arc4/arrays.d.ts +31 -0
  24. package/awst_build/eb/arc4/uint-n-constructor-builder.d.ts +14 -0
  25. package/awst_build/eb/arc4-bare-method-decorator-builder.d.ts +19 -0
  26. package/awst_build/eb/assert-function-builder.d.ts +10 -0
  27. package/awst_build/eb/assert-match-function-builder.d.ts +8 -0
  28. package/awst_build/eb/biguint-expression-builder.d.ts +21 -0
  29. package/awst_build/eb/boolean-expression-builder.d.ts +15 -0
  30. package/awst_build/eb/bytes-expression-builder.d.ts +44 -0
  31. package/awst_build/eb/contract-builder.d.ts +19 -0
  32. package/awst_build/eb/ensure-budget.d.ts +8 -0
  33. package/awst_build/eb/folding.d.ts +5 -0
  34. package/awst_build/eb/free-subroutine-expression-builder.d.ts +22 -0
  35. package/awst_build/eb/index.d.ts +90 -0
  36. package/awst_build/eb/intrinsic-enum-builder.d.ts +9 -0
  37. package/awst_build/eb/iterable-iterator-expression-builder.d.ts +10 -0
  38. package/awst_build/eb/literal/array-literal-expression-builder.d.ts +19 -0
  39. package/awst_build/eb/literal/big-int-literal-expression-builder.d.ts +19 -0
  40. package/awst_build/eb/literal/conditional-expression-builder.d.ts +22 -0
  41. package/awst_build/eb/literal/object-expression-builder.d.ts +13 -0
  42. package/awst_build/eb/literal/object-literal-expression-builder.d.ts +28 -0
  43. package/awst_build/eb/literal-expression-builder.d.ts +27 -0
  44. package/awst_build/eb/log-function-builder.d.ts +7 -0
  45. package/awst_build/eb/namespace-builder.d.ts +9 -0
  46. package/awst_build/eb/native-array-expression-builder.d.ts +8 -0
  47. package/awst_build/eb/omitted-expression-builder.d.ts +9 -0
  48. package/awst_build/eb/op-module-builder.d.ts +25 -0
  49. package/awst_build/eb/reference/account.d.ts +15 -0
  50. package/awst_build/eb/reference/application.d.ts +12 -0
  51. package/awst_build/eb/reference/asset.d.ts +13 -0
  52. package/awst_build/eb/reference/base.d.ts +37 -0
  53. package/awst_build/eb/storage/box.d.ts +50 -0
  54. package/awst_build/eb/storage/global-state.d.ts +29 -0
  55. package/awst_build/eb/storage/local-state.d.ts +32 -0
  56. package/awst_build/eb/storage/util.d.ts +5 -0
  57. package/awst_build/eb/storage/value-proxy.d.ts +22 -0
  58. package/awst_build/eb/string-expression-builder.d.ts +27 -0
  59. package/awst_build/eb/transactions/group-transactions.d.ts +15 -0
  60. package/awst_build/eb/transactions/inner-transaction-params.d.ts +19 -0
  61. package/awst_build/eb/transactions/inner-transactions.d.ts +10 -0
  62. package/awst_build/eb/transactions/txn-fields.d.ts +1317 -0
  63. package/awst_build/eb/transactions/util.d.ts +5 -0
  64. package/awst_build/eb/tuple-expression-builder.d.ts +12 -0
  65. package/awst_build/eb/uint64-enum-type-builder.d.ts +13 -0
  66. package/awst_build/eb/uint64-expression-builder.d.ts +21 -0
  67. package/awst_build/eb/urange-function.d.ts +7 -0
  68. package/awst_build/eb/util/arg-parsing.d.ts +106 -0
  69. package/awst_build/eb/util/compare-bytes.d.ts +5 -0
  70. package/awst_build/eb/util/compare-uint64.d.ts +5 -0
  71. package/awst_build/eb/util/index.d.ts +19 -0
  72. package/awst_build/eb/util/require-constant-value.d.ts +4 -0
  73. package/awst_build/eb/void-expression-builder.d.ts +7 -0
  74. package/awst_build/function-visitor.d.ts +45 -0
  75. package/awst_build/index.d.ts +5 -0
  76. package/awst_build/lib/index.d.ts +2 -0
  77. package/awst_build/op-metadata.d.ts +27 -0
  78. package/awst_build/ptypes/arc4-types.d.ts +56 -0
  79. package/awst_build/ptypes/base.d.ts +31 -0
  80. package/awst_build/ptypes/index.d.ts +455 -0
  81. package/awst_build/ptypes/intrinsic-enum-type.d.ts +14 -0
  82. package/awst_build/ptypes/op-ptypes.d.ts +6 -0
  83. package/awst_build/ptypes/register.d.ts +2 -0
  84. package/awst_build/source-file-visitor.d.ts +21 -0
  85. package/awst_build/subroutine-visitor.d.ts +10 -0
  86. package/awst_build/symbol-name.d.ts +10 -0
  87. package/awst_build/text-visitor.d.ts +20 -0
  88. package/awst_build/type-registry.d.ts +61 -0
  89. package/awst_build/type-resolver.d.ts +18 -0
  90. package/bin/run-cli.d.ts +2 -0
  91. package/bin/run-cli.mjs +20 -0
  92. package/bin/run-cli.mjs.map +1 -0
  93. package/cli.d.ts +1 -0
  94. package/cli.mjs +146 -0
  95. package/cli.mjs.map +1 -0
  96. package/compile-options.d.ts +17 -0
  97. package/constants.d.ts +20 -0
  98. package/errors.d.ts +46 -0
  99. package/index-D6W2FUFQ.js +16297 -0
  100. package/index-D6W2FUFQ.js.map +1 -0
  101. package/index.d.ts +19 -0
  102. package/index.mjs +15 -0
  103. package/index.mjs.map +1 -0
  104. package/logger.d.ts +39 -0
  105. package/node_modules/typescript/LICENSE.txt +55 -0
  106. package/node_modules/typescript/README.md +50 -0
  107. package/node_modules/typescript/SECURITY.md +41 -0
  108. package/node_modules/typescript/ThirdPartyNoticeText.txt +193 -0
  109. package/node_modules/typescript/bin/tsc +2 -0
  110. package/node_modules/typescript/bin/tsserver +2 -0
  111. package/node_modules/typescript/lib/cancellationToken.js +90 -0
  112. package/node_modules/typescript/lib/cs/diagnosticMessages.generated.json +2087 -0
  113. package/node_modules/typescript/lib/de/diagnosticMessages.generated.json +2087 -0
  114. package/node_modules/typescript/lib/es/diagnosticMessages.generated.json +2087 -0
  115. package/node_modules/typescript/lib/fr/diagnosticMessages.generated.json +2087 -0
  116. package/node_modules/typescript/lib/it/diagnosticMessages.generated.json +2087 -0
  117. package/node_modules/typescript/lib/ja/diagnosticMessages.generated.json +2087 -0
  118. package/node_modules/typescript/lib/ko/diagnosticMessages.generated.json +2087 -0
  119. package/node_modules/typescript/lib/lib.d.ts +22 -0
  120. package/node_modules/typescript/lib/lib.decorators.d.ts +386 -0
  121. package/node_modules/typescript/lib/lib.decorators.legacy.d.ts +22 -0
  122. package/node_modules/typescript/lib/lib.dom.asynciterable.d.ts +41 -0
  123. package/node_modules/typescript/lib/lib.dom.d.ts +28087 -0
  124. package/node_modules/typescript/lib/lib.dom.iterable.d.ts +491 -0
  125. package/node_modules/typescript/lib/lib.es2015.collection.d.ts +147 -0
  126. package/node_modules/typescript/lib/lib.es2015.core.d.ts +597 -0
  127. package/node_modules/typescript/lib/lib.es2015.d.ts +28 -0
  128. package/node_modules/typescript/lib/lib.es2015.generator.d.ts +77 -0
  129. package/node_modules/typescript/lib/lib.es2015.iterable.d.ts +527 -0
  130. package/node_modules/typescript/lib/lib.es2015.promise.d.ts +81 -0
  131. package/node_modules/typescript/lib/lib.es2015.proxy.d.ts +128 -0
  132. package/node_modules/typescript/lib/lib.es2015.reflect.d.ts +144 -0
  133. package/node_modules/typescript/lib/lib.es2015.symbol.d.ts +46 -0
  134. package/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts +326 -0
  135. package/node_modules/typescript/lib/lib.es2016.array.include.d.ts +116 -0
  136. package/node_modules/typescript/lib/lib.es2016.d.ts +21 -0
  137. package/node_modules/typescript/lib/lib.es2016.full.d.ts +23 -0
  138. package/node_modules/typescript/lib/lib.es2016.intl.d.ts +31 -0
  139. package/node_modules/typescript/lib/lib.es2017.d.ts +25 -0
  140. package/node_modules/typescript/lib/lib.es2017.date.d.ts +31 -0
  141. package/node_modules/typescript/lib/lib.es2017.full.d.ts +23 -0
  142. package/node_modules/typescript/lib/lib.es2017.intl.d.ts +44 -0
  143. package/node_modules/typescript/lib/lib.es2017.object.d.ts +49 -0
  144. package/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts +135 -0
  145. package/node_modules/typescript/lib/lib.es2017.string.d.ts +45 -0
  146. package/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts +53 -0
  147. package/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts +77 -0
  148. package/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts +53 -0
  149. package/node_modules/typescript/lib/lib.es2018.d.ts +24 -0
  150. package/node_modules/typescript/lib/lib.es2018.full.d.ts +24 -0
  151. package/node_modules/typescript/lib/lib.es2018.intl.d.ts +83 -0
  152. package/node_modules/typescript/lib/lib.es2018.promise.d.ts +30 -0
  153. package/node_modules/typescript/lib/lib.es2018.regexp.d.ts +37 -0
  154. package/node_modules/typescript/lib/lib.es2019.array.d.ts +79 -0
  155. package/node_modules/typescript/lib/lib.es2019.d.ts +24 -0
  156. package/node_modules/typescript/lib/lib.es2019.full.d.ts +24 -0
  157. package/node_modules/typescript/lib/lib.es2019.intl.d.ts +23 -0
  158. package/node_modules/typescript/lib/lib.es2019.object.d.ts +33 -0
  159. package/node_modules/typescript/lib/lib.es2019.string.d.ts +37 -0
  160. package/node_modules/typescript/lib/lib.es2019.symbol.d.ts +24 -0
  161. package/node_modules/typescript/lib/lib.es2020.bigint.d.ts +727 -0
  162. package/node_modules/typescript/lib/lib.es2020.d.ts +27 -0
  163. package/node_modules/typescript/lib/lib.es2020.date.d.ts +42 -0
  164. package/node_modules/typescript/lib/lib.es2020.full.d.ts +24 -0
  165. package/node_modules/typescript/lib/lib.es2020.intl.d.ts +474 -0
  166. package/node_modules/typescript/lib/lib.es2020.number.d.ts +28 -0
  167. package/node_modules/typescript/lib/lib.es2020.promise.d.ts +47 -0
  168. package/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts +97 -0
  169. package/node_modules/typescript/lib/lib.es2020.string.d.ts +42 -0
  170. package/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts +41 -0
  171. package/node_modules/typescript/lib/lib.es2021.d.ts +23 -0
  172. package/node_modules/typescript/lib/lib.es2021.full.d.ts +24 -0
  173. package/node_modules/typescript/lib/lib.es2021.intl.d.ts +166 -0
  174. package/node_modules/typescript/lib/lib.es2021.promise.d.ts +48 -0
  175. package/node_modules/typescript/lib/lib.es2021.string.d.ts +33 -0
  176. package/node_modules/typescript/lib/lib.es2021.weakref.d.ts +76 -0
  177. package/node_modules/typescript/lib/lib.es2022.array.d.ts +121 -0
  178. package/node_modules/typescript/lib/lib.es2022.d.ts +26 -0
  179. package/node_modules/typescript/lib/lib.es2022.error.d.ts +73 -0
  180. package/node_modules/typescript/lib/lib.es2022.full.d.ts +24 -0
  181. package/node_modules/typescript/lib/lib.es2022.intl.d.ts +121 -0
  182. package/node_modules/typescript/lib/lib.es2022.object.d.ts +26 -0
  183. package/node_modules/typescript/lib/lib.es2022.regexp.d.ts +39 -0
  184. package/node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts +39 -0
  185. package/node_modules/typescript/lib/lib.es2022.string.d.ts +25 -0
  186. package/node_modules/typescript/lib/lib.es2023.array.d.ts +924 -0
  187. package/node_modules/typescript/lib/lib.es2023.collection.d.ts +21 -0
  188. package/node_modules/typescript/lib/lib.es2023.d.ts +22 -0
  189. package/node_modules/typescript/lib/lib.es2023.full.d.ts +24 -0
  190. package/node_modules/typescript/lib/lib.es2023.intl.d.ts +56 -0
  191. package/node_modules/typescript/lib/lib.es5.d.ts +4585 -0
  192. package/node_modules/typescript/lib/lib.es6.d.ts +23 -0
  193. package/node_modules/typescript/lib/lib.esnext.array.d.ts +35 -0
  194. package/node_modules/typescript/lib/lib.esnext.collection.d.ts +106 -0
  195. package/node_modules/typescript/lib/lib.esnext.d.ts +29 -0
  196. package/node_modules/typescript/lib/lib.esnext.decorators.d.ts +28 -0
  197. package/node_modules/typescript/lib/lib.esnext.disposable.d.ts +193 -0
  198. package/node_modules/typescript/lib/lib.esnext.full.d.ts +24 -0
  199. package/node_modules/typescript/lib/lib.esnext.intl.d.ts +21 -0
  200. package/node_modules/typescript/lib/lib.esnext.iterator.d.ts +148 -0
  201. package/node_modules/typescript/lib/lib.esnext.object.d.ts +29 -0
  202. package/node_modules/typescript/lib/lib.esnext.promise.d.ts +35 -0
  203. package/node_modules/typescript/lib/lib.esnext.regexp.d.ts +25 -0
  204. package/node_modules/typescript/lib/lib.esnext.string.d.ts +29 -0
  205. package/node_modules/typescript/lib/lib.scripthost.d.ts +322 -0
  206. package/node_modules/typescript/lib/lib.webworker.asynciterable.d.ts +41 -0
  207. package/node_modules/typescript/lib/lib.webworker.d.ts +9410 -0
  208. package/node_modules/typescript/lib/lib.webworker.importscripts.d.ts +23 -0
  209. package/node_modules/typescript/lib/lib.webworker.iterable.d.ts +288 -0
  210. package/node_modules/typescript/lib/pl/diagnosticMessages.generated.json +2087 -0
  211. package/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json +2087 -0
  212. package/node_modules/typescript/lib/ru/diagnosticMessages.generated.json +2087 -0
  213. package/node_modules/typescript/lib/tr/diagnosticMessages.generated.json +2087 -0
  214. package/node_modules/typescript/lib/tsc.js +130771 -0
  215. package/node_modules/typescript/lib/tsserver.js +623 -0
  216. package/node_modules/typescript/lib/tsserverlibrary.d.ts +17 -0
  217. package/node_modules/typescript/lib/tsserverlibrary.js +21 -0
  218. package/node_modules/typescript/lib/typesMap.json +497 -0
  219. package/node_modules/typescript/lib/typescript.d.ts +11329 -0
  220. package/node_modules/typescript/lib/typescript.js +196077 -0
  221. package/node_modules/typescript/lib/typingsInstaller.js +236 -0
  222. package/node_modules/typescript/lib/watchGuard.js +53 -0
  223. package/node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json +2087 -0
  224. package/node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json +2087 -0
  225. package/node_modules/typescript/package.json +121 -0
  226. package/package.json +42 -0
  227. package/parser/index.d.ts +13 -0
  228. package/parser/json-serialize-source-files.d.ts +2 -0
  229. package/parser/resolve-module-name-literals.d.ts +2 -0
  230. package/puya/build-compilation-set-mapping.d.ts +10 -0
  231. package/puya/index.d.ts +13 -0
  232. package/puya/options.d.ts +29 -0
  233. package/puya/run-child-proc.d.ts +5 -0
  234. package/util/base-32.d.ts +2 -0
  235. package/util/base-85.d.ts +10 -0
  236. package/util/default-map.d.ts +1 -0
  237. package/util/generate-temp-file.d.ts +9 -0
  238. package/util/index.d.ts +43 -0
  239. package/visitor/syntax-names.d.ts +441 -0
  240. package/visitor/visitor.d.ts +26 -0
  241. package/write-artifact.d.ts +12 -0
@@ -0,0 +1,841 @@
1
+ import type { Props } from '../typescript-helpers';
2
+ import type { ARC4ABIMethodConfig, ARC4BareMethodConfig, ContractReference, LogicSigReference } from './models';
3
+ import type { SourceLocation } from './source-location';
4
+ import type { TxnField } from './txn-fields';
5
+ import type * as wtypes from './wtypes';
6
+ export declare class SubroutineID {
7
+ constructor(props: Props<SubroutineID>);
8
+ target: string;
9
+ }
10
+ export declare abstract class Node {
11
+ constructor(props: Props<Node>);
12
+ sourceLocation: SourceLocation;
13
+ }
14
+ export declare abstract class Statement extends Node {
15
+ constructor(props: Props<Statement>);
16
+ abstract accept<T>(visitor: StatementVisitor<T>): T;
17
+ }
18
+ export declare abstract class Expression extends Node {
19
+ constructor(props: Props<Expression>);
20
+ wtype: wtypes.WType;
21
+ abstract accept<T>(visitor: ExpressionVisitor<T>): T;
22
+ }
23
+ export declare class ExpressionStatement extends Statement {
24
+ constructor(props: Props<ExpressionStatement>);
25
+ expr: Expression;
26
+ sourceLocation: SourceLocation;
27
+ accept<T>(visitor: StatementVisitor<T>): T;
28
+ }
29
+ export declare class Block extends Statement {
30
+ constructor(props: Props<Block>);
31
+ body: Array<Statement>;
32
+ label: string | null;
33
+ comment: string | null;
34
+ accept<T>(visitor: StatementVisitor<T>): T;
35
+ }
36
+ export declare class Goto extends Statement {
37
+ constructor(props: Props<Goto>);
38
+ target: string;
39
+ accept<T>(visitor: StatementVisitor<T>): T;
40
+ }
41
+ export declare class IfElse extends Statement {
42
+ constructor(props: Props<IfElse>);
43
+ condition: Expression;
44
+ ifBranch: Block;
45
+ elseBranch: Block | null;
46
+ accept<T>(visitor: StatementVisitor<T>): T;
47
+ }
48
+ export declare class Switch extends Statement {
49
+ constructor(props: Props<Switch>);
50
+ value: Expression;
51
+ cases: Map<Expression, Block>;
52
+ defaultCase: Block | null;
53
+ accept<T>(visitor: StatementVisitor<T>): T;
54
+ }
55
+ export declare class WhileLoop extends Statement {
56
+ constructor(props: Props<WhileLoop>);
57
+ condition: Expression;
58
+ loopBody: Block;
59
+ accept<T>(visitor: StatementVisitor<T>): T;
60
+ }
61
+ export declare class LoopExit extends Statement {
62
+ constructor(props: Props<LoopExit>);
63
+ accept<T>(visitor: StatementVisitor<T>): T;
64
+ }
65
+ export declare class LoopContinue extends Statement {
66
+ constructor(props: Props<LoopContinue>);
67
+ accept<T>(visitor: StatementVisitor<T>): T;
68
+ }
69
+ export declare class ReturnStatement extends Statement {
70
+ constructor(props: Props<ReturnStatement>);
71
+ value: Expression | null;
72
+ accept<T>(visitor: StatementVisitor<T>): T;
73
+ }
74
+ export declare class IntegerConstant extends Expression {
75
+ constructor(props: Props<IntegerConstant>);
76
+ value: bigint;
77
+ tealAlias: string | null;
78
+ accept<T>(visitor: ExpressionVisitor<T>): T;
79
+ }
80
+ export declare class DecimalConstant extends Expression {
81
+ constructor(props: Props<DecimalConstant>);
82
+ wtype: wtypes.ARC4UFixedNxM;
83
+ value: number;
84
+ accept<T>(visitor: ExpressionVisitor<T>): T;
85
+ }
86
+ export declare class BoolConstant extends Expression {
87
+ constructor(props: Props<BoolConstant>);
88
+ value: boolean;
89
+ accept<T>(visitor: ExpressionVisitor<T>): T;
90
+ }
91
+ export declare enum BytesEncoding {
92
+ unknown = "unknown",
93
+ base16 = "base16",
94
+ base32 = "base32",
95
+ base64 = "base64",
96
+ utf8 = "utf8"
97
+ }
98
+ export declare class BytesConstant extends Expression {
99
+ constructor(props: Props<BytesConstant>);
100
+ value: Uint8Array;
101
+ encoding: BytesEncoding;
102
+ accept<T>(visitor: ExpressionVisitor<T>): T;
103
+ }
104
+ export declare class StringConstant extends Expression {
105
+ constructor(props: Props<StringConstant>);
106
+ value: string;
107
+ accept<T>(visitor: ExpressionVisitor<T>): T;
108
+ }
109
+ export declare class VoidConstant extends Expression {
110
+ constructor(props: Props<VoidConstant>);
111
+ accept<T>(visitor: ExpressionVisitor<T>): T;
112
+ }
113
+ export declare class TemplateVar extends Expression {
114
+ constructor(props: Props<TemplateVar>);
115
+ name: string;
116
+ accept<T>(visitor: ExpressionVisitor<T>): T;
117
+ }
118
+ export declare class MethodConstant extends Expression {
119
+ constructor(props: Props<MethodConstant>);
120
+ value: string;
121
+ accept<T>(visitor: ExpressionVisitor<T>): T;
122
+ }
123
+ export declare class AddressConstant extends Expression {
124
+ constructor(props: Props<AddressConstant>);
125
+ value: string;
126
+ accept<T>(visitor: ExpressionVisitor<T>): T;
127
+ }
128
+ export declare class ARC4Encode extends Expression {
129
+ constructor(props: Props<ARC4Encode>);
130
+ value: Expression;
131
+ wtype: wtypes.ARC4Type;
132
+ accept<T>(visitor: ExpressionVisitor<T>): T;
133
+ }
134
+ export declare class Copy extends Expression {
135
+ constructor(props: Props<Copy>);
136
+ value: Expression;
137
+ accept<T>(visitor: ExpressionVisitor<T>): T;
138
+ }
139
+ export declare class ArrayConcat extends Expression {
140
+ constructor(props: Props<ArrayConcat>);
141
+ left: Expression;
142
+ right: Expression;
143
+ accept<T>(visitor: ExpressionVisitor<T>): T;
144
+ }
145
+ export declare class ArrayPop extends Expression {
146
+ constructor(props: Props<ArrayPop>);
147
+ base: Expression;
148
+ accept<T>(visitor: ExpressionVisitor<T>): T;
149
+ }
150
+ export declare class ArrayExtend extends Expression {
151
+ constructor(props: Props<ArrayExtend>);
152
+ base: Expression;
153
+ other: Expression;
154
+ accept<T>(visitor: ExpressionVisitor<T>): T;
155
+ }
156
+ export declare class ARC4Decode extends Expression {
157
+ constructor(props: Props<ARC4Decode>);
158
+ value: Expression;
159
+ accept<T>(visitor: ExpressionVisitor<T>): T;
160
+ }
161
+ export declare class IntrinsicCall extends Expression {
162
+ constructor(props: Props<IntrinsicCall>);
163
+ opCode: string;
164
+ immediates: Array<string | bigint>;
165
+ stackArgs: Array<Expression>;
166
+ comment: string | null;
167
+ accept<T>(visitor: ExpressionVisitor<T>): T;
168
+ }
169
+ export declare class CreateInnerTransaction extends Expression {
170
+ constructor(props: Props<CreateInnerTransaction>);
171
+ wtype: wtypes.WInnerTransactionFields;
172
+ fields: Map<TxnField, Expression>;
173
+ accept<T>(visitor: ExpressionVisitor<T>): T;
174
+ }
175
+ export declare class UpdateInnerTransaction extends Expression {
176
+ constructor(props: Props<UpdateInnerTransaction>);
177
+ itxn: Expression;
178
+ fields: Map<TxnField, Expression>;
179
+ accept<T>(visitor: ExpressionVisitor<T>): T;
180
+ }
181
+ export declare class GroupTransactionReference extends Expression {
182
+ constructor(props: Props<GroupTransactionReference>);
183
+ index: Expression;
184
+ wtype: wtypes.WGroupTransaction;
185
+ accept<T>(visitor: ExpressionVisitor<T>): T;
186
+ }
187
+ export declare class CheckedMaybe extends Expression {
188
+ constructor(props: Props<CheckedMaybe>);
189
+ expr: Expression;
190
+ comment: string;
191
+ sourceLocation: SourceLocation;
192
+ accept<T>(visitor: ExpressionVisitor<T>): T;
193
+ }
194
+ export declare class TupleExpression extends Expression {
195
+ constructor(props: Props<TupleExpression>);
196
+ items: Array<Expression>;
197
+ wtype: wtypes.WTuple;
198
+ accept<T>(visitor: ExpressionVisitor<T>): T;
199
+ }
200
+ export declare class TupleItemExpression extends Expression {
201
+ constructor(props: Props<TupleItemExpression>);
202
+ base: Expression;
203
+ index: bigint;
204
+ accept<T>(visitor: ExpressionVisitor<T>): T;
205
+ }
206
+ export declare class VarExpression extends Expression {
207
+ constructor(props: Props<VarExpression>);
208
+ name: string;
209
+ accept<T>(visitor: ExpressionVisitor<T>): T;
210
+ }
211
+ export declare class InnerTransactionField extends Expression {
212
+ constructor(props: Props<InnerTransactionField>);
213
+ itxn: Expression;
214
+ field: TxnField;
215
+ arrayIndex: Expression | null;
216
+ accept<T>(visitor: ExpressionVisitor<T>): T;
217
+ }
218
+ export declare class SubmitInnerTransaction extends Expression {
219
+ constructor(props: Props<SubmitInnerTransaction>);
220
+ itxns: Array<Expression>;
221
+ accept<T>(visitor: ExpressionVisitor<T>): T;
222
+ }
223
+ export declare class FieldExpression extends Expression {
224
+ constructor(props: Props<FieldExpression>);
225
+ base: Expression;
226
+ name: string;
227
+ accept<T>(visitor: ExpressionVisitor<T>): T;
228
+ }
229
+ export declare class IndexExpression extends Expression {
230
+ constructor(props: Props<IndexExpression>);
231
+ base: Expression;
232
+ index: Expression;
233
+ accept<T>(visitor: ExpressionVisitor<T>): T;
234
+ }
235
+ export declare class SliceExpression extends Expression {
236
+ constructor(props: Props<SliceExpression>);
237
+ base: Expression;
238
+ beginIndex: Expression | null;
239
+ endIndex: Expression | null;
240
+ accept<T>(visitor: ExpressionVisitor<T>): T;
241
+ }
242
+ export declare class IntersectionSliceExpression extends Expression {
243
+ constructor(props: Props<IntersectionSliceExpression>);
244
+ base: Expression;
245
+ beginIndex: Expression | bigint | null;
246
+ endIndex: Expression | bigint | null;
247
+ accept<T>(visitor: ExpressionVisitor<T>): T;
248
+ }
249
+ export declare class AppStateExpression extends Expression {
250
+ constructor(props: Props<AppStateExpression>);
251
+ key: Expression;
252
+ existsAssertionMessage: string | null;
253
+ accept<T>(visitor: ExpressionVisitor<T>): T;
254
+ }
255
+ export declare class AppAccountStateExpression extends Expression {
256
+ constructor(props: Props<AppAccountStateExpression>);
257
+ key: Expression;
258
+ existsAssertionMessage: string | null;
259
+ account: Expression;
260
+ accept<T>(visitor: ExpressionVisitor<T>): T;
261
+ }
262
+ export declare class BoxValueExpression extends Expression {
263
+ constructor(props: Props<BoxValueExpression>);
264
+ key: Expression;
265
+ existsAssertionMessage: string | null;
266
+ accept<T>(visitor: ExpressionVisitor<T>): T;
267
+ }
268
+ export declare class SingleEvaluation extends Expression {
269
+ constructor(props: Props<SingleEvaluation>);
270
+ source: Expression;
271
+ id: bigint;
272
+ sourceLocation: SourceLocation;
273
+ accept<T>(visitor: ExpressionVisitor<T>): T;
274
+ }
275
+ export declare class ReinterpretCast extends Expression {
276
+ constructor(props: Props<ReinterpretCast>);
277
+ expr: Expression;
278
+ accept<T>(visitor: ExpressionVisitor<T>): T;
279
+ }
280
+ export declare class NewArray extends Expression {
281
+ constructor(props: Props<NewArray>);
282
+ wtype: wtypes.WArray | wtypes.ARC4Array;
283
+ values: Array<Expression>;
284
+ accept<T>(visitor: ExpressionVisitor<T>): T;
285
+ }
286
+ export declare class ConditionalExpression extends Expression {
287
+ constructor(props: Props<ConditionalExpression>);
288
+ condition: Expression;
289
+ trueExpr: Expression;
290
+ falseExpr: Expression;
291
+ accept<T>(visitor: ExpressionVisitor<T>): T;
292
+ }
293
+ export declare class AssignmentStatement extends Statement {
294
+ constructor(props: Props<AssignmentStatement>);
295
+ target: VarExpression | FieldExpression | IndexExpression | TupleExpression | AppStateExpression | AppAccountStateExpression | BoxValueExpression;
296
+ value: Expression;
297
+ accept<T>(visitor: StatementVisitor<T>): T;
298
+ }
299
+ export declare class AssignmentExpression extends Expression {
300
+ constructor(props: Props<AssignmentExpression>);
301
+ target: VarExpression | FieldExpression | IndexExpression | TupleExpression | AppStateExpression | AppAccountStateExpression | BoxValueExpression;
302
+ value: Expression;
303
+ accept<T>(visitor: ExpressionVisitor<T>): T;
304
+ }
305
+ export declare enum EqualityComparison {
306
+ eq = "==",
307
+ ne = "!="
308
+ }
309
+ export declare enum NumericComparison {
310
+ eq = "==",
311
+ ne = "!=",
312
+ lt = "<",
313
+ lte = "<=",
314
+ gt = ">",
315
+ gte = ">="
316
+ }
317
+ export declare class NumericComparisonExpression extends Expression {
318
+ constructor(props: Props<NumericComparisonExpression>);
319
+ lhs: Expression;
320
+ operator: NumericComparison;
321
+ rhs: Expression;
322
+ accept<T>(visitor: ExpressionVisitor<T>): T;
323
+ }
324
+ export declare class BytesComparisonExpression extends Expression {
325
+ constructor(props: Props<BytesComparisonExpression>);
326
+ lhs: Expression;
327
+ operator: EqualityComparison;
328
+ rhs: Expression;
329
+ accept<T>(visitor: ExpressionVisitor<T>): T;
330
+ }
331
+ export declare class InstanceMethodTarget {
332
+ constructor(props: Props<InstanceMethodTarget>);
333
+ memberName: string;
334
+ }
335
+ export declare class InstanceSuperMethodTarget {
336
+ constructor(props: Props<InstanceSuperMethodTarget>);
337
+ memberName: string;
338
+ }
339
+ export declare class ContractMethodTarget {
340
+ constructor(props: Props<ContractMethodTarget>);
341
+ cref: ContractReference;
342
+ memberName: string;
343
+ }
344
+ export declare class CallArg {
345
+ constructor(props: Props<CallArg>);
346
+ name: string | null;
347
+ value: Expression;
348
+ }
349
+ export declare class SubroutineCallExpression extends Expression {
350
+ constructor(props: Props<SubroutineCallExpression>);
351
+ target: SubroutineID | InstanceMethodTarget | InstanceSuperMethodTarget | ContractMethodTarget;
352
+ args: Array<CallArg>;
353
+ accept<T>(visitor: ExpressionVisitor<T>): T;
354
+ }
355
+ export declare class PuyaLibData {
356
+ constructor(props: Props<PuyaLibData>);
357
+ id: string;
358
+ params: Map<string, wtypes.WType>;
359
+ wtype: wtypes.WType;
360
+ }
361
+ export declare enum PuyaLibFunction {
362
+ ensureBudget = "ensure_budget",
363
+ isSubstring = "is_substring"
364
+ }
365
+ export declare class PuyaLibCall extends Expression {
366
+ constructor(props: Props<PuyaLibCall>);
367
+ func: PuyaLibFunction;
368
+ args: Array<CallArg>;
369
+ accept<T>(visitor: ExpressionVisitor<T>): T;
370
+ }
371
+ export declare enum UInt64BinaryOperator {
372
+ add = "+",
373
+ sub = "-",
374
+ mult = "*",
375
+ floorDiv = "//",
376
+ mod = "%",
377
+ pow = "**",
378
+ lshift = "<<",
379
+ rshift = ">>",
380
+ bitOr = "|",
381
+ bitXor = "^",
382
+ bitAnd = "&"
383
+ }
384
+ export declare enum BigUIntBinaryOperator {
385
+ add = "+",
386
+ sub = "-",
387
+ mult = "*",
388
+ floorDiv = "//",
389
+ mod = "%",
390
+ bitOr = "|",
391
+ bitXor = "^",
392
+ bitAnd = "&"
393
+ }
394
+ export declare enum BytesBinaryOperator {
395
+ add = "+",
396
+ bitOr = "|",
397
+ bitXor = "^",
398
+ bitAnd = "&"
399
+ }
400
+ export declare enum BytesUnaryOperator {
401
+ bitInvert = "~"
402
+ }
403
+ export declare enum UInt64UnaryOperator {
404
+ bitInvert = "~"
405
+ }
406
+ export declare enum UInt64PostfixUnaryOperator {
407
+ increment = "++",
408
+ decrement = "--"
409
+ }
410
+ export declare class UInt64UnaryOperation extends Expression {
411
+ constructor(props: Props<UInt64UnaryOperation>);
412
+ op: UInt64UnaryOperator;
413
+ expr: Expression;
414
+ accept<T>(visitor: ExpressionVisitor<T>): T;
415
+ }
416
+ export declare class UInt64PostfixUnaryOperation extends Expression {
417
+ constructor(props: Props<UInt64PostfixUnaryOperation>);
418
+ op: UInt64PostfixUnaryOperator;
419
+ target: VarExpression | FieldExpression | IndexExpression | TupleExpression | AppStateExpression | AppAccountStateExpression | BoxValueExpression;
420
+ accept<T>(visitor: ExpressionVisitor<T>): T;
421
+ }
422
+ export declare enum BigUIntPostfixUnaryOperator {
423
+ increment = "++",
424
+ decrement = "--"
425
+ }
426
+ export declare class BigUIntPostfixUnaryOperation extends Expression {
427
+ constructor(props: Props<BigUIntPostfixUnaryOperation>);
428
+ op: BigUIntPostfixUnaryOperator;
429
+ target: Expression;
430
+ accept<T>(visitor: ExpressionVisitor<T>): T;
431
+ }
432
+ export declare class BytesUnaryOperation extends Expression {
433
+ constructor(props: Props<BytesUnaryOperation>);
434
+ op: BytesUnaryOperator;
435
+ expr: Expression;
436
+ accept<T>(visitor: ExpressionVisitor<T>): T;
437
+ }
438
+ export declare class UInt64BinaryOperation extends Expression {
439
+ constructor(props: Props<UInt64BinaryOperation>);
440
+ left: Expression;
441
+ op: UInt64BinaryOperator;
442
+ right: Expression;
443
+ accept<T>(visitor: ExpressionVisitor<T>): T;
444
+ }
445
+ export declare class BigUIntBinaryOperation extends Expression {
446
+ constructor(props: Props<BigUIntBinaryOperation>);
447
+ left: Expression;
448
+ op: BigUIntBinaryOperator;
449
+ right: Expression;
450
+ accept<T>(visitor: ExpressionVisitor<T>): T;
451
+ }
452
+ export declare class BytesBinaryOperation extends Expression {
453
+ constructor(props: Props<BytesBinaryOperation>);
454
+ left: Expression;
455
+ op: BytesBinaryOperator;
456
+ right: Expression;
457
+ accept<T>(visitor: ExpressionVisitor<T>): T;
458
+ }
459
+ export declare enum BinaryBooleanOperator {
460
+ and = "and",
461
+ or = "or"
462
+ }
463
+ export declare class BooleanBinaryOperation extends Expression {
464
+ constructor(props: Props<BooleanBinaryOperation>);
465
+ left: Expression;
466
+ op: BinaryBooleanOperator;
467
+ right: Expression;
468
+ accept<T>(visitor: ExpressionVisitor<T>): T;
469
+ }
470
+ export declare class Not extends Expression {
471
+ constructor(props: Props<Not>);
472
+ expr: Expression;
473
+ accept<T>(visitor: ExpressionVisitor<T>): T;
474
+ }
475
+ export declare class UInt64AugmentedAssignment extends Statement {
476
+ constructor(props: Props<UInt64AugmentedAssignment>);
477
+ target: VarExpression | FieldExpression | IndexExpression | TupleExpression | AppStateExpression | AppAccountStateExpression | BoxValueExpression;
478
+ op: UInt64BinaryOperator;
479
+ value: Expression;
480
+ accept<T>(visitor: StatementVisitor<T>): T;
481
+ }
482
+ export declare class BigUIntAugmentedAssignment extends Statement {
483
+ constructor(props: Props<BigUIntAugmentedAssignment>);
484
+ target: VarExpression | FieldExpression | IndexExpression | TupleExpression | AppStateExpression | AppAccountStateExpression | BoxValueExpression;
485
+ op: BigUIntBinaryOperator;
486
+ value: Expression;
487
+ accept<T>(visitor: StatementVisitor<T>): T;
488
+ }
489
+ export declare class BytesAugmentedAssignment extends Statement {
490
+ constructor(props: Props<BytesAugmentedAssignment>);
491
+ target: VarExpression | FieldExpression | IndexExpression | TupleExpression | AppStateExpression | AppAccountStateExpression | BoxValueExpression;
492
+ op: BytesBinaryOperator;
493
+ value: Expression;
494
+ accept<T>(visitor: StatementVisitor<T>): T;
495
+ }
496
+ export declare class Range extends Expression {
497
+ constructor(props: Props<Range>);
498
+ start: Expression;
499
+ stop: Expression;
500
+ step: Expression;
501
+ accept<T>(visitor: ExpressionVisitor<T>): T;
502
+ }
503
+ export declare class Enumeration extends Expression {
504
+ constructor(props: Props<Enumeration>);
505
+ expr: Expression;
506
+ wtype: wtypes.WEnumeration;
507
+ accept<T>(visitor: ExpressionVisitor<T>): T;
508
+ }
509
+ export declare class Reversed extends Expression {
510
+ constructor(props: Props<Reversed>);
511
+ expr: Expression;
512
+ accept<T>(visitor: ExpressionVisitor<T>): T;
513
+ }
514
+ export declare class ForInLoop extends Statement {
515
+ constructor(props: Props<ForInLoop>);
516
+ sequence: Expression;
517
+ items: VarExpression | FieldExpression | IndexExpression | TupleExpression | AppStateExpression | AppAccountStateExpression | BoxValueExpression;
518
+ loopBody: Block;
519
+ accept<T>(visitor: StatementVisitor<T>): T;
520
+ }
521
+ export declare class StateGet extends Expression {
522
+ constructor(props: Props<StateGet>);
523
+ field: AppStateExpression | AppAccountStateExpression | BoxValueExpression;
524
+ default: Expression;
525
+ accept<T>(visitor: ExpressionVisitor<T>): T;
526
+ }
527
+ export declare class StateGetEx extends Expression {
528
+ constructor(props: Props<StateGetEx>);
529
+ field: AppStateExpression | AppAccountStateExpression | BoxValueExpression;
530
+ wtype: wtypes.WTuple;
531
+ accept<T>(visitor: ExpressionVisitor<T>): T;
532
+ }
533
+ export declare class StateExists extends Expression {
534
+ constructor(props: Props<StateExists>);
535
+ field: AppStateExpression | AppAccountStateExpression | BoxValueExpression;
536
+ accept<T>(visitor: ExpressionVisitor<T>): T;
537
+ }
538
+ export declare class StateDelete extends Expression {
539
+ constructor(props: Props<StateDelete>);
540
+ field: AppStateExpression | AppAccountStateExpression | BoxValueExpression;
541
+ accept<T>(visitor: ExpressionVisitor<T>): T;
542
+ }
543
+ export declare class NewStruct extends Expression {
544
+ constructor(props: Props<NewStruct>);
545
+ wtype: wtypes.WStructType | wtypes.ARC4Struct;
546
+ values: Map<string, Expression>;
547
+ accept<T>(visitor: ExpressionVisitor<T>): T;
548
+ }
549
+ export declare abstract class RootNode extends Node {
550
+ constructor(props: Props<RootNode>);
551
+ abstract accept<T>(visitor: RootNodeVisitor<T>): T;
552
+ }
553
+ export declare class SubroutineArgument {
554
+ constructor(props: Props<SubroutineArgument>);
555
+ name: string;
556
+ wtype: wtypes.WType;
557
+ sourceLocation: SourceLocation | null;
558
+ }
559
+ export declare class MethodDocumentation {
560
+ constructor(props: Props<MethodDocumentation>);
561
+ description: string | null;
562
+ args: Map<string, string>;
563
+ returns: string | null;
564
+ }
565
+ export declare abstract class _Function extends Node {
566
+ constructor(props: Props<_Function>);
567
+ args: Array<SubroutineArgument>;
568
+ returnType: wtypes.WType;
569
+ body: Block;
570
+ documentation: MethodDocumentation;
571
+ }
572
+ declare const Subroutine_base: import("polytype").Polytype.ClusteredConstructor<[typeof _Function, typeof RootNode]>;
573
+ export declare class Subroutine extends Subroutine_base {
574
+ constructor(props: Props<Subroutine>);
575
+ id: string;
576
+ name: string;
577
+ accept<T>(visitor: RootNodeVisitor<T>): T;
578
+ }
579
+ export declare abstract class ContractMemberNode extends Node {
580
+ constructor(props: Props<ContractMemberNode>);
581
+ abstract accept<T>(visitor: ContractMemberNodeVisitor<T>): T;
582
+ }
583
+ declare const ContractMethod_base: import("polytype").Polytype.ClusteredConstructor<[typeof _Function, typeof ContractMemberNode]>;
584
+ export declare class ContractMethod extends ContractMethod_base {
585
+ constructor(props: Props<ContractMethod>);
586
+ cref: ContractReference;
587
+ memberName: string;
588
+ arc4MethodConfig: ARC4BareMethodConfig | ARC4ABIMethodConfig | null;
589
+ synthetic: boolean;
590
+ inheritable: boolean;
591
+ accept<T>(visitor: ContractMemberNodeVisitor<T>): T;
592
+ }
593
+ export declare enum AppStorageKind {
594
+ appGlobal = 1,
595
+ accountLocal = 2,
596
+ box = 3
597
+ }
598
+ export declare class AppStorageDefinition extends ContractMemberNode {
599
+ constructor(props: Props<AppStorageDefinition>);
600
+ memberName: string;
601
+ kind: AppStorageKind;
602
+ storageWtype: wtypes.WType;
603
+ keyWtype: wtypes.WType | null;
604
+ key: BytesConstant;
605
+ description: string | null;
606
+ accept<T>(visitor: ContractMemberNodeVisitor<T>): T;
607
+ }
608
+ export declare class LogicSignature extends RootNode {
609
+ constructor(props: Props<LogicSignature>);
610
+ id: LogicSigReference;
611
+ shortName: string;
612
+ program: Subroutine;
613
+ docstring: string | null;
614
+ accept<T>(visitor: RootNodeVisitor<T>): T;
615
+ }
616
+ export declare class CompiledContract extends Expression {
617
+ constructor(props: Props<CompiledContract>);
618
+ contract: ContractReference;
619
+ allocationOverrides: Map<TxnField, Expression>;
620
+ prefix: string | null;
621
+ templateVariables: Map<string, Expression>;
622
+ accept<T>(visitor: ExpressionVisitor<T>): T;
623
+ }
624
+ export declare class CompiledLogicSig extends Expression {
625
+ constructor(props: Props<CompiledLogicSig>);
626
+ logicSig: LogicSigReference;
627
+ prefix: string | null;
628
+ templateVariables: Map<string, Expression>;
629
+ accept<T>(visitor: ExpressionVisitor<T>): T;
630
+ }
631
+ export declare class StateTotals {
632
+ constructor(props: Props<StateTotals>);
633
+ globalUints: bigint | null;
634
+ localUints: bigint | null;
635
+ globalBytes: bigint | null;
636
+ localBytes: bigint | null;
637
+ }
638
+ export declare class ARC4Router extends Expression {
639
+ constructor(props: Props<ARC4Router>);
640
+ accept<T>(visitor: ExpressionVisitor<T>): T;
641
+ }
642
+ export declare class ContractFragment extends RootNode {
643
+ constructor(props: Props<ContractFragment>);
644
+ id: ContractReference;
645
+ name: string;
646
+ bases: Array<ContractReference>;
647
+ init: ContractMethod | null;
648
+ approvalProgram: ContractMethod | null;
649
+ clearProgram: ContractMethod | null;
650
+ subroutines: Array<ContractMethod>;
651
+ appState: Map<string, AppStorageDefinition>;
652
+ reservedScratchSpace: Set<bigint>;
653
+ stateTotals: StateTotals | null;
654
+ docstring: string | null;
655
+ accept<T>(visitor: RootNodeVisitor<T>): T;
656
+ }
657
+ export type LValue = VarExpression | FieldExpression | IndexExpression | TupleExpression | AppStateExpression | AppAccountStateExpression;
658
+ export type Constant = IntegerConstant | BoolConstant | BytesConstant | StringConstant;
659
+ export type AWST = ContractFragment | LogicSignature | Subroutine;
660
+ export declare const concreteNodes: {
661
+ readonly subroutineID: typeof SubroutineID;
662
+ readonly expressionStatement: typeof ExpressionStatement;
663
+ readonly block: typeof Block;
664
+ readonly goto: typeof Goto;
665
+ readonly ifElse: typeof IfElse;
666
+ readonly switch: typeof Switch;
667
+ readonly whileLoop: typeof WhileLoop;
668
+ readonly loopExit: typeof LoopExit;
669
+ readonly loopContinue: typeof LoopContinue;
670
+ readonly returnStatement: typeof ReturnStatement;
671
+ readonly integerConstant: typeof IntegerConstant;
672
+ readonly decimalConstant: typeof DecimalConstant;
673
+ readonly boolConstant: typeof BoolConstant;
674
+ readonly bytesConstant: typeof BytesConstant;
675
+ readonly stringConstant: typeof StringConstant;
676
+ readonly voidConstant: typeof VoidConstant;
677
+ readonly templateVar: typeof TemplateVar;
678
+ readonly methodConstant: typeof MethodConstant;
679
+ readonly addressConstant: typeof AddressConstant;
680
+ readonly aRC4Encode: typeof ARC4Encode;
681
+ readonly copy: typeof Copy;
682
+ readonly arrayConcat: typeof ArrayConcat;
683
+ readonly arrayPop: typeof ArrayPop;
684
+ readonly arrayExtend: typeof ArrayExtend;
685
+ readonly aRC4Decode: typeof ARC4Decode;
686
+ readonly intrinsicCall: typeof IntrinsicCall;
687
+ readonly createInnerTransaction: typeof CreateInnerTransaction;
688
+ readonly updateInnerTransaction: typeof UpdateInnerTransaction;
689
+ readonly groupTransactionReference: typeof GroupTransactionReference;
690
+ readonly checkedMaybe: typeof CheckedMaybe;
691
+ readonly tupleExpression: typeof TupleExpression;
692
+ readonly tupleItemExpression: typeof TupleItemExpression;
693
+ readonly varExpression: typeof VarExpression;
694
+ readonly innerTransactionField: typeof InnerTransactionField;
695
+ readonly submitInnerTransaction: typeof SubmitInnerTransaction;
696
+ readonly fieldExpression: typeof FieldExpression;
697
+ readonly indexExpression: typeof IndexExpression;
698
+ readonly sliceExpression: typeof SliceExpression;
699
+ readonly intersectionSliceExpression: typeof IntersectionSliceExpression;
700
+ readonly appStateExpression: typeof AppStateExpression;
701
+ readonly appAccountStateExpression: typeof AppAccountStateExpression;
702
+ readonly boxValueExpression: typeof BoxValueExpression;
703
+ readonly singleEvaluation: typeof SingleEvaluation;
704
+ readonly reinterpretCast: typeof ReinterpretCast;
705
+ readonly newArray: typeof NewArray;
706
+ readonly conditionalExpression: typeof ConditionalExpression;
707
+ readonly assignmentStatement: typeof AssignmentStatement;
708
+ readonly assignmentExpression: typeof AssignmentExpression;
709
+ readonly numericComparisonExpression: typeof NumericComparisonExpression;
710
+ readonly bytesComparisonExpression: typeof BytesComparisonExpression;
711
+ readonly instanceMethodTarget: typeof InstanceMethodTarget;
712
+ readonly instanceSuperMethodTarget: typeof InstanceSuperMethodTarget;
713
+ readonly contractMethodTarget: typeof ContractMethodTarget;
714
+ readonly callArg: typeof CallArg;
715
+ readonly subroutineCallExpression: typeof SubroutineCallExpression;
716
+ readonly puyaLibData: typeof PuyaLibData;
717
+ readonly puyaLibCall: typeof PuyaLibCall;
718
+ readonly uInt64UnaryOperation: typeof UInt64UnaryOperation;
719
+ readonly uInt64PostfixUnaryOperation: typeof UInt64PostfixUnaryOperation;
720
+ readonly bigUIntPostfixUnaryOperation: typeof BigUIntPostfixUnaryOperation;
721
+ readonly bytesUnaryOperation: typeof BytesUnaryOperation;
722
+ readonly uInt64BinaryOperation: typeof UInt64BinaryOperation;
723
+ readonly bigUIntBinaryOperation: typeof BigUIntBinaryOperation;
724
+ readonly bytesBinaryOperation: typeof BytesBinaryOperation;
725
+ readonly booleanBinaryOperation: typeof BooleanBinaryOperation;
726
+ readonly not: typeof Not;
727
+ readonly uInt64AugmentedAssignment: typeof UInt64AugmentedAssignment;
728
+ readonly bigUIntAugmentedAssignment: typeof BigUIntAugmentedAssignment;
729
+ readonly bytesAugmentedAssignment: typeof BytesAugmentedAssignment;
730
+ readonly range: typeof Range;
731
+ readonly enumeration: typeof Enumeration;
732
+ readonly reversed: typeof Reversed;
733
+ readonly forInLoop: typeof ForInLoop;
734
+ readonly stateGet: typeof StateGet;
735
+ readonly stateGetEx: typeof StateGetEx;
736
+ readonly stateExists: typeof StateExists;
737
+ readonly stateDelete: typeof StateDelete;
738
+ readonly newStruct: typeof NewStruct;
739
+ readonly subroutineArgument: typeof SubroutineArgument;
740
+ readonly methodDocumentation: typeof MethodDocumentation;
741
+ readonly subroutine: typeof Subroutine;
742
+ readonly contractMethod: typeof ContractMethod;
743
+ readonly appStorageDefinition: typeof AppStorageDefinition;
744
+ readonly logicSignature: typeof LogicSignature;
745
+ readonly compiledContract: typeof CompiledContract;
746
+ readonly compiledLogicSig: typeof CompiledLogicSig;
747
+ readonly stateTotals: typeof StateTotals;
748
+ readonly aRC4Router: typeof ARC4Router;
749
+ readonly contractFragment: typeof ContractFragment;
750
+ readonly uInt64Constant: typeof IntegerConstant;
751
+ readonly bigUIntConstant: typeof IntegerConstant;
752
+ };
753
+ export interface ExpressionVisitor<T> {
754
+ visitIntegerConstant(expression: IntegerConstant): T;
755
+ visitDecimalConstant(expression: DecimalConstant): T;
756
+ visitBoolConstant(expression: BoolConstant): T;
757
+ visitBytesConstant(expression: BytesConstant): T;
758
+ visitStringConstant(expression: StringConstant): T;
759
+ visitVoidConstant(expression: VoidConstant): T;
760
+ visitTemplateVar(expression: TemplateVar): T;
761
+ visitMethodConstant(expression: MethodConstant): T;
762
+ visitAddressConstant(expression: AddressConstant): T;
763
+ visitARC4Encode(expression: ARC4Encode): T;
764
+ visitCopy(expression: Copy): T;
765
+ visitArrayConcat(expression: ArrayConcat): T;
766
+ visitArrayPop(expression: ArrayPop): T;
767
+ visitArrayExtend(expression: ArrayExtend): T;
768
+ visitARC4Decode(expression: ARC4Decode): T;
769
+ visitIntrinsicCall(expression: IntrinsicCall): T;
770
+ visitCreateInnerTransaction(expression: CreateInnerTransaction): T;
771
+ visitUpdateInnerTransaction(expression: UpdateInnerTransaction): T;
772
+ visitGroupTransactionReference(expression: GroupTransactionReference): T;
773
+ visitCheckedMaybe(expression: CheckedMaybe): T;
774
+ visitTupleExpression(expression: TupleExpression): T;
775
+ visitTupleItemExpression(expression: TupleItemExpression): T;
776
+ visitVarExpression(expression: VarExpression): T;
777
+ visitInnerTransactionField(expression: InnerTransactionField): T;
778
+ visitSubmitInnerTransaction(expression: SubmitInnerTransaction): T;
779
+ visitFieldExpression(expression: FieldExpression): T;
780
+ visitIndexExpression(expression: IndexExpression): T;
781
+ visitSliceExpression(expression: SliceExpression): T;
782
+ visitIntersectionSliceExpression(expression: IntersectionSliceExpression): T;
783
+ visitAppStateExpression(expression: AppStateExpression): T;
784
+ visitAppAccountStateExpression(expression: AppAccountStateExpression): T;
785
+ visitBoxValueExpression(expression: BoxValueExpression): T;
786
+ visitSingleEvaluation(expression: SingleEvaluation): T;
787
+ visitReinterpretCast(expression: ReinterpretCast): T;
788
+ visitNewArray(expression: NewArray): T;
789
+ visitConditionalExpression(expression: ConditionalExpression): T;
790
+ visitAssignmentExpression(expression: AssignmentExpression): T;
791
+ visitNumericComparisonExpression(expression: NumericComparisonExpression): T;
792
+ visitBytesComparisonExpression(expression: BytesComparisonExpression): T;
793
+ visitSubroutineCallExpression(expression: SubroutineCallExpression): T;
794
+ visitPuyaLibCall(expression: PuyaLibCall): T;
795
+ visitUInt64UnaryOperation(expression: UInt64UnaryOperation): T;
796
+ visitUInt64PostfixUnaryOperation(expression: UInt64PostfixUnaryOperation): T;
797
+ visitBigUIntPostfixUnaryOperation(expression: BigUIntPostfixUnaryOperation): T;
798
+ visitBytesUnaryOperation(expression: BytesUnaryOperation): T;
799
+ visitUInt64BinaryOperation(expression: UInt64BinaryOperation): T;
800
+ visitBigUIntBinaryOperation(expression: BigUIntBinaryOperation): T;
801
+ visitBytesBinaryOperation(expression: BytesBinaryOperation): T;
802
+ visitBooleanBinaryOperation(expression: BooleanBinaryOperation): T;
803
+ visitNot(expression: Not): T;
804
+ visitRange(expression: Range): T;
805
+ visitEnumeration(expression: Enumeration): T;
806
+ visitReversed(expression: Reversed): T;
807
+ visitStateGet(expression: StateGet): T;
808
+ visitStateGetEx(expression: StateGetEx): T;
809
+ visitStateExists(expression: StateExists): T;
810
+ visitStateDelete(expression: StateDelete): T;
811
+ visitNewStruct(expression: NewStruct): T;
812
+ visitCompiledContract(expression: CompiledContract): T;
813
+ visitCompiledLogicSig(expression: CompiledLogicSig): T;
814
+ visitARC4Router(expression: ARC4Router): T;
815
+ }
816
+ export interface StatementVisitor<T> {
817
+ visitExpressionStatement(statement: ExpressionStatement): T;
818
+ visitBlock(statement: Block): T;
819
+ visitGoto(statement: Goto): T;
820
+ visitIfElse(statement: IfElse): T;
821
+ visitSwitch(statement: Switch): T;
822
+ visitWhileLoop(statement: WhileLoop): T;
823
+ visitLoopExit(statement: LoopExit): T;
824
+ visitLoopContinue(statement: LoopContinue): T;
825
+ visitReturnStatement(statement: ReturnStatement): T;
826
+ visitAssignmentStatement(statement: AssignmentStatement): T;
827
+ visitUInt64AugmentedAssignment(statement: UInt64AugmentedAssignment): T;
828
+ visitBigUIntAugmentedAssignment(statement: BigUIntAugmentedAssignment): T;
829
+ visitBytesAugmentedAssignment(statement: BytesAugmentedAssignment): T;
830
+ visitForInLoop(statement: ForInLoop): T;
831
+ }
832
+ export interface ContractMemberNodeVisitor<T> {
833
+ visitContractMethod(contractMemberNode: ContractMethod): T;
834
+ visitAppStorageDefinition(contractMemberNode: AppStorageDefinition): T;
835
+ }
836
+ export interface RootNodeVisitor<T> {
837
+ visitSubroutine(rootNode: Subroutine): T;
838
+ visitLogicSignature(rootNode: LogicSignature): T;
839
+ visitContractFragment(rootNode: ContractFragment): T;
840
+ }
841
+ export {};