diff --git a/docs/classes/builders.abstractnodebuilder.html b/docs/classes/builders.abstractnodebuilder.html index 32a6b9d..6a1ff6f 100644 --- a/docs/classes/builders.abstractnodebuilder.html +++ b/docs/classes/builders.abstractnodebuilder.html @@ -169,7 +169,7 @@

constructor

  • Parameters

    @@ -191,7 +191,7 @@

    Protected _node

    _node: N
    @@ -209,7 +209,7 @@

    build

    Returns N

    @@ -226,7 +226,7 @@

    Protected getThis

  • @@ -248,7 +248,7 @@

    withChild

  • Parameters

    @@ -272,7 +272,7 @@

    withName

    Parameters

    @@ -295,7 +295,7 @@

    withReadContent

  • Parameters

    @@ -330,7 +330,7 @@

    withWriteContent

  • Parameters

    diff --git a/docs/classes/builders.branchnodebuilder.html b/docs/classes/builders.branchnodebuilder.html index 94169a2..27fee50 100644 --- a/docs/classes/builders.branchnodebuilder.html +++ b/docs/classes/builders.branchnodebuilder.html @@ -138,7 +138,7 @@

    constructor

    Returns BranchNodeBuilder

    @@ -155,7 +155,7 @@

    Protected _node

    @@ -174,7 +174,7 @@

    build

    Implementation of BuilderInterface.build

    Inherited from AbstractNodeBuilder.build

    Returns BranchNodeInterface

    @@ -192,7 +192,7 @@

    Protected getThis

    Returns BranchNodeBuilder

    @@ -210,7 +210,7 @@

    withChild

    Parameters

    @@ -235,7 +235,7 @@

    withName

    Implementation of BuilderInterface.withName

    Inherited from AbstractNodeBuilder.withName

    Parameters

    @@ -259,7 +259,7 @@

    withReadContent

    Parameters

    @@ -295,7 +295,7 @@

    withWriteContent

    Parameters

    diff --git a/docs/classes/builders.bucketnodebuilder.html b/docs/classes/builders.bucketnodebuilder.html index deacce5..fe4cbb7 100644 --- a/docs/classes/builders.bucketnodebuilder.html +++ b/docs/classes/builders.bucketnodebuilder.html @@ -140,7 +140,7 @@

    constructor

    Returns BucketNodeBuilder

    @@ -157,7 +157,7 @@

    Protected _node

    @@ -176,7 +176,7 @@

    build

    Implementation of BuilderInterface.build

    Inherited from AbstractNodeBuilder.build

    Returns BucketNodeInterface

    @@ -194,7 +194,7 @@

    Protected getThis

    Returns BucketNodeBuilder

    @@ -212,7 +212,7 @@

    withChild

    Parameters

    @@ -235,7 +235,7 @@

    withMaxDepth

  • @@ -268,7 +268,7 @@

    withName

    Implementation of BuilderInterface.withName

    Inherited from AbstractNodeBuilder.withName

    Parameters

    @@ -291,7 +291,7 @@

    withPattern

  • @@ -323,7 +323,7 @@

    withReadContent

    Parameters

    @@ -359,7 +359,7 @@

    withWriteContent

    Parameters

    diff --git a/docs/classes/builders.cartridgenodebuilder.html b/docs/classes/builders.cartridgenodebuilder.html index 52c53f2..74c37f2 100644 --- a/docs/classes/builders.cartridgenodebuilder.html +++ b/docs/classes/builders.cartridgenodebuilder.html @@ -138,7 +138,7 @@

    constructor

    Returns CartridgeNodeBuilder

    @@ -155,7 +155,7 @@

    Protected _node

    @@ -174,7 +174,7 @@

    build

    Implementation of BuilderInterface.build

    Inherited from AbstractNodeBuilder.build

    Returns CartridgeNodeInterface

    @@ -192,7 +192,7 @@

    Protected getThis

    Returns CartridgeNodeBuilder

    @@ -210,7 +210,7 @@

    withChild

    Parameters

    @@ -235,7 +235,7 @@

    withName

    Implementation of BuilderInterface.withName

    Inherited from AbstractNodeBuilder.withName

    Parameters

    @@ -259,7 +259,7 @@

    withReadContent

    Parameters

    @@ -295,7 +295,7 @@

    withWriteContent

    Parameters

    diff --git a/docs/classes/builders.cartridgeslotbuilder.html b/docs/classes/builders.cartridgeslotbuilder.html index 958190d..471758c 100644 --- a/docs/classes/builders.cartridgeslotbuilder.html +++ b/docs/classes/builders.cartridgeslotbuilder.html @@ -127,7 +127,7 @@

    constructor

  • Returns CartridgeSlotBuilder

    @@ -143,7 +143,7 @@

    Private _cartridgeInsertio
    _cartridgeInsertionPoint: CartridgeSlotInterface
    @@ -160,7 +160,7 @@

    build

  • @@ -182,7 +182,7 @@

    withCartridgeContent

  • @@ -210,7 +210,7 @@

    withCartridgeName

  • @@ -238,7 +238,7 @@

    withCartridgePattern

  • @@ -266,7 +266,7 @@

    withIndex

  • @@ -294,7 +294,7 @@

    withIsCollector

  • @@ -322,7 +322,7 @@

    withMaxDepth

  • diff --git a/docs/classes/builders.outputnodebuilder.html b/docs/classes/builders.outputnodebuilder.html index f301632..03f6ff2 100644 --- a/docs/classes/builders.outputnodebuilder.html +++ b/docs/classes/builders.outputnodebuilder.html @@ -138,7 +138,7 @@

    constructor

    Returns OutputNodeBuilder

    @@ -155,7 +155,7 @@

    Protected _node

    @@ -174,7 +174,7 @@

    build

    Implementation of BuilderInterface.build

    Inherited from AbstractNodeBuilder.build

    Returns OutputNodeInterface

    @@ -192,7 +192,7 @@

    Protected getThis

    Returns OutputNodeBuilder

    @@ -210,7 +210,7 @@

    withChild

    Parameters

    @@ -235,7 +235,7 @@

    withName

    Implementation of BuilderInterface.withName

    Inherited from AbstractNodeBuilder.withName

    Parameters

    @@ -259,7 +259,7 @@

    withReadContent

    Parameters

    @@ -295,7 +295,7 @@

    withWriteContent

    Parameters

    diff --git a/docs/classes/builders.rootnodebuilder.html b/docs/classes/builders.rootnodebuilder.html index 418f675..d30bc58 100644 --- a/docs/classes/builders.rootnodebuilder.html +++ b/docs/classes/builders.rootnodebuilder.html @@ -138,7 +138,7 @@

    constructor

    Returns RootNodeBuilder

    @@ -155,7 +155,7 @@

    Protected _node

    @@ -174,7 +174,7 @@

    build

    Implementation of BuilderInterface.build

    Inherited from AbstractNodeBuilder.build

    Returns RootNodeInterface

    @@ -192,7 +192,7 @@

    Protected getThis

    Returns RootNodeBuilder

    @@ -210,7 +210,7 @@

    withChild

    Parameters

    @@ -235,7 +235,7 @@

    withName

    Implementation of BuilderInterface.withName

    Inherited from AbstractNodeBuilder.withName

    Parameters

    @@ -259,7 +259,7 @@

    withReadContent

    Parameters

    @@ -295,7 +295,7 @@

    withWriteContent

    Parameters

    diff --git a/docs/classes/builders.simplenodebuilder.html b/docs/classes/builders.simplenodebuilder.html index 801dfff..e160399 100644 --- a/docs/classes/builders.simplenodebuilder.html +++ b/docs/classes/builders.simplenodebuilder.html @@ -138,7 +138,7 @@

    constructor

    Returns SimpleNodeBuilder

    @@ -155,7 +155,7 @@

    Protected _node

    @@ -174,7 +174,7 @@

    build

    Implementation of BuilderInterface.build

    Inherited from AbstractNodeBuilder.build

    Returns SimpleNodeInterface

    @@ -192,7 +192,7 @@

    Protected getThis

    Returns SimpleNodeBuilder

    @@ -210,7 +210,7 @@

    withChild

    @@ -240,7 +240,7 @@

    withName

    Implementation of BuilderInterface.withName

    Inherited from AbstractNodeBuilder.withName

    Parameters

    @@ -264,7 +264,7 @@

    withReadContent

    Parameters

    @@ -300,7 +300,7 @@

    withWriteContent

    Parameters

    diff --git a/docs/classes/builders.skippednodebuilder.html b/docs/classes/builders.skippednodebuilder.html index 1c6fca2..227f71c 100644 --- a/docs/classes/builders.skippednodebuilder.html +++ b/docs/classes/builders.skippednodebuilder.html @@ -138,7 +138,7 @@

    constructor

    Returns SkippedNodeBuilder

    @@ -155,7 +155,7 @@

    Protected _node

    @@ -174,7 +174,7 @@

    build

    Implementation of BuilderInterface.build

    Inherited from AbstractNodeBuilder.build

    Returns SkippedNodeInterface

    @@ -192,7 +192,7 @@

    Protected getThis

    Returns SkippedNodeBuilder

    @@ -210,7 +210,7 @@

    withChild

    Parameters

    @@ -235,7 +235,7 @@

    withName

    Implementation of BuilderInterface.withName

    Inherited from AbstractNodeBuilder.withName

    Parameters

    @@ -259,7 +259,7 @@

    withReadContent

    Parameters

    @@ -295,7 +295,7 @@

    withWriteContent

    Parameters

    diff --git a/docs/classes/builders.socketnodebuilder.html b/docs/classes/builders.socketnodebuilder.html index e0bcd6e..e14afe4 100644 --- a/docs/classes/builders.socketnodebuilder.html +++ b/docs/classes/builders.socketnodebuilder.html @@ -139,7 +139,7 @@

    constructor

    Returns SocketNodeBuilder

    @@ -156,7 +156,7 @@

    Protected _node

    @@ -175,7 +175,7 @@

    build

    Implementation of BuilderInterface.build

    Inherited from AbstractNodeBuilder.build

    Returns SocketNodeInterface

    @@ -193,7 +193,7 @@

    Protected getThis

    Returns SocketNodeBuilder

    @@ -210,7 +210,7 @@

    withCartridgeSlot

  • Parameters

    @@ -234,7 +234,7 @@

    withChild

    Parameters

    @@ -259,7 +259,7 @@

    withName

    Implementation of BuilderInterface.withName

    Inherited from AbstractNodeBuilder.withName

    Parameters

    @@ -283,7 +283,7 @@

    withReadContent

    Parameters

    @@ -319,7 +319,7 @@

    withWriteContent

    Parameters

    diff --git a/docs/classes/errors.abstracterror.html b/docs/classes/errors.abstracterror.html index 4c11834..ac9663a 100644 --- a/docs/classes/errors.abstracterror.html +++ b/docs/classes/errors.abstracterror.html @@ -140,7 +140,7 @@

    constructor

  • Parameters

    diff --git a/docs/classes/errors.invalidmergenode.html b/docs/classes/errors.invalidmergenode.html index 359bab8..4fb4ad8 100644 --- a/docs/classes/errors.invalidmergenode.html +++ b/docs/classes/errors.invalidmergenode.html @@ -123,7 +123,7 @@

    constructor

    Parameters

    diff --git a/docs/classes/errors.needrootnodeerror.html b/docs/classes/errors.needrootnodeerror.html index 4f7f39f..e61b4e8 100644 --- a/docs/classes/errors.needrootnodeerror.html +++ b/docs/classes/errors.needrootnodeerror.html @@ -123,7 +123,7 @@

    constructor

    Parameters

    diff --git a/docs/classes/errors.nocartridgefounderror.html b/docs/classes/errors.nocartridgefounderror.html new file mode 100644 index 0000000..7734568 --- /dev/null +++ b/docs/classes/errors.nocartridgefounderror.html @@ -0,0 +1,322 @@ + + + + + + NoCartridgeFoundError | socko + + + + + +
    +
    +
    +
    + +
    +
    + Options +
    +
    + All +
      +
    • Public
    • +
    • Public/Protected
    • +
    • All
    • +
    +
    + + + + + + +
    +
    + Menu +
    +
    +
    +
    +
    +
    + +

    Class NoCartridgeFoundError

    +
    +
    +
    +
    +
    +
    +
    +
    +
    +

    No cartridges were found for a cartridge slot

    +
    +
    +
    +
    +

    Hierarchy

    + +
    +
    +

    Index

    +
    +
    +
    +

    Constructors

    + +
    +
    +

    Properties

    + +
    +
    +
    +
    +
    +

    Constructors

    +
    + +

    constructor

    + + +
    +
    +
    +

    Properties

    +
    + +

    Static message

    +
    message: string
    + +
    +
    + +

    Static name

    +
    name: string
    + +
    +
    + +

    Static Optional stack

    +
    stack: string
    + +
    +
    +
    + +
    +
    + +
    +

    Generated using TypeDoc

    +
    +
    + + + + \ No newline at end of file diff --git a/docs/classes/errors.processcalledfrombucketnodeerror.html b/docs/classes/errors.processcalledfrombucketnodeerror.html index c51a6d6..1df03ce 100644 --- a/docs/classes/errors.processcalledfrombucketnodeerror.html +++ b/docs/classes/errors.processcalledfrombucketnodeerror.html @@ -123,7 +123,7 @@

    constructor

    Parameters

    diff --git a/docs/classes/errors.processcalledfromoverridenodeerror.html b/docs/classes/errors.processcalledfromoverridenodeerror.html index 925ae77..a143bbf 100644 --- a/docs/classes/errors.processcalledfromoverridenodeerror.html +++ b/docs/classes/errors.processcalledfromoverridenodeerror.html @@ -123,7 +123,7 @@

    constructor

    Parameters

    diff --git a/docs/classes/factories.branchnodefactory.html b/docs/classes/factories.branchnodefactory.html index 7af8183..3311578 100644 --- a/docs/classes/factories.branchnodefactory.html +++ b/docs/classes/factories.branchnodefactory.html @@ -116,7 +116,7 @@

    create

    Returns BranchNodeInterface

    diff --git a/docs/classes/factories.bucketnodefactory.html b/docs/classes/factories.bucketnodefactory.html index a57912b..03fb336 100644 --- a/docs/classes/factories.bucketnodefactory.html +++ b/docs/classes/factories.bucketnodefactory.html @@ -116,7 +116,7 @@

    create

    Returns BucketNodeInterface

    diff --git a/docs/classes/factories.cartridgenodefactory.html b/docs/classes/factories.cartridgenodefactory.html index bab0206..a65719a 100644 --- a/docs/classes/factories.cartridgenodefactory.html +++ b/docs/classes/factories.cartridgenodefactory.html @@ -116,7 +116,7 @@

    create

    Returns CartridgeNodeInterface

    diff --git a/docs/classes/factories.cartridgeslotfactory.html b/docs/classes/factories.cartridgeslotfactory.html index 8131b97..f0d962a 100644 --- a/docs/classes/factories.cartridgeslotfactory.html +++ b/docs/classes/factories.cartridgeslotfactory.html @@ -116,7 +116,7 @@

    create

    Returns CartridgeSlotInterface

    diff --git a/docs/classes/factories.outputnodefactory.html b/docs/classes/factories.outputnodefactory.html index 4c71419..cf3c5ae 100644 --- a/docs/classes/factories.outputnodefactory.html +++ b/docs/classes/factories.outputnodefactory.html @@ -116,7 +116,7 @@

    create

    Returns OutputNodeInterface

    diff --git a/docs/classes/factories.rootnodefactory.html b/docs/classes/factories.rootnodefactory.html index de40ff3..46ed82f 100644 --- a/docs/classes/factories.rootnodefactory.html +++ b/docs/classes/factories.rootnodefactory.html @@ -116,7 +116,7 @@

    create

    Returns RootNodeInterface

    diff --git a/docs/classes/factories.simplenodefactory.html b/docs/classes/factories.simplenodefactory.html index 35e1c5a..94c5724 100644 --- a/docs/classes/factories.simplenodefactory.html +++ b/docs/classes/factories.simplenodefactory.html @@ -116,7 +116,7 @@

    create

    Returns SimpleNodeInterface

    diff --git a/docs/classes/factories.skippednodefactory.html b/docs/classes/factories.skippednodefactory.html index bd06f40..76a1b45 100644 --- a/docs/classes/factories.skippednodefactory.html +++ b/docs/classes/factories.skippednodefactory.html @@ -116,7 +116,7 @@

    create

    Returns SkippedNodeInterface

    diff --git a/docs/classes/factories.socketnodefactory.html b/docs/classes/factories.socketnodefactory.html index 4f6da3f..1024f40 100644 --- a/docs/classes/factories.socketnodefactory.html +++ b/docs/classes/factories.socketnodefactory.html @@ -116,7 +116,7 @@

    create

    Returns SocketNodeInterface

    diff --git a/docs/classes/nodes.abstractsockonode.html b/docs/classes/nodes.abstractsockonode.html index 05a4536..9fb338b 100644 --- a/docs/classes/nodes.abstractsockonode.html +++ b/docs/classes/nodes.abstractsockonode.html @@ -188,7 +188,7 @@

    constructor

    Parameters

    @@ -210,7 +210,7 @@

    Private _content

    _content: any
    @@ -231,7 +231,7 @@

    Private _type

    _type: SockoNodeType
    @@ -261,7 +261,7 @@

    type

  • Returns SockoNodeType

    @@ -269,7 +269,7 @@

    Returns

    Parameters

    @@ -594,7 +594,7 @@

    readContent

    Returns Bluebird<any>

    @@ -737,7 +737,7 @@

    writeContent

    Parameters

    diff --git a/docs/classes/nodes.branchnode.html b/docs/classes/nodes.branchnode.html index 73d48a6..97b039d 100644 --- a/docs/classes/nodes.branchnode.html +++ b/docs/classes/nodes.branchnode.html @@ -161,7 +161,7 @@

    constructor

    Returns BranchNode

    @@ -209,7 +209,7 @@

    type

    Returns SockoNodeType

    @@ -218,7 +218,7 @@

    Returns

    Inherited from AbstractSockoNode.type

    Parameters

    @@ -544,7 +544,7 @@

    readContent

    Implementation of BranchNodeInterface.readContent

    Inherited from AbstractSockoNode.readContent

    Returns Bluebird<any>

    @@ -688,7 +688,7 @@

    writeContent

    Implementation of BranchNodeInterface.writeContent

    Inherited from AbstractSockoNode.writeContent

    Parameters

    diff --git a/docs/classes/nodes.bucketnode.html b/docs/classes/nodes.bucketnode.html index 8fd7f26..26a1160 100644 --- a/docs/classes/nodes.bucketnode.html +++ b/docs/classes/nodes.bucketnode.html @@ -165,7 +165,7 @@

    constructor

    Returns BucketNode

    @@ -192,7 +192,7 @@

    Private _maxDepth

    _maxDepth: number
    @@ -202,7 +202,7 @@

    Private _pattern

    _pattern: string | RegExp
    @@ -232,7 +232,7 @@

    maxDepth

  • Returns number

    @@ -240,7 +240,7 @@

    Returns number

    Parameters

    @@ -264,7 +264,7 @@

    pattern

  • Returns string @@ -275,7 +275,7 @@

    Returns string

    Parameters

    @@ -300,7 +300,7 @@

    type

    Returns SockoNodeType

    @@ -309,7 +309,7 @@

    Returns

    Inherited from AbstractSockoNode.type

    Parameters

    @@ -635,7 +635,7 @@

    readContent

    Implementation of BucketNodeInterface.readContent

    Inherited from AbstractSockoNode.readContent

    Returns Bluebird<any>

    @@ -779,7 +779,7 @@

    writeContent

    Implementation of BucketNodeInterface.writeContent

    Inherited from AbstractSockoNode.writeContent

    Parameters

    diff --git a/docs/classes/nodes.cartridgenode.html b/docs/classes/nodes.cartridgenode.html index 9edcf05..24f5ddf 100644 --- a/docs/classes/nodes.cartridgenode.html +++ b/docs/classes/nodes.cartridgenode.html @@ -161,7 +161,7 @@

    constructor

    Returns CartridgeNode

    @@ -209,7 +209,7 @@

    type

    Returns SockoNodeType

    @@ -218,7 +218,7 @@

    Returns

    Inherited from AbstractSockoNode.type

    Parameters

    @@ -544,7 +544,7 @@

    readContent

    Implementation of CartridgeNodeInterface.readContent

    Inherited from AbstractSockoNode.readContent

    Returns Bluebird<any>

    @@ -688,7 +688,7 @@

    writeContent

    Implementation of CartridgeNodeInterface.writeContent

    Inherited from AbstractSockoNode.writeContent

    Parameters

    diff --git a/docs/classes/nodes.cartridgeslot.html b/docs/classes/nodes.cartridgeslot.html index eb20280..eba54e3 100644 --- a/docs/classes/nodes.cartridgeslot.html +++ b/docs/classes/nodes.cartridgeslot.html @@ -127,7 +127,7 @@

    Private _cartridgeContent<
    _cartridgeContent: string
    @@ -137,7 +137,7 @@

    Private _cartridgeName

    _cartridgeName: string @@ -147,7 +147,7 @@

    Private _cartridgePattern<
    _cartridgePattern: string | RegExp
    @@ -157,7 +157,7 @@

    Private _index

    _index: number
    @@ -167,7 +167,7 @@

    Private _isCollector

    _isCollector: boolean
    @@ -177,7 +177,7 @@

    Private _maxDepth

    _maxDepth: number
    @@ -195,7 +195,7 @@

    cartridgeContent

  • @@ -208,7 +208,7 @@

    Returns string
    @@ -237,7 +237,7 @@

    cartridgeName

  • @@ -250,7 +250,7 @@

    Returns string
    @@ -279,7 +279,7 @@

    cartridgePattern

  • @@ -296,7 +296,7 @@

    Returns string
    @@ -326,7 +326,7 @@

    index

  • @@ -339,7 +339,7 @@

    Returns number
    @@ -368,7 +368,7 @@

    isCollector

  • @@ -381,7 +381,7 @@

    Returns boolean
    @@ -410,7 +410,7 @@

    maxDepth

  • @@ -423,7 +423,7 @@

    Returns number
    diff --git a/docs/classes/nodes.outputnode.html b/docs/classes/nodes.outputnode.html index 589f6a2..12f8e61 100644 --- a/docs/classes/nodes.outputnode.html +++ b/docs/classes/nodes.outputnode.html @@ -161,7 +161,7 @@

    constructor

    Returns OutputNode

    @@ -209,7 +209,7 @@

    type

    Returns SockoNodeType

    @@ -218,7 +218,7 @@

    Returns

    Inherited from AbstractSockoNode.type

    Parameters

    @@ -544,7 +544,7 @@

    readContent

    Implementation of OutputNodeInterface.readContent

    Inherited from AbstractSockoNode.readContent

    Returns Bluebird<any>

    @@ -688,7 +688,7 @@

    writeContent

    Implementation of OutputNodeInterface.writeContent

    Inherited from AbstractSockoNode.writeContent

    Parameters

    diff --git a/docs/classes/nodes.rootnode.html b/docs/classes/nodes.rootnode.html index cdaed95..8a2444b 100644 --- a/docs/classes/nodes.rootnode.html +++ b/docs/classes/nodes.rootnode.html @@ -161,7 +161,7 @@

    constructor

    Returns RootNode

    @@ -209,7 +209,7 @@

    type

    Returns SockoNodeType

    @@ -218,7 +218,7 @@

    Returns

    Inherited from AbstractSockoNode.type

    Parameters

    @@ -544,7 +544,7 @@

    readContent

    Implementation of RootNodeInterface.readContent

    Inherited from AbstractSockoNode.readContent

    Returns Bluebird<any>

    @@ -688,7 +688,7 @@

    writeContent

    Implementation of RootNodeInterface.writeContent

    Inherited from AbstractSockoNode.writeContent

    Parameters

    diff --git a/docs/classes/nodes.simplenode.html b/docs/classes/nodes.simplenode.html index 8f7f80b..e7c3e7b 100644 --- a/docs/classes/nodes.simplenode.html +++ b/docs/classes/nodes.simplenode.html @@ -161,7 +161,7 @@

    constructor

    Returns SimpleNode

    @@ -209,7 +209,7 @@

    type

    Returns SockoNodeType

    @@ -218,7 +218,7 @@

    Returns

    Inherited from AbstractSockoNode.type

    Parameters

    @@ -544,7 +544,7 @@

    readContent

    Implementation of SimpleNodeInterface.readContent

    Inherited from AbstractSockoNode.readContent

    Returns Bluebird<any>

    @@ -688,7 +688,7 @@

    writeContent

    Implementation of SimpleNodeInterface.writeContent

    Inherited from AbstractSockoNode.writeContent

    Parameters

    diff --git a/docs/classes/nodes.skippednode.html b/docs/classes/nodes.skippednode.html index baf581a..524ece9 100644 --- a/docs/classes/nodes.skippednode.html +++ b/docs/classes/nodes.skippednode.html @@ -161,7 +161,7 @@

    constructor

    Returns SkippedNode

    @@ -209,7 +209,7 @@

    type

    Returns SockoNodeType

    @@ -218,7 +218,7 @@

    Returns

    Inherited from AbstractSockoNode.type

    Parameters

    @@ -544,7 +544,7 @@

    readContent

    Implementation of SkippedNodeInterface.readContent

    Inherited from AbstractSockoNode.readContent

    Returns Bluebird<any>

    @@ -688,7 +688,7 @@

    writeContent

    Implementation of SkippedNodeInterface.writeContent

    Inherited from AbstractSockoNode.writeContent

    Parameters

    diff --git a/docs/classes/nodes.socketnode.html b/docs/classes/nodes.socketnode.html index d2a88bf..93013f3 100644 --- a/docs/classes/nodes.socketnode.html +++ b/docs/classes/nodes.socketnode.html @@ -163,7 +163,7 @@

    constructor

    Returns SocketNode

    @@ -190,7 +190,7 @@

    Private _slots

    _slots: Array<CartridgeSlotInterface>
    @@ -220,7 +220,7 @@

    slots

  • Returns Array<CartridgeSlotInterface>

    @@ -228,7 +228,7 @@

    Returns Array

    Parameters

    @@ -253,7 +253,7 @@

    type

    Returns SockoNodeType

    @@ -262,7 +262,7 @@

    Returns

    Inherited from AbstractSockoNode.type

    Parameters

    @@ -588,7 +588,7 @@

    readContent

    Implementation of SocketNodeInterface.readContent

    Inherited from AbstractSockoNode.readContent

    Returns Bluebird<any>

    @@ -732,7 +732,7 @@

    writeContent

    Implementation of SocketNodeInterface.writeContent

    Inherited from AbstractSockoNode.writeContent

    Parameters

    diff --git a/docs/classes/options.processoroptions.html b/docs/classes/options.processoroptions.html new file mode 100644 index 0000000..88831d9 --- /dev/null +++ b/docs/classes/options.processoroptions.html @@ -0,0 +1,504 @@ + + + + + + ProcessorOptions | socko + + + + + +
    +
    +
    +
    + +
    +
    + Options +
    +
    + All +
      +
    • Public
    • +
    • Public/Protected
    • +
    • All
    • +
    +
    + + + + + + +
    +
    + Menu +
    +
    +
    +
    +
    +
    + +

    Class ProcessorOptions

    +
    +
    +
    +
    +
    +
    +
    +
    +
    +

    An implementation of ProcessorOptionsInterface

    +
    +
    +
    +
    +

    Hierarchy

    +
      +
    • + ProcessorOptions +
    • +
    +
    +
    +

    Implements

    + +
    +
    +

    Index

    +
    + +
    +
    +
    +

    Properties

    +
    + +

    Private _allowEmptyCartridgeSlots

    +
    _allowEmptyCartridgeSlots: boolean
    + +
    +
    + +

    Private _processCartridgeNode

    +
    _processCartridgeNode: function
    + +
    +

    Type declaration

    + +
    +
    +
    + +

    Private _processResultTreeNode

    +
    _processResultTreeNode: function
    + +
    +

    Type declaration

    + +
    +
    +
    +
    +

    Accessors

    +
    + +

    allowEmptyCartridgeSlots

    +
      +
    • get allowEmptyCartridgeSlots(): boolean
    • +
    • set allowEmptyCartridgeSlots(value: boolean): void
    • +
    + +
    +
    + +

    processCartridgeNode

    +
      +
    • get processCartridgeNode(): function
    • +
    • set processCartridgeNode(value: function): void
    • +
    + +
    +
    + +

    processResultTreeNode

    +
      +
    • get processResultTreeNode(): function
    • +
    • set processResultTreeNode(value: function): void
    • +
    + +
    +
    +
    + +
    +
    +
    +
    +

    Legend

    +
    +
      +
    • Module
    • +
    • Object literal
    • +
    • Variable
    • +
    • Function
    • +
    • Function with type parameter
    • +
    • Index signature
    • +
    • Type alias
    • +
    +
      +
    • Enumeration
    • +
    • Enumeration member
    • +
    • Property
    • +
    • Method
    • +
    +
      +
    • Interface
    • +
    • Interface with type parameter
    • +
    • Constructor
    • +
    • Property
    • +
    • Method
    • +
    • Index signature
    • +
    +
      +
    • Class
    • +
    • Class with type parameter
    • +
    • Constructor
    • +
    • Property
    • +
    • Method
    • +
    • Accessor
    • +
    • Index signature
    • +
    +
      +
    • Inherited constructor
    • +
    • Inherited property
    • +
    • Inherited method
    • +
    • Inherited accessor
    • +
    +
      +
    • Protected property
    • +
    • Protected method
    • +
    • Protected accessor
    • +
    +
      +
    • Private property
    • +
    • Private method
    • +
    • Private accessor
    • +
    +
      +
    • Static property
    • +
    • Static method
    • +
    +
    +
    +
    +
    +

    Generated using TypeDoc

    +
    +
    + + + + \ No newline at end of file diff --git a/docs/classes/options.processoroptionsfactory.html b/docs/classes/options.processoroptionsfactory.html new file mode 100644 index 0000000..297ce68 --- /dev/null +++ b/docs/classes/options.processoroptionsfactory.html @@ -0,0 +1,247 @@ + + + + + + ProcessorOptionsFactory | socko + + + + + +
    +
    +
    +
    + +
    +
    + Options +
    +
    + All +
      +
    • Public
    • +
    • Public/Protected
    • +
    • All
    • +
    +
    + + + + + + +
    +
    + Menu +
    +
    +
    +
    +
    +
    + +

    Class ProcessorOptionsFactory

    +
    +
    +
    +
    +
    +
    +
    +
    +
    +

    A factory for ProcessorOptionsInterface

    +
    +
    +
    +
    +

    Hierarchy

    +
      +
    • + ProcessorOptionsFactory +
    • +
    +
    +
    +

    Index

    +
    +
    +
    +

    Methods

    + +
    +
    +
    +
    +
    +

    Methods

    +
    + +

    create

    + + +
    +
    +
    + +
    +
    +
    +
    +

    Legend

    +
    +
      +
    • Module
    • +
    • Object literal
    • +
    • Variable
    • +
    • Function
    • +
    • Function with type parameter
    • +
    • Index signature
    • +
    • Type alias
    • +
    +
      +
    • Enumeration
    • +
    • Enumeration member
    • +
    • Property
    • +
    • Method
    • +
    +
      +
    • Interface
    • +
    • Interface with type parameter
    • +
    • Constructor
    • +
    • Property
    • +
    • Method
    • +
    • Index signature
    • +
    +
      +
    • Class
    • +
    • Class with type parameter
    • +
    • Constructor
    • +
    • Property
    • +
    • Method
    • +
    • Accessor
    • +
    • Index signature
    • +
    +
      +
    • Inherited constructor
    • +
    • Inherited property
    • +
    • Inherited method
    • +
    • Inherited accessor
    • +
    +
      +
    • Protected property
    • +
    • Protected method
    • +
    • Protected accessor
    • +
    +
      +
    • Private property
    • +
    • Private method
    • +
    • Private accessor
    • +
    +
      +
    • Static property
    • +
    • Static method
    • +
    +
    +
    +
    +
    +

    Generated using TypeDoc

    +
    +
    + + + + \ No newline at end of file diff --git a/docs/classes/processors.abstractprocessor.html b/docs/classes/processors.abstractprocessor.html index d5ad9d3..c334b69 100644 --- a/docs/classes/processors.abstractprocessor.html +++ b/docs/classes/processors.abstractprocessor.html @@ -139,7 +139,7 @@

    Private _getLog

  • @@ -162,7 +162,7 @@

    Private _getNeededTyp
  • @@ -184,7 +184,7 @@

    Private _getProcessor
  • @@ -207,7 +207,7 @@

    Private _process

  • @@ -252,7 +252,7 @@

    Private _processInternal
    @@ -298,7 +298,7 @@

    process

    Parameters

    diff --git a/docs/classes/processors.bucketnodeprocessor.html b/docs/classes/processors.bucketnodeprocessor.html index 7f2bd13..751db61 100644 --- a/docs/classes/processors.bucketnodeprocessor.html +++ b/docs/classes/processors.bucketnodeprocessor.html @@ -128,7 +128,7 @@

    Private _getBucketEnt
  • @@ -166,7 +166,7 @@

    Private _getLog

    @@ -190,7 +190,7 @@

    Protected _getNeeded

    Overrides AbstractProcessor._getNeededTypes

    Returns Array<SockoNodeType>

    @@ -208,7 +208,7 @@

    Protected _getProcessor<

    Returns string

    @@ -226,7 +226,7 @@

    Protected _process

    Parameters

    @@ -257,7 +257,7 @@

    process

    Implementation of ProcessorInterface.process

    Inherited from AbstractProcessor.process

    Parameters

    diff --git a/docs/classes/processors.overridenodeprocessor.html b/docs/classes/processors.overridenodeprocessor.html index 3c72cd4..f66cb9f 100644 --- a/docs/classes/processors.overridenodeprocessor.html +++ b/docs/classes/processors.overridenodeprocessor.html @@ -128,7 +128,7 @@

    Private _getLog

    @@ -152,7 +152,7 @@

    Protected _getNeeded

    Overrides AbstractProcessor._getNeededTypes

    Returns Array<SockoNodeType>

    @@ -170,7 +170,7 @@

    Protected _getProcessor<

    Returns string

    @@ -188,7 +188,7 @@

    Protected _process

    Parameters

    @@ -219,7 +219,7 @@

    process

    Implementation of ProcessorInterface.process

    Inherited from AbstractProcessor.process

    Parameters

    diff --git a/docs/classes/processors.socketnodeprocessor.html b/docs/classes/processors.socketnodeprocessor.html index 96e498f..b81470a 100644 --- a/docs/classes/processors.socketnodeprocessor.html +++ b/docs/classes/processors.socketnodeprocessor.html @@ -134,7 +134,7 @@

    Private _options

    @@ -151,7 +151,7 @@

    Private _getCartridge
  • @@ -195,7 +195,7 @@

    Private _getLog

    @@ -219,7 +219,7 @@

    Protected _getNeeded

    Overrides AbstractProcessor._getNeededTypes

    Returns Array<SockoNodeType>

    @@ -237,7 +237,7 @@

    Protected _getProcessor<

    Returns string

    @@ -254,7 +254,7 @@

    Private _insertIntoSt
  • @@ -299,7 +299,7 @@

    Protected _process

    Parameters

    @@ -328,7 +328,7 @@

    Private _setCartridge
  • @@ -365,7 +365,7 @@

    process

    Implementation of ProcessorInterface.process

    Inherited from AbstractProcessor.process

    Parameters

    diff --git a/docs/classes/processors.sockoprocessor.html b/docs/classes/processors.sockoprocessor.html index e5687d8..42be962 100644 --- a/docs/classes/processors.sockoprocessor.html +++ b/docs/classes/processors.sockoprocessor.html @@ -130,7 +130,7 @@

    constructor

  • Returns SockoProcessor

    @@ -146,7 +146,7 @@

    Private _log

    _log: Logger
    @@ -156,7 +156,7 @@

    Private _options

    @@ -173,7 +173,7 @@

    Private _merge

  • @@ -214,7 +214,7 @@

    process

    Parameters

    diff --git a/docs/enums/nodes.sockonodetype.html b/docs/enums/nodes.sockonodetype.html index ca4a2e3..1d28bc9 100644 --- a/docs/enums/nodes.sockonodetype.html +++ b/docs/enums/nodes.sockonodetype.html @@ -104,7 +104,7 @@

    Branch

    Branch: = "branch"
    @@ -119,7 +119,7 @@

    Bucket

    Bucket: = "bucket"
    @@ -134,7 +134,7 @@

    Cartridge

    Cartridge: = "cartridge"
    @@ -149,7 +149,7 @@

    Output

    Output: = "output"
    @@ -164,7 +164,7 @@

    Root

    Root: = "root"
    @@ -179,7 +179,7 @@

    Simple

    Simple: = "simple"
    @@ -194,7 +194,7 @@

    Skipped

    Skipped: = "skipped"
    @@ -209,7 +209,7 @@

    Socket

    Socket: = "socket"
    diff --git a/docs/interfaces/builders.builderinterface.html b/docs/interfaces/builders.builderinterface.html index 4e7aa96..dc00ff4 100644 --- a/docs/interfaces/builders.builderinterface.html +++ b/docs/interfaces/builders.builderinterface.html @@ -128,7 +128,7 @@

    build

  • @@ -150,7 +150,7 @@

    withChild

  • @@ -178,7 +178,7 @@

    withName

  • @@ -209,7 +209,7 @@

    withReadContent

  • @@ -249,7 +249,7 @@

    withWriteContent

  • diff --git a/docs/interfaces/factories.factoryinterface.html b/docs/interfaces/factories.factoryinterface.html index ea1adb5..9d45db7 100644 --- a/docs/interfaces/factories.factoryinterface.html +++ b/docs/interfaces/factories.factoryinterface.html @@ -131,7 +131,7 @@

    create

  • diff --git a/docs/interfaces/nodes.branchnodeinterface.html b/docs/interfaces/nodes.branchnodeinterface.html index 3a6d74e..a8348ac 100644 --- a/docs/interfaces/nodes.branchnodeinterface.html +++ b/docs/interfaces/nodes.branchnodeinterface.html @@ -154,7 +154,7 @@

    type

    @@ -462,7 +462,7 @@

    readContent

    @@ -605,7 +605,7 @@

    writeContent

    diff --git a/docs/interfaces/nodes.bucketnodeinterface.html b/docs/interfaces/nodes.bucketnodeinterface.html index e64a4de..9597be7 100644 --- a/docs/interfaces/nodes.bucketnodeinterface.html +++ b/docs/interfaces/nodes.bucketnodeinterface.html @@ -144,7 +144,7 @@

    maxDepth

    maxDepth: number
    @@ -174,7 +174,7 @@

    pattern

    pattern: string | RegExp
    @@ -191,7 +191,7 @@

    type

    @@ -499,7 +499,7 @@

    readContent

    @@ -642,7 +642,7 @@

    writeContent

    diff --git a/docs/interfaces/nodes.cartridgenodeinterface.html b/docs/interfaces/nodes.cartridgenodeinterface.html index f6364d7..7524d23 100644 --- a/docs/interfaces/nodes.cartridgenodeinterface.html +++ b/docs/interfaces/nodes.cartridgenodeinterface.html @@ -154,7 +154,7 @@

    type

    @@ -462,7 +462,7 @@

    readContent

    @@ -605,7 +605,7 @@

    writeContent

    diff --git a/docs/interfaces/nodes.cartridgeslotinterface.html b/docs/interfaces/nodes.cartridgeslotinterface.html index 27ddc2b..e8f9a93 100644 --- a/docs/interfaces/nodes.cartridgeslotinterface.html +++ b/docs/interfaces/nodes.cartridgeslotinterface.html @@ -116,7 +116,7 @@

    cartridgeContent

    cartridgeContent: string
    @@ -131,7 +131,7 @@

    cartridgeName

    cartridgeName: string
    @@ -146,7 +146,7 @@

    cartridgePattern

    cartridgePattern: string | RegExp
    @@ -162,7 +162,7 @@

    index

    index: number
    @@ -177,7 +177,7 @@

    isCollector

    isCollector: boolean
    @@ -192,7 +192,7 @@

    maxDepth

    maxDepth: number
    diff --git a/docs/interfaces/nodes.outputnodeinterface.html b/docs/interfaces/nodes.outputnodeinterface.html index b4d3a33..9914543 100644 --- a/docs/interfaces/nodes.outputnodeinterface.html +++ b/docs/interfaces/nodes.outputnodeinterface.html @@ -154,7 +154,7 @@

    type

    @@ -462,7 +462,7 @@

    readContent

    @@ -605,7 +605,7 @@

    writeContent

    diff --git a/docs/interfaces/nodes.rootnodeinterface.html b/docs/interfaces/nodes.rootnodeinterface.html index 9de54c7..d64c4df 100644 --- a/docs/interfaces/nodes.rootnodeinterface.html +++ b/docs/interfaces/nodes.rootnodeinterface.html @@ -154,7 +154,7 @@

    type

    @@ -462,7 +462,7 @@

    readContent

    @@ -605,7 +605,7 @@

    writeContent

    diff --git a/docs/interfaces/nodes.simplenodeinterface.html b/docs/interfaces/nodes.simplenodeinterface.html index a816ced..fef3661 100644 --- a/docs/interfaces/nodes.simplenodeinterface.html +++ b/docs/interfaces/nodes.simplenodeinterface.html @@ -154,7 +154,7 @@

    type

    @@ -462,7 +462,7 @@

    readContent

    @@ -605,7 +605,7 @@

    writeContent

    diff --git a/docs/interfaces/nodes.skippednodeinterface.html b/docs/interfaces/nodes.skippednodeinterface.html index 50c7d9d..8415a66 100644 --- a/docs/interfaces/nodes.skippednodeinterface.html +++ b/docs/interfaces/nodes.skippednodeinterface.html @@ -155,7 +155,7 @@

    type

    @@ -463,7 +463,7 @@

    readContent

    @@ -606,7 +606,7 @@

    writeContent

    diff --git a/docs/interfaces/nodes.socketnodeinterface.html b/docs/interfaces/nodes.socketnodeinterface.html index 5c22905..7f6d07c 100644 --- a/docs/interfaces/nodes.socketnodeinterface.html +++ b/docs/interfaces/nodes.socketnodeinterface.html @@ -154,7 +154,7 @@

    slots

    @@ -171,7 +171,7 @@

    type

    @@ -479,7 +479,7 @@

    readContent

    @@ -622,7 +622,7 @@

    writeContent

    diff --git a/docs/interfaces/nodes.sockonodeinterface.html b/docs/interfaces/nodes.sockonodeinterface.html index bcb5d15..eaff96f 100644 --- a/docs/interfaces/nodes.sockonodeinterface.html +++ b/docs/interfaces/nodes.sockonodeinterface.html @@ -187,7 +187,7 @@

    type

    @@ -494,7 +494,7 @@

    readContent

  • @@ -636,7 +636,7 @@

    writeContent

  • diff --git a/docs/interfaces/options.processoroptionsinterface.html b/docs/interfaces/options.processoroptionsinterface.html index 18952a5..1c89945 100644 --- a/docs/interfaces/options.processoroptionsinterface.html +++ b/docs/interfaces/options.processoroptionsinterface.html @@ -113,7 +113,7 @@

    allowEmptyCartridgeSlots

    allowEmptyCartridgeSlots: boolean
    @@ -129,7 +129,7 @@

    processCartridgeNode

    processCartridgeNode: function
    @@ -174,7 +174,7 @@

    processResultTreeNode

    processResultTreeNode: function
    diff --git a/docs/interfaces/processors.processorinterface.html b/docs/interfaces/processors.processorinterface.html index c74b01b..ae46674 100644 --- a/docs/interfaces/processors.processorinterface.html +++ b/docs/interfaces/processors.processorinterface.html @@ -119,7 +119,7 @@

    process

  • diff --git a/lib/processors/SocketNodeProcessor.ts b/lib/processors/SocketNodeProcessor.ts index a3f38f8..a4c5e14 100644 --- a/lib/processors/SocketNodeProcessor.ts +++ b/lib/processors/SocketNodeProcessor.ts @@ -89,12 +89,16 @@ export class SocketNodeProcessor extends AbstractProcessor cartridgeNodes => { for (let cartridgeNode of cartridgeNodes) { let found = false - for (let eligibleCartridge of eligibleCartridges) { - if (eligibleCartridge.name === cartridgeNode.name) { - found = true - eligibleCartridge.readContent = cartridgeNode.readContent + eligibleCartridges = eligibleCartridges.map( + eligibleCartridge => { + if (eligibleCartridge.name === cartridgeNode.name) { + found = true + return cartridgeNode + } else { + return eligibleCartridge + } } - } + ) if (!found) { eligibleCartridges.push(cartridgeNode) } diff --git a/package.json b/package.json index f33930b..c4c456b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "socko-api", - "version": "0.4.0", + "version": "0.4.1", "description": "Hierarchical Tree Weaver", "keywords": [ "template",