24 #ifndef _KJS_COMPLETION_H_
25 #define _KJS_COMPLETION_H_
27 #include "identifier.h"
35 enum ComplType { Normal, Break, Continue, ReturnValue, Throw };
54 : comp(c), val(v), tar(t) { }
56 ComplType complType()
const {
return comp; }
57 Value value()
const {
return val; }
59 bool isValueCompletion()
const {
return val.isValid(); }
Value objects are act as wrappers ("smart pointers") around ValueImp objects and their descendents...
Completion objects are used to convey the return status and value from functions. ...
static const Identifier & null()
Creates an empty Identifier.
Represents an Identifier for a Javascript object.