Welcome GuestLogin

@enum token

RSS
Modified on Thursday, 10 December 2009 12:31 by Administrator Categorized as Uncategorized
Classifies an object as an enumeration.

Example


/**
 * Defines the sequence types.
 * @enum
 */
Aeon.AnimationPackage.SequenceType = 
{
    /**
     * Specifies a successive sequence type. 
     */
    SUCCESSIVE: 0,
    /**
     * Specifies a simultaneous sequence type. 
     */
    SIMULTANEOUS: 1
};

Description

Because ECMAScript doesn't provide built-in support of enumerations through the enum keyword, this token can be used to mark designated objects as enumerations.

@enum

This token has no contents. It's sole purpose is to mark an object as an enumeration.

See also

All tokens
@class
@private
@enum

ScrewTurn Wiki version 3.0.4.560. Some of the icons created by FamFamFam.