public interface EnvironmentHandler
BuiltinEnvironment should append children to the outgoing DOM.
An instance of this interface must be stateless once created.
| Modifier and Type | Method and Description |
|---|---|
void |
handleEnvironment(DOMBuilder builder,
Element parentElement,
EnvironmentToken token)
Called when a
CommandToken is being handled by the DOMBuilder. |
void handleEnvironment(DOMBuilder builder, Element parentElement, EnvironmentToken token) throws SnuggleParseException
CommandToken is being handled by the DOMBuilder.builder - DOMBuilder running this process, which provides access
to convenience method for appending Nodes to the DOMparentElement - parent Element that the resulting Nodes should (can) be
added totoken - Token representing the environment being processed.SnuggleParseExceptionCopyright © 2008–2026 The University of Edinburgh. All rights reserved.