kjs Library API Documentation

KJS::ResolveNode Class Reference

Inheritance diagram for KJS::ResolveNode:

KJS::Node List of all members.

Public Member Functions

 ResolveNode (const Identifier &s)
Reference evaluateReference (ExecState *exec) const
virtual Value evaluate (ExecState *exec) const
virtual void streamTo (SourceStream &s) const

Detailed Description

Definition at line 222 of file nodes.h.


Member Function Documentation

Reference ResolveNode::evaluateReference ExecState exec  )  const [virtual]
 

Evaluate this node and return the result, possibly a reference.

Reimplemented from KJS::Node.

Definition at line 371 of file nodes.cpp.

References KJS::UString::ascii(), KJS::ExecState::context(), endl(), KJS::ObjectImp::hasProperty(), KJS::Context::imp(), KJS::ScopeChain::isEmpty(), KJS::ScopeChain::pop(), KJS::ContextImp::scopeChain(), KJS::ScopeChain::top(), and KJS::Identifier::ustring().

Referenced by evaluate().

Value ResolveNode::evaluate ExecState exec  )  const [virtual]
 

Returns the value represented by this node.

Always dereferenced.

Reimplemented from KJS::Node.

Definition at line 366 of file nodes.cpp.

References evaluateReference(), and KJS::Reference::getValue().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kjs Library Version 3.4.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Mon Jun 12 11:32:53 2006 by doxygen 1.4.4 written by Dimitri van Heesch, © 1997-2003