Public Types | Public Member Functions | Public Attributes

jsdIProperty Interface Reference

Representation of a property of an object. More...

import "jsdIDebuggerService.idl";

Inheritance diagram for jsdIProperty:
Collaboration diagram for jsdIProperty:

List of all members.

Public Types

enum  { FLAG_ENUMERATE = 1U }
 

FLAG_* values must be kept in sync with JSDPD_* defines in jsdebug.h.

More...
enum  { FLAG_READONLY = 2U }
 

assignment is error

More...
enum  { FLAG_PERMANENT = 4U }
 

property cannot be deleted

More...
enum  { FLAG_ALIAS = 8U }
 

property has an alias id

More...
enum  { FLAG_ARGUMENT = 16U }
 

argument to function

More...
enum  { FLAG_VARIABLE = 32U }
 

local variable in function

More...
enum  { FLAG_EXCEPTION = 64U }
 

exception occurred looking up property, value is exception

More...
enum  { FLAG_ERROR = 128U }
 

native getter returned JS_FALSE without throwing an exception

More...
enum  { FLAG_HINTED = 2048U }
 

found via explicit lookup (property defined elsewhere.

More...

Public Member Functions

virtual nsresult GetJSDContext (JSDContext **aJSDContext)=0
 Representation of a property of an object.
virtual nsresult GetJSDProperty (JSDProperty **aJSDProperty)=0
 Internal use only.
virtual nsresult GetFlags (PRUint32 *aFlags)=0
 FLAG_* values OR'd together, representing the flags for this property.
virtual nsresult GetAlias (jsdIValue **aAlias)=0
 jsdIValue representing the alias for this property.
virtual nsresult GetName (jsdIValue **aName)=0
 name for this property.
virtual nsresult GetValue (jsdIValue **aValue)=0
 value of this property.
virtual nsresult GetVarArgSlot (PRUint32 *aVarArgSlot)=0
 slot number if this property is a local variable or parameter.

Public Attributes

readonly attribute JSDContext JSDContext
 Internal use only.
readonly attribute JSDProperty JSDProperty
 Internal use only.
const unsigned long FLAG_ENUMERATE = 0x01
 FLAG_* values must be kept in sync with JSDPD_* defines in jsdebug.h.
const unsigned long FLAG_READONLY = 0x02
 assignment is error
const unsigned long FLAG_PERMANENT = 0x04
 property cannot be deleted
const unsigned long FLAG_ALIAS = 0x08
 property has an alias id
const unsigned long FLAG_ARGUMENT = 0x10
 argument to function
const unsigned long FLAG_VARIABLE = 0x20
 local variable in function
const unsigned long FLAG_EXCEPTION = 0x40
 exception occurred looking up property, value is exception
const unsigned long FLAG_ERROR = 0x80
 native getter returned JS_FALSE without throwing an exception
const unsigned long FLAG_HINTED = 0x800
 found via explicit lookup (property defined elsewhere.
readonly attribute unsigned long flags
 FLAG_* values OR'd together, representing the flags for this property.
readonly attribute jsdIValue alias
 jsdIValue representing the alias for this property.
readonly attribute jsdIValue name
 name for this property.
readonly attribute jsdIValue value
 value of this property.
readonly attribute unsigned long varArgSlot
 slot number if this property is a local variable or parameter.

Detailed Description

Representation of a property of an object.

When an instance is invalid, all method and property access will result in a NS_UNAVAILABLE error.


Member Enumeration Documentation

anonymous enum

native getter returned JS_FALSE without throwing an exception

Enumerator:
FLAG_ERROR 
anonymous enum

found via explicit lookup (property defined elsewhere.

)

Enumerator:
FLAG_HINTED 
anonymous enum

FLAG_* values must be kept in sync with JSDPD_* defines in jsdebug.h.

visible to for/in loop

Enumerator:
FLAG_ENUMERATE 
anonymous enum

assignment is error

Enumerator:
FLAG_READONLY 
anonymous enum

property cannot be deleted

Enumerator:
FLAG_PERMANENT 
anonymous enum

property has an alias id

Enumerator:
FLAG_ALIAS 
anonymous enum

argument to function

Enumerator:
FLAG_ARGUMENT 
anonymous enum

local variable in function

Enumerator:
FLAG_VARIABLE 
anonymous enum

exception occurred looking up property, value is exception

Enumerator:
FLAG_EXCEPTION 

Member Function Documentation

virtual nsresult jsdIProperty::GetAlias ( jsdIValue **  aAlias  )  [pure virtual]

jsdIValue representing the alias for this property.

virtual nsresult jsdIProperty::GetFlags ( PRUint32 *  aFlags  )  [pure virtual]

FLAG_* values OR'd together, representing the flags for this property.

virtual nsresult jsdIProperty::GetJSDContext ( JSDContext **  aJSDContext  )  [pure virtual]

Representation of a property of an object.

When an instance is invalid, all method and property access will result in a NS_UNAVAILABLE error. Internal use only.

virtual nsresult jsdIProperty::GetJSDProperty ( JSDProperty **  aJSDProperty  )  [pure virtual]

Internal use only.

virtual nsresult jsdIProperty::GetName ( jsdIValue **  aName  )  [pure virtual]

name for this property.

virtual nsresult jsdIProperty::GetValue ( jsdIValue **  aValue  )  [pure virtual]

value of this property.

virtual nsresult jsdIProperty::GetVarArgSlot ( PRUint32 *  aVarArgSlot  )  [pure virtual]

slot number if this property is a local variable or parameter.


Member Data Documentation

readonly attribute jsdIValue jsdIProperty::alias

jsdIValue representing the alias for this property.

const unsigned long jsdIProperty::FLAG_ALIAS = 0x08

property has an alias id

const unsigned long jsdIProperty::FLAG_ARGUMENT = 0x10

argument to function

const unsigned long jsdIProperty::FLAG_ENUMERATE = 0x01

FLAG_* values must be kept in sync with JSDPD_* defines in jsdebug.h.

visible to for/in loop

const unsigned long jsdIProperty::FLAG_ERROR = 0x80

native getter returned JS_FALSE without throwing an exception

const unsigned long jsdIProperty::FLAG_EXCEPTION = 0x40

exception occurred looking up property, value is exception

const unsigned long jsdIProperty::FLAG_HINTED = 0x800

found via explicit lookup (property defined elsewhere.

)

const unsigned long jsdIProperty::FLAG_PERMANENT = 0x04

property cannot be deleted

const unsigned long jsdIProperty::FLAG_READONLY = 0x02

assignment is error

const unsigned long jsdIProperty::FLAG_VARIABLE = 0x20

local variable in function

readonly attribute unsigned long jsdIProperty::flags

FLAG_* values OR'd together, representing the flags for this property.

Internal use only.

Internal use only.

readonly attribute jsdIValue jsdIProperty::name

name for this property.

readonly attribute jsdIValue jsdIProperty::value

value of this property.

readonly attribute unsigned long jsdIProperty::varArgSlot

slot number if this property is a local variable or parameter.


The documentation for this interface was generated from the following files: