Struct jac::ProtoBuilder::Properties
ClassList > jac > ProtoBuilder > Properties
A base class for javascript classes with added properties. More...
#include <class.h>
Inherited by the following classes: jac::FileProtoBuilder, jac::ReadableProtoBuilder, jac::WritableProtoBuilder
Public Static Functions
Type | Name |
---|---|
void | addProperties (ContextRef ctx, Object proto) Add properties to the object prototype. |
Detailed Description
The function addProperties
can be overriden to specify custom properties for the class prototype.
Public Static Functions Documentation
function addProperties
Add properties to the object prototype.
Note:
This function is only called when the class prototype is created
Parameters:
ctx
context to work inproto
the prototype of the class
The documentation for this class was generated from the following file src/jac/machine/class.h