Package io.github.eutro.jwasm.tree
Class ExportNode
java.lang.Object
io.github.eutro.jwasm.tree.ExportNode
A node that represents an export of a module.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionintThe index of the exported value.@NotNull StringThe name of the export.byteThe type of the export, one ofOpcodes.EXPORTS_FUNC,Opcodes.EXPORTS_TABLE,Opcodes.EXPORTS_MEMorOpcodes.EXPORTS_GLOBAL.
- 
Constructor SummaryConstructorsConstructorDescriptionExportNode(@NotNull String name, byte type, int index) Construct anExportNodewith the given name, type and index.
- 
Method SummaryModifier and TypeMethodDescriptionvoidaccept(ExportsVisitor ev) Make the givenExportsVisitorvisit this export.
- 
Field Details- 
nameThe name of the export.
- 
typepublic byte typeThe type of the export, one ofOpcodes.EXPORTS_FUNC,Opcodes.EXPORTS_TABLE,Opcodes.EXPORTS_MEMorOpcodes.EXPORTS_GLOBAL.
- 
indexpublic int indexThe index of the exported value.
 
- 
- 
Constructor Details- 
ExportNodeConstruct anExportNodewith the given name, type and index.- Parameters:
- name- The name of the export.
- type- The type of the export, one of- Opcodes.EXPORTS_FUNC,- Opcodes.EXPORTS_TABLE,- Opcodes.EXPORTS_MEMor- Opcodes.EXPORTS_GLOBAL.
- index- The index of the exported value.
 
 
- 
- 
Method Details- 
acceptMake the givenExportsVisitorvisit this export.- Parameters:
- ev- The visitor to visit.
 
 
-