- getAstUtil(__namedParameters): {
makeAddressLiteral: ((a: Address, loc: SrcInfo) => Address);
makeBinaryExpression: ((op: BinaryOperation, left: AstExpression, right: AstExpression) => AstExpression);
makeBooleanLiteral: ((b: boolean, loc: SrcInfo) => Boolean);
makeCellLiteral: ((c: Cell, loc: SrcInfo) => Cell);
makeNullLiteral: ((loc: SrcInfo) => Null);
makeNumberLiteral: ((n: bigint, loc: SrcInfo) => AstNumber);
makeSliceLiteral: ((s: Slice, loc: SrcInfo) => Slice);
makeStructFieldValue: ((fieldName: string, val: AstLiteral, loc: SrcInfo) => StructFieldValue);
makeStructValue: ((fields: StructFieldValue[], type: AstId, loc: SrcInfo) => StructValue);
makeUnaryExpression: ((op: UnaryOperation, operand: AstExpression) => AstExpression);
} Parameters
- __namedParameters: {
cloneNode: (<T>(src: T) => T);
createNode: ((src:
| Omit<FuncId, "id">
| Omit<Wildcard, "id">
| Omit<DestructMapping, "id">
| Omit<DestructEnd, "id">
| Omit<AstOpBinary, "id">
| Omit<AstOpUnary, "id">
| Omit<AstConditional, "id">
| Omit<AstMethodCall, "id">
| Omit<AstFieldAccess, "id">
| Omit<AstStaticCall, "id">
| Omit<AstStructInstance, "id">
| Omit<AstId, "id">
| Omit<InitOf, "id">
| Omit<CodeOf, "id">
| Omit<AstNumber, "id">
| Omit<Boolean, "id">
| Omit<Null, "id">
| Omit<AstString, "id">
| Omit<Address, "id">
| Omit<Cell, "id">
| Omit<Slice, "id">
| Omit<StructValue, "id">
| Omit<AstStatementLet, "id">
| Omit<AstStatementReturn, "id">
| Omit<AstStatementExpression, "id">
| Omit<AstStatementAssign, "id">
| Omit<StatementAugmentedAssign, "id">
| Omit<AstStatementCondition, "id">
| Omit<StatementWhile, "id">
| Omit<StatementUntil, "id">
| Omit<StatementRepeat, "id">
| Omit<StatementTry, "id">
| Omit<StatementForEach, "id">
| Omit<StatementDestruct, "id">
| Omit<StatementBlock, "id">
| Omit<AstPrimitiveTypeDecl, "id">
| Omit<AstStructDecl, "id">
| Omit<AstMessageDecl, "id">
| Omit<AstContract, "id">
| Omit<AstTrait, "id">
| Omit<AstFieldDecl, "id">
| Omit<AstTypedParameter, "id">
| Omit<AstFunctionDef, "id">
| Omit<FunctionAttributeGet, "id">
| Omit<FunctionAttributeRest, "id">
| Omit<AstAsmFunctionDef, "id">
| Omit<AstFunctionDecl, "id">
| Omit<AstModule, "id">
| Omit<AstNativeFunctionDecl, "id">
| Omit<AstStructFieldInitializer, "id">
| Omit<StructFieldValue, "id">
| Omit<TypeId, "id">
| Omit<AstOptionalType, "id">
| Omit<MapType, "id">
| Omit<BouncedMessageType, "id">
| Omit<AstContractInit, "id">
| Omit<AstReceiver, "id">
| Omit<AstImport, "id">
| Omit<AstConstantDef, "id">
| Omit<AstConstantDecl, "id">
| Omit<ReceiverInternal, "id">
| Omit<ReceiverExternal, "id">
| Omit<ReceiverBounce, "id">
| Omit<ReceiverSimple, "id">
| Omit<ReceiverFallback, "id">
| Omit<ReceiverComment, "id">) => AstNode);
}cloneNode: (<T>(src: T) => T)
createNode: ((src:
| Omit<FuncId, "id">
| Omit<Wildcard, "id">
| Omit<DestructMapping, "id">
| Omit<DestructEnd, "id">
| Omit<AstOpBinary, "id">
| Omit<AstOpUnary, "id">
| Omit<AstConditional, "id">
| Omit<AstMethodCall, "id">
| Omit<AstFieldAccess, "id">
| Omit<AstStaticCall, "id">
| Omit<AstStructInstance, "id">
| Omit<AstId, "id">
| Omit<InitOf, "id">
| Omit<CodeOf, "id">
| Omit<AstNumber, "id">
| Omit<Boolean, "id">
| Omit<Null, "id">
| Omit<AstString, "id">
| Omit<Address, "id">
| Omit<Cell, "id">
| Omit<Slice, "id">
| Omit<StructValue, "id">
| Omit<AstStatementLet, "id">
| Omit<AstStatementReturn, "id">
| Omit<AstStatementExpression, "id">
| Omit<AstStatementAssign, "id">
| Omit<StatementAugmentedAssign, "id">
| Omit<AstStatementCondition, "id">
| Omit<StatementWhile, "id">
| Omit<StatementUntil, "id">
| Omit<StatementRepeat, "id">
| Omit<StatementTry, "id">
| Omit<StatementForEach, "id">
| Omit<StatementDestruct, "id">
| Omit<StatementBlock, "id">
| Omit<AstPrimitiveTypeDecl, "id">
| Omit<AstStructDecl, "id">
| Omit<AstMessageDecl, "id">
| Omit<AstContract, "id">
| Omit<AstTrait, "id">
| Omit<AstFieldDecl, "id">
| Omit<AstTypedParameter, "id">
| Omit<AstFunctionDef, "id">
| Omit<FunctionAttributeGet, "id">
| Omit<FunctionAttributeRest, "id">
| Omit<AstAsmFunctionDef, "id">
| Omit<AstFunctionDecl, "id">
| Omit<AstModule, "id">
| Omit<AstNativeFunctionDecl, "id">
| Omit<AstStructFieldInitializer, "id">
| Omit<StructFieldValue, "id">
| Omit<TypeId, "id">
| Omit<AstOptionalType, "id">
| Omit<MapType, "id">
| Omit<BouncedMessageType, "id">
| Omit<AstContractInit, "id">
| Omit<AstReceiver, "id">
| Omit<AstImport, "id">
| Omit<AstConstantDef, "id">
| Omit<AstConstantDecl, "id">
| Omit<ReceiverInternal, "id">
| Omit<ReceiverExternal, "id">
| Omit<ReceiverBounce, "id">
| Omit<ReceiverSimple, "id">
| Omit<ReceiverFallback, "id">
| Omit<ReceiverComment, "id">) => AstNode)
- (src): AstNode
Parameters
- src:
| Omit<FuncId, "id">
| Omit<Wildcard, "id">
| Omit<DestructMapping, "id">
| Omit<DestructEnd, "id">
| Omit<AstOpBinary, "id">
| Omit<AstOpUnary, "id">
| Omit<AstConditional, "id">
| Omit<AstMethodCall, "id">
| Omit<AstFieldAccess, "id">
| Omit<AstStaticCall, "id">
| Omit<AstStructInstance, "id">
| Omit<AstId, "id">
| Omit<InitOf, "id">
| Omit<CodeOf, "id">
| Omit<AstNumber, "id">
| Omit<Boolean, "id">
| Omit<Null, "id">
| Omit<AstString, "id">
| Omit<Address, "id">
| Omit<Cell, "id">
| Omit<Slice, "id">
| Omit<StructValue, "id">
| Omit<AstStatementLet, "id">
| Omit<AstStatementReturn, "id">
| Omit<AstStatementExpression, "id">
| Omit<AstStatementAssign, "id">
| Omit<StatementAugmentedAssign, "id">
| Omit<AstStatementCondition, "id">
| Omit<StatementWhile, "id">
| Omit<StatementUntil, "id">
| Omit<StatementRepeat, "id">
| Omit<StatementTry, "id">
| Omit<StatementForEach, "id">
| Omit<StatementDestruct, "id">
| Omit<StatementBlock, "id">
| Omit<AstPrimitiveTypeDecl, "id">
| Omit<AstStructDecl, "id">
| Omit<AstMessageDecl, "id">
| Omit<AstContract, "id">
| Omit<AstTrait, "id">
| Omit<AstFieldDecl, "id">
| Omit<AstTypedParameter, "id">
| Omit<AstFunctionDef, "id">
| Omit<FunctionAttributeGet, "id">
| Omit<FunctionAttributeRest, "id">
| Omit<AstAsmFunctionDef, "id">
| Omit<AstFunctionDecl, "id">
| Omit<AstModule, "id">
| Omit<AstNativeFunctionDecl, "id">
| Omit<AstStructFieldInitializer, "id">
| Omit<StructFieldValue, "id">
| Omit<TypeId, "id">
| Omit<AstOptionalType, "id">
| Omit<MapType, "id">
| Omit<BouncedMessageType, "id">
| Omit<AstContractInit, "id">
| Omit<AstReceiver, "id">
| Omit<AstImport, "id">
| Omit<AstConstantDef, "id">
| Omit<AstConstantDecl, "id">
| Omit<ReceiverInternal, "id">
| Omit<ReceiverExternal, "id">
| Omit<ReceiverBounce, "id">
| Omit<ReceiverSimple, "id">
| Omit<ReceiverFallback, "id">
| Omit<ReceiverComment, "id">
Returns {
makeAddressLiteral: ((a: Address, loc: SrcInfo) => Address);
makeBinaryExpression: ((op: BinaryOperation, left: AstExpression, right: AstExpression) => AstExpression);
makeBooleanLiteral: ((b: boolean, loc: SrcInfo) => Boolean);
makeCellLiteral: ((c: Cell, loc: SrcInfo) => Cell);
makeNullLiteral: ((loc: SrcInfo) => Null);
makeNumberLiteral: ((n: bigint, loc: SrcInfo) => AstNumber);
makeSliceLiteral: ((s: Slice, loc: SrcInfo) => Slice);
makeStructFieldValue: ((fieldName: string, val: AstLiteral, loc: SrcInfo) => StructFieldValue);
makeStructValue: ((fields: StructFieldValue[], type: AstId, loc: SrcInfo) => StructValue);
makeUnaryExpression: ((op: UnaryOperation, operand: AstExpression) => AstExpression);
}
makeAddressLiteral: ((a: Address, loc: SrcInfo) => Address)
- (a, loc): Address
Returns Address
makeBooleanLiteral: ((b: boolean, loc: SrcInfo) => Boolean)
- (b, loc): Boolean
Returns Boolean
makeCellLiteral: ((c: Cell, loc: SrcInfo) => Cell)
- (c, loc): Cell
Returns Cell
makeNullLiteral: ((loc: SrcInfo) => Null)
makeNumberLiteral: ((n: bigint, loc: SrcInfo) => AstNumber)
makeSliceLiteral: ((s: Slice, loc: SrcInfo) => Slice)
- (s, loc): Slice
Returns Slice
makeStructFieldValue: ((fieldName: string, val: AstLiteral, loc: SrcInfo) => StructFieldValue)
- (fieldName, val, loc): StructFieldValue
Returns StructFieldValue
makeStructValue: ((fields: StructFieldValue[], type: AstId, loc: SrcInfo) => StructValue)
- (fields, type, loc): StructValue
Returns StructValue
makeUnaryExpression: ((op: UnaryOperation, operand: AstExpression) => AstExpression)