KJS::ConditionalNode Class Reference

#include <nodes.h>

Inheritance diagram for KJS::ConditionalNode:

KJS::Node List of all members.

Detailed Description

The ternary operator, "logical ? expr1 : expr2".

Definition at line 615 of file nodes.h.


Public Member Functions

 ConditionalNode (Node *l, Node *e1, Node *e2)
virtual void ref ()
virtual bool deref ()
virtual Value evaluate (ExecState *exec) const
virtual void streamTo (SourceStream &s) const

Member Function Documentation

Value ConditionalNode::evaluate ( ExecState exec  )  const [virtual]

Returns the value represented by this node.

Always dereferenced.

Reimplemented from KJS::Node.

Definition at line 1524 of file nodes.cpp.


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