Logo Search packages:      
Sourcecode: parser version File versions  Download package

VStateless_class Class Reference

#include <pa_vstateless_class.h>

Inheritance diagram for VStateless_class:

Value PA_Allocated Methoded VClass VForm VMail

List of all members.

Detailed Description

object' class. stores

See also:
Method, VStateless_object, Temp_method

Definition at line 40 of file pa_vstateless_class.h.

Public Member Functions

virtual void add_method (const String &name, Method &method)
 virtual for VClass to override to pre-cache property accessors into fields
void add_native_method (const char *cstr_name, Method::Call_type call_type, NativeCodePtr native_code, int min_numbered_params_count, int max_numbered_params_count)
virtual Valueas (const char *atype, bool)
virtual bool as_bool () const
 extract bool
virtual double as_double () const
 extract double
override Valueas_expr_result (bool)
 what's the meaning of this value in context of expression?
virtual int as_int () const
 extract integer
const Stringas_string ()
virtual VFileas_vfile (String::Language lang=String::L_UNSPECIFIED, const Request_charsets *charsets=0)
 extract file
override Valuebase ()
 VStateless_class: fbase.
VStateless_classbase_class ()
virtual Valuebase_object ()
virtual Valuecreate_new_value (Pool &, HashStringValue &)
bool derived_from (VStateless_class &vclass)
override VStateless_classget_class ()
 VStateless_class: this.
override Valueget_default_getter (Value &aself, const String &aname)
override VJunctionget_default_setter (Value &aself, const String &aname)
override Valueget_element (const String &aname, Value &aself, bool alooking_up)
 VStateless_class: $CLASS, $CLASS_NAME, $method.
virtual HashStringValueget_hash ()
virtual Junctionget_junction ()
 extract Junction
virtual VStateless_classget_last_derived_class ()
 extract VStateless_class
Methodget_method (const String &aname) const
virtual Propertyget_property ()
 extract Property
override Valueget_scalar (Value &aself)
virtual const Stringget_string ()
 extract const String
virtual Tableget_table ()
 extract VTable
bool is (const char *atype)
 type checking helper, uses Value::as
virtual bool is_bool () const
 is this value bool?
virtual bool is_defined () const
 is this value defined?
virtual bool is_evaluated_expr () const
 is this value number?
bool is_partial ()
virtual bool is_string () const
 is this value string?
bool is_vars_local ()
virtual bool is_void () const
 is this value void?
void lock ()
const Stringname () const
const char * name_cstr () const
virtual const VJunctionput_element (Value &, const String &aname, Value *, bool)
void set_all_vars_local ()
void set_base (VStateless_class *abase)
override void set_default_getter (Method *amethod)
override void set_default_setter (Method *amethod)
virtual VObjectset_derived (VObject *)
void set_name (const String &aname)
void set_partial ()
override void set_scalar (Method *amethod)
const char * type () const
 value type, used for error reporting and 'is' expression operator
 VStateless_class (const String *aname=0, VStateless_class *abase=0)
just stubs, real onces defined below the hierarchy
virtual Valueget_field (const String &)
virtual bool replace_field (const String &, Value *)

Static Public Member Functions

static void free (void *ptr)
static void * malloc (size_t size)
static void * malloc_atomic (size_t size)
static void operator delete (void *ptr)
static void * operator new (size_t size)
 the sole: instances allocated using our functions
static void * realloc (void *ptr, size_t size)
static char * strdup (const char *auto_variable_never_null, size_t helper_length=0)

Protected Member Functions

Valuebark (const char *reason, const String *problem_source=0) const
 throws exception specifying bark-reason and name() type() of problematic value
void fill_properties (HashStringValue &acache)

Protected Attributes


Private Member Functions

void put_method (const String &aname, Method *amethod)

Private Attributes

bool fall_vars_local
bool flocked
Hash< const String::Body,
Method * > 
const Stringfname
const char * fname_cstr
bool fpartial


class Temp_method

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

Generated by  Doxygen 1.6.0   Back to index