Constructors

Methods

  • Parameters

    • attributes: string[]

    Returns string[]

  • get the DirectiveOptions for a directive name

    Parameters

    • directiveName: string

    Returns undefined | DirectiveNodeInfo

    DirectiveOptions if the name has been registered, otherwise undefined

  • get the value of the registered inputs and outputs by directive name

    Parameters

    • directiveName: string

    Returns undefined | string[]

    array of strings if found, otherwise undefined

  • get the value of the registered inputs by directive name

    Parameters

    • directiveName: string

    Returns undefined | string[]

    array of strings if found, otherwise undefined

  • get the value of the registered outputs by directive name

    Parameters

    • directiveName: string

    Returns undefined | string[]

    array of strings if found, otherwise undefined

  • get the value of the registered successors by directive name

    Parameters

    • directiveName: string

    Returns undefined | string[]

  • check if directive name is registered

    Parameters

    • attributeName: string

    Returns boolean

    boolean

  • Parameters

    • directiveName: string
    • names: string[]

    Returns boolean

  • check if a directive has a attribute

    Parameters

    • directiveName: string
    • attributeName: string

    Returns boolean

  • check if the options registered with a directiveName has attributes array

    Parameters

    • directiveName: string

    Returns boolean

    boolean

  • check if has input

    Parameters

    • directiveName: string
    • inputName: string

    Returns boolean

  • Parameters

    • directiveName: string

    Returns boolean

  • check if has output

    Parameters

    • directiveName: string
    • outputName: string

    Returns boolean

  • Parameters

    • directiveName: string

    Returns boolean

  • check if has successor

    Parameters

    • directiveName: string
    • successorName: string

    Returns boolean

  • Parameters

    • directiveName: string

    Returns boolean

  • register a directive with a name,

    the directive could be a structural directive or an attribute directive.

    if the directive name exists, will not replace the old directive options.

    Parameters

    • directiveName: string
    • Optionaloptions: DirectiveNodeOptions

      contain the attributes of the registered directive name

    Returns void

  • replace the current options with a new one.

    the directive could be a structural directive or an attribute directive.

    if the directive name not exists, no set options will be done

    Parameters

    Returns void

  • set value of directive

    Parameters

    Returns void