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

43 lines
962 B
TypeScript
Raw Normal View History

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