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

Detailed Description
Definition at line 76 of file nodes.h.
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 |
| void | setExceptionDetailsIfNeeded (ExecState *exec) const |
| virtual int | sourceId () const |
Protected Attributes | |
| int | line |
| unsigned int | refcount |
Member Function Documentation
Evaluate this node and return the result, possibly a reference.
Reimplemented in KJS::ResolveNode, KJS::GroupNode, KJS::AccessorNode1, and KJS::AccessorNode2.
Returns the value represented by this node.
Always dereferenced.
Reimplemented in KJS::NullNode, KJS::BooleanNode, KJS::NumberNode, KJS::StringNode, KJS::RegExpNode, KJS::ThisNode, KJS::ResolveNode, KJS::GroupNode, KJS::ElementNode, KJS::ArrayNode, KJS::PropertyValueNode, KJS::PropertyNode, KJS::ObjectLiteralNode, KJS::ArgumentListNode, KJS::ArgumentsNode, KJS::NewExprNode, KJS::FunctionCallNode, KJS::PostfixNode, KJS::DeleteNode, KJS::VoidNode, KJS::TypeOfNode, KJS::PrefixNode, KJS::UnaryPlusNode, KJS::NegateNode, KJS::BitwiseNotNode, KJS::LogicalNotNode, KJS::MultNode, KJS::AddNode, KJS::AppendStringNode, KJS::ShiftNode, KJS::RelationalNode, KJS::EqualNode, KJS::BitOperNode, KJS::BinaryLogicalNode, KJS::ConditionalNode, KJS::AssignNode, KJS::CommaNode, KJS::AssignExprNode, KJS::VarDeclNode, KJS::VarDeclListNode, KJS::CaseClauseNode, KJS::ClauseListNode, KJS::CaseBlockNode, KJS::ParameterNode, and KJS::FuncExprNode.
The documentation for this class was generated from the following files:

