Public Member Functions | Public Attributes

jsdIObject Interface Reference

Properties specific to values which are also objects. More...

import "jsdIDebuggerService.idl";

Collaboration diagram for jsdIObject:

List of all members.

Public Member Functions

virtual nsresult GetJSDContext (JSDContext **aJSDContext)=0
 Properties specific to values which are also objects.
virtual nsresult GetJSDObject (JSDObject **aJSDObject)=0
 Internal use only.
virtual nsresult GetCreatorURL (nsACString &aCreatorURL)=0
 The URL (filename) that contains the script which caused this object to be created.
virtual nsresult GetCreatorLine (PRUint32 *aCreatorLine)=0
 Line number in the creatorURL where this object was created.
virtual nsresult GetConstructorURL (nsACString &aConstructorURL)=0
 The URL (filename) that contains the script which defined the constructor used to create this object.
virtual nsresult GetConstructorLine (PRUint32 *aConstructorLine)=0
 Line number in the creatorURL where this object was created.
virtual nsresult GetValue (jsdIValue **aValue)=0
 jsdIValue for this object.

Public Attributes

readonly attribute JSDContext JSDContext
 Internal use only.
readonly attribute JSDObject JSDObject
 Internal use only.
readonly attribute AUTF8String creatorURL
 The URL (filename) that contains the script which caused this object to be created.
readonly attribute unsigned long creatorLine
 Line number in the creatorURL where this object was created.
readonly attribute AUTF8String constructorURL
 The URL (filename) that contains the script which defined the constructor used to create this object.
readonly attribute unsigned long constructorLine
 Line number in the creatorURL where this object was created.
readonly attribute jsdIValue value
 jsdIValue for this object.

Detailed Description

Properties specific to values which are also objects.

XXX We don't add roots for these yet, so make sure you hold on to the jsdIValue from whence your jsdIObject instance came for at least as long as you hold the jsdIObject. XXX Maybe the jsClassName, jsConstructorName, and property related attribute/ functions from jsdIValue should move to this interface. We could inherit from jsdIValue or use interface flattening or something.


Member Function Documentation

virtual nsresult jsdIObject::GetConstructorLine ( PRUint32 *  aConstructorLine  )  [pure virtual]

Line number in the creatorURL where this object was created.

virtual nsresult jsdIObject::GetConstructorURL ( nsACString aConstructorURL  )  [pure virtual]

The URL (filename) that contains the script which defined the constructor used to create this object.

virtual nsresult jsdIObject::GetCreatorLine ( PRUint32 *  aCreatorLine  )  [pure virtual]

Line number in the creatorURL where this object was created.

virtual nsresult jsdIObject::GetCreatorURL ( nsACString aCreatorURL  )  [pure virtual]

The URL (filename) that contains the script which caused this object to be created.

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

Properties specific to values which are also objects.

XXX We don't add roots for these yet, so make sure you hold on to the jsdIValue from whence your jsdIObject instance came for at least as long as you hold the jsdIObject. XXX Maybe the jsClassName, jsConstructorName, and property related attribute/ functions from jsdIValue should move to this interface. We could inherit from jsdIValue or use interface flattening or something. Internal use only.

virtual nsresult jsdIObject::GetJSDObject ( JSDObject **  aJSDObject  )  [pure virtual]

Internal use only.

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

jsdIValue for this object.


Member Data Documentation

readonly attribute unsigned long jsdIObject::constructorLine

Line number in the creatorURL where this object was created.

readonly attribute AUTF8String jsdIObject::constructorURL

The URL (filename) that contains the script which defined the constructor used to create this object.

readonly attribute unsigned long jsdIObject::creatorLine

Line number in the creatorURL where this object was created.

readonly attribute AUTF8String jsdIObject::creatorURL

The URL (filename) that contains the script which caused this object to be created.

readonly attribute JSDContext jsdIObject::JSDContext

Internal use only.

readonly attribute JSDObject jsdIObject::JSDObject

Internal use only.

readonly attribute jsdIValue jsdIObject::value

jsdIValue for this object.


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