Skip to content

Documentation / @cashconnect-js/templates-dev / helpers/transpiler

CashASMTranspiler

Defined in: packages/templates-dev/src/helpers/transpiler.ts:12

Constructors

Constructor

ts
new CashASMTranspiler(): CashASMTranspiler;
Returns

CashASMTranspiler

Methods

compile()

ts
compile(expr): string;

Defined in: packages/templates-dev/src/helpers/transpiler.ts:183

Parameters
ParameterType
exprstring
Returns

string


expr()

ts
function expr(strings, ...values): string;

Defined in: packages/templates-dev/src/helpers/transpiler.ts:277

Parameters

ParameterType
stringsTemplateStringsArray
...valuesstring[]

Returns

string