Class: InterpreterDescription

InterpreterDescription

The description of an interpreter and the communication with it.

new InterpreterDescription()

Constructor: Calls the constructor of the WidgetDescription and initializes the inAttributeTypes.

Extends

Requires

  • module:easejs
  • module:AttributeTypeList
  • module:WidgetDescription

Members

protectedcallbackNamesarray

Array of available callback names.

protectedidstring

Id of the Widget that are described by this object.

protectednamestring

Name of the Widget that are described by this object.

protectedoutAttributeTypesAttributeTypeList

List of attributeTypes that are provided.

Methods

inherited addOutAttributeType(_outAttributeType)

Adds an outAttributeType to the list
Name Type Description
_outAttributeType AttributeType AttributeType that are provided

inherited addOutAttributeTypes(_outAttributeTypes)

Adds outAttributeTypes that are provided by the Widget
Name Type Description
_outAttributeTypes AttributeTypeList | Array List of AttributeType that are provided

inherited doesSatisfyAttributeType(_attributeType){boolean}

Returns true if the widget can satisfy the requested attribute type.
Name Type Description
_attributeType AttributeType
Returns the id of the described widget.
Returns inAttributeTypes of the interpreter
Returns the name of the described widget.
Returns outAttributeTypes of the widget.
Sets the id of the described widget.

setInAttributeType(_inAttributeType)

Adds an inAttributeType to the list
Name Type Description
_inAttributeType AttributeType AttributeType that are expected

setInAttributeTypes(_inAttributeTypes)

Adds inAttributeTypes that are expected
Name Type Description
_inAttributeTypes AttributeTypeList | Array List of AttributeType that are expected
Sets the name of the described widget.
Builder for id
Name Type Description
_id string Id of the Widget that are described by this object.
Builder for inAttributeType
Name Type Description
_inAttributeType AttributeType AttributeType that are expected

withInAttributeTypes(_inAttributeTypes){InterpreterDescription}

Builder for inAttributeType list
Name Type Description
_inAttributeTypes AttributeTypeList | Array List of AttributeType that are expected
Builder for name
Name Type Description
_name string Name of the Widget that are described by this object.

inherited withOutAttributeTypes(_outAttributeTypes){WidgetDescription}

Builder for outAttributeType list
Name Type Description
_outAttributeTypes AttributeTypeList | Array List of AttributeType that are provided