Package io.github.eutro.jwasm
Class ElementSegmentsVisitor
java.lang.Object
io.github.eutro.jwasm.BaseVisitor<ElementSegmentsVisitor>
io.github.eutro.jwasm.ElementSegmentsVisitor
- Direct Known Subclasses:
ElementSegmentsNode
,ElementSegmentsWriter
A visitor that visits the
element section
of a module.
Methods are expected to be called in the order:
( visitElem
)*
visitEnd
-
Field Summary
Fields inherited from class io.github.eutro.jwasm.BaseVisitor
dl
-
Constructor Summary
ModifierConstructorDescriptionprotected
Construct a visitor with no delegate.protected
ElementSegmentsVisitor
(@Nullable ElementSegmentsVisitor dl) Construct a visitor with a delegate. -
Method Summary
Modifier and TypeMethodDescriptionVisit an element segment of the module.Methods inherited from class io.github.eutro.jwasm.BaseVisitor
visitEnd
-
Constructor Details
-
ElementSegmentsVisitor
protected ElementSegmentsVisitor()Construct a visitor with no delegate. -
ElementSegmentsVisitor
Construct a visitor with a delegate.- Parameters:
dl
- The visitor to delegate all method calls to, ornull
.
-
-
Method Details
-
visitElem
Visit an element segment of the module.- Returns:
- An
ElementVisitor
to visit with the contents of the element segment, ornull
if this visitor is not interested in the contents of the element segment.
-