Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ProcessorOptionsInterface

Options for processors

Hierarchy

  • ProcessorOptionsInterface

Implemented by

Index

Properties

allowEmptyCartridgeSlots

allowEmptyCartridgeSlots: boolean

Allow, that cartridge slots can be left empty when no cartridges can be found. The cartridge slot content will be set to an empty string. Otherwise an error is thrown.

processCartridgeNode

processCartridgeNode: function

A function, that is called when processing CartridgeNodeInterfaces and should process and return the processed node. If a SkippedNodeInterface is returned, the cartridge is not processed at all.

Defaults to a function, that simply returns the input node

param
returns

processResultTreeNode

processResultTreeNode: function

A function, that is called while generating the result tree. It is called with the already generated RootNodeInterface, OutputNodeInterface or BranchNodeInterface and expects a node of this type back. If a SkippedNodeInterface is returned, the node is not inserted in the result tree

Defaults to a function, that simply returns the input node

param

node to process

returns

processed node

Type declaration

Generated using TypeDoc