Gnash  0.8.11dev
Public Member Functions | List of all members
gnash::IsStrictArray Class Reference

A visitor to check whether an array is strict or not. More...

#include <Array_as.h>

Inheritance diagram for gnash::IsStrictArray:
gnash::PropertyVisitor

Public Member Functions

 IsStrictArray (VM &st)
 
virtual bool accept (const ObjectURI &uri, const as_value &val)
 This function should return false if no further visits are needed. More...
 
bool strict () const
 
- Public Member Functions inherited from gnash::PropertyVisitor
virtual ~PropertyVisitor ()
 

Detailed Description

A visitor to check whether an array is strict or not.

Strict arrays have no non-hidden non-numeric properties. Only real arrays are strict arrays; any users of this functor should check that first.

Constructor & Destructor Documentation

§ IsStrictArray()

gnash::IsStrictArray::IsStrictArray ( VM st)
inline

References accept(), and test::uri.

Member Function Documentation

§ accept()

bool gnash::IsStrictArray::accept ( const ObjectURI uri,
const as_value val 
)
virtual

This function should return false if no further visits are needed.

Implements gnash::PropertyVisitor.

References gnash::ObjectURI::toString().

Referenced by IsStrictArray().

§ strict()

bool gnash::IsStrictArray::strict ( ) const
inline

The documentation for this class was generated from the following files: