@jetjs/types

interface Plugin

Plugin type used as data structure inside the generated AST

Properties

PropertyTypeDescription
merge
Plugin
parameter
PluginParameter
piped
Plugin[]
plugin
PluginName

Property Details

  • merge Property

    the last nodes inside the piped Array are piped/merged into the Merge Plugin

    Signature:
    merge?: Plugin;
  • parameter Property

    Optional parameters for the plugin. They are added by the PluginParser and not at the initial Plugin Definition parsing.

    Signature:
    parameter?: PluginParameter;
  • piped Property

    Array of plugins, which will recevie the values from the here defined plugin

    Signature:
    piped: Plugin[];
  • plugin Property

    Signature:
    plugin: PluginName;