ethers.js/packages/asm/src.ts/index.ts
2020-01-30 21:41:03 -05:00

40 lines
846 B
TypeScript

"use strict";
import { assemble, CodeNode, DataNode, disassemble, EvaluationNode, ExecutionNode, formatBytecode, LabelNode, LabelledNode, LinkNode, LiteralNode, Node, OpcodeNode, parse, ScopeNode, ValueNode } from "./assembler";
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,
}