Public Member Functions

nsIJSContextStackIterator Interface Reference

import "nsIJSContextStack.idl";

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.

Member Function Documentation

boolean nsIJSContextStackIterator::done (  ) 

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

Exceptions:
NS_ERROR_NOT_INITIALIZED If there has not been a previous call to reset.
JSContext nsIJSContextStackIterator::prev (  ) 

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_INITIALIZED If there has not been a previous call to reset.
NS_ERROR_NOT_AVAILABLE if already at the end.
void nsIJSContextStackIterator::reset ( in nsIJSContextStack  stack  ) 

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


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