KJS::Node Class Reference

Inheritance diagram for KJS::Node:

KJS::AccessorNode1 KJS::AccessorNode2 KJS::AddNode KJS::AppendStringNode KJS::ArgumentListNode KJS::ArgumentsNode KJS::ArrayNode KJS::AssignExprNode KJS::AssignNode KJS::BinaryLogicalNode KJS::BitOperNode KJS::BitwiseNotNode KJS::BooleanNode KJS::CaseBlockNode KJS::CaseClauseNode KJS::ClauseListNode KJS::CommaNode KJS::ConditionalNode KJS::DeleteNode KJS::ElementNode KJS::EqualNode KJS::FuncExprNode KJS::FunctionCallNode KJS::GroupNode KJS::LogicalNotNode KJS::MultNode KJS::NegateNode KJS::NewExprNode KJS::NullNode KJS::NumberNode KJS::ObjectLiteralNode KJS::ParameterNode KJS::PostfixNode KJS::PrefixNode KJS::PropertyNode KJS::PropertyValueNode KJS::RegExpNode KJS::RelationalNode KJS::ResolveNode KJS::ShiftNode KJS::StatementNode KJS::StringNode KJS::ThisNode KJS::TypeOfNode KJS::UnaryPlusNode KJS::VarDeclListNode KJS::VarDeclNode KJS::VoidNode List of all members.

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

Reference Node::evaluateReference ( ExecState exec  )  const [virtual]

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

Reimplemented in KJS::ResolveNode, KJS::GroupNode, KJS::AccessorNode1, and KJS::AccessorNode2.

Definition at line 118 of file nodes.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys