ethers.js/packages/asm/src.ts/index.ts

40 lines
846 B
TypeScript
Raw Normal View History

"use strict";
import { assemble, CodeNode, DataNode, disassemble, EvaluationNode, ExecutionNode, formatBytecode, LabelNode, LabelledNode, LinkNode, LiteralNode, Node, OpcodeNode, parse, ScopeNode, ValueNode } from "./assembler";
2020-01-31 05:41:03 +03:00
import { Opcode } from "./opcodes";
import { AssemblerOptions, AssembleVisitFunc, Bytecode, Location, Operation, VisitFunc } from "./assembler";
export {
// Opcodes
Opcode,
// Assembler functions
assemble,
disassemble,
formatBytecode,
parse,
// Assembly AST Nodes
CodeNode,
DataNode,
EvaluationNode,
ExecutionNode,
LabelNode,
LabelledNode,
LinkNode,
LiteralNode,
Node,
OpcodeNode,
ScopeNode,
ValueNode,
// Assembler Types
AssemblerOptions,
AssembleVisitFunc,
Bytecode,
Location,
Operation,
VisitFunc,
}