Unicorn XML Toolkit
Version 1.00.00

Namespace EcmaScript
Class CCompletionValue

class CCompletionValue: public CValue {
public:
    CCompletionValue(int nForm);
    CCompletionValue(int nForm, const XValue &pValue);
    ~CCompletionValue();
public:
    int GetType();
    CCompletion *GetCompletion();
    };

The ECMAScript completion value.

Since:
1.00.00
Version:
1.00.00
Author:
Alexey Gokhberg
See Also:
CValue, CCompletion
Constructor/Destructor Summary
CCompletionValue (int nForm);
����������Constructs the completion value with the specified form.
CCompletionValue (int nForm, const XValue &pValue);
����������Constructs the completion value with the specified form and value.
~CCompletionValue ();
����������Destroys the completion value.

Function Summary
int GetType ();
����������Returns type of this value.
CCompletion�* GetCompletion ();
����������Returns a completion associated with this value.

Constructor/Destructor Detail

CCompletionValue

CCompletionValue(int nForm);

Constructs the completion value with the specified form.

The form of the constructed completion value must be specified by nForm parameter; the allowed values are CCompletion::normal , CCompletion::abruptBreak , and CCompletion::abruptContinue .

Parameters:
nForm - the form of this completion value

CCompletionValue

CCompletionValue(int nForm, const XValue &pValue);

Constructs the completion value with the specified form and value.

The form of the constructed completion value must be specified by nForm parameter; the allowed values are CCompletion::normal , CCompletion::abruptBreak , CCompletion::abruptContinue , and CCompletion::abruptReturn .

Parameters:
nForm - the form of this completion value
pValue - the value to associate with this completion value

~CCompletionValue

~CCompletionValue();

Destroys the completion value.

Function Detail

GetType

int GetType();

Returns type of this value.

Returns:
the type of this value (that is, CValue::typeCompletion )

GetCompletion

CCompletion *GetCompletion();

Returns a completion associated with this value.

Returns:
the completion associated with this value

Unicorn XML Toolkit
Version 1.00.00


This document was created using Unicorn DOC++.

Copyright 1999-2001 Unicorn Enterprises SA.
All Rights Reserved.