Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsIJSContextStackIterator Interface Reference

import "nsIJSContextStack.idl";

Inheritance diagram for nsIJSContextStackIterator:
Inheritance graph
[legend]
Collaboration diagram for nsIJSContextStackIterator:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void reset (in nsIJSContextStack stack)
 Resets this iterator to the beginning of this thread's stack.
boolean done ()
 Returns true if this iterator is at the end of its stack's contexts.
JSContext prev ()
 Returns the prev JSContext off of stack.

Detailed Description

Definition at line 55 of file nsIJSContextStack.idl.


Member Function Documentation

Returns true if this iterator is at the end of its stack's contexts.

Exceptions:
NS_ERROR_NOT_INITIALIZEDIf there has not been a previous call to reset.

Returns the prev JSContext off of stack.

Note that because we're iterating over a stack, this value would be the next popped value.

Exceptions:
NS_ERROR_NOT_INITIALIZEDIf there has not been a previous call to reset.
NS_ERROR_NOT_AVAILABLEif already at the end.

Resets this iterator to the beginning of this thread's stack.


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