KJS::Node Class Reference
Inheritance diagram for KJS::Node:

Public Member Functions | |
Node () | |
virtual | ~Node () |
virtual Type | type () const |
virtual Reference | evaluateReference (ExecState *exec) const |
virtual Value | evaluate (ExecState *exec) const |
virtual bool | toBoolean (ExecState *exec) const |
virtual double | toNumber (ExecState *exec) const |
virtual UString | toString (ExecState *exec) const |
UString | toCode () const |
virtual void | streamTo (SourceStream &s) const =0 |
virtual void | processVarDecls (ExecState *) |
int | lineNo () const |
virtual void | ref () |
virtual bool | deref () |
Protected Member Functions | |
Value | throwError (ExecState *exec, ErrorType e, const char *msg) const |
Value | throwError (ExecState *exec, ErrorType e, const char *msg, const Value &v, const Node *expr) const |
Value | throwError (ExecState *exec, ErrorType e, const char *msg, Identifier label) const |
virtual int | sourceId () const |
Protected Attributes | |
int | line |
unsigned int | refcount |
Detailed Description
Definition at line 76 of file nodes.h.
Member Function Documentation
|
Evaluate this node and return the result, possibly a reference.
Reimplemented in KJS::ResolveNode, KJS::GroupNode, KJS::AccessorNode1, and KJS::AccessorNode2. Definition at line 110 of file nodes.cpp. References evaluate(), and KJS::Reference::makeValueReference(). Referenced by KJS::AssignNode::evaluate(), KJS::PrefixNode::evaluate(), KJS::TypeOfNode::evaluate(), KJS::DeleteNode::evaluate(), KJS::PostfixNode::evaluate(), KJS::FunctionCallNode::evaluate(), evaluate(), KJS::GroupNode::evaluateReference(), and KJS::ForInNode::execute(). |
|
The documentation for this class was generated from the following files: