Class PropertyPlugin
java.lang.Object
com.vaadin.hilla.parser.core.AbstractPlugin<BackbonePluginConfiguration>
com.vaadin.hilla.parser.plugins.backbone.PropertyPlugin
- All Implemented Interfaces:
Plugin
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCalled on the way into a node, before the nodes below it are walked, which is where a plugin says what it knows about the node before anything below it is known.@NonNull NodeDependenciesscan(@NonNull NodeDependencies nodeDependencies) Says what is below a node: its child nodes, walked right below it, and its related nodes, walked once below the root after everything already queued.voidsetConfiguration(PluginConfiguration configuration) Methods inherited from class com.vaadin.hilla.parser.core.AbstractPlugin
getConfiguration, getParserConfig, setParserConfigMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.hilla.parser.core.Plugin
exit, getRequiredPlugins, resolve
-
Constructor Details
-
PropertyPlugin
public PropertyPlugin()
-
-
Method Details
-
enter
Description copied from interface:PluginCalled on the way into a node, before the nodes below it are walked, which is where a plugin says what it knows about the node before anything below it is known. A plugin which only says which nodes there are to walk has nothing to do here. -
scan
Description copied from interface:PluginSays what is below a node: its child nodes, walked right below it, and its related nodes, walked once below the root after everything already queued. Called when the walk enters a node, in the order of the plugins, each one adding to what the one before it returned. A node equal to one scanned before gets the same result without being scanned again.- Parameters:
nodeDependencies- the node with what the plugins before this one found below it- Returns:
- what is below the node, with what this plugin found added
-
setConfiguration
- Specified by:
setConfigurationin interfacePlugin- Overrides:
setConfigurationin classAbstractPlugin<BackbonePluginConfiguration>
-