Udostępnij za pośrednictwem


ScopeStorage Enumeration

Specifies the storage type associated with the scope that is being built during parsing for a Babel Package language service. Some examples are: static, member, and type.

enum ScopeStorage { 
   StorageConstant = 0,
   StorageStatic,
   StorageMember,
   StorageVirtual,
   StorageParameter,
   StorageResult,
   StorageLocal,
   StorageType,
   StorageNone,
   StorageOther
};

Elements

  • StorageConstant
    Constant storage type.

  • StorageStatic
    Static storage type.

  • StorageMember
    Member storage type. An example is the member of a class.

  • StorageVirtual
    Virtual storage type.

  • StorageParameter
    Parameter storage type. Use this value to indicate a parameter in a method. Additionally, a ScopeKind Enumeration value of ScopeProcedure must also be specified.

  • StorageResult
    Result storage type.

  • StorageLocal
    Local storage type.

  • StorageType
    Type storage type.

  • StorageNone
    No storage type specified.

  • StorageOther
    Storage type other than the default values provided.

Remarks

The storage type specified has no significance beyond the icon used to display scope information, with the following exceptions:

  • Method information is only shown if the ScopeKind Enumeration is ScopeProcedure.

  • Parameter information for a method is only shown if the ScopeKind is ScopeProcedure and the ScopeStorage is StorageParameter.

Requirements

Header: babelservice.idl

See Also

Reference

IParseSink::AddScope Method

Other Resources

Babel Enumerations