-
Notifications
You must be signed in to change notification settings - Fork 58
Internal jBinary Methods
Ingvar Stepanyan edited this page Aug 27, 2013
·
4 revisions
-
getType(type)
: Returns constructedjBinary.Type
instance from given descriptor. -
createProperty(type)
: Constructs property from given type linked to current binary. -
getContext(filter)
: Get object context specified byfilter
. Possible filter types:- not set - current context will be returned.
- number -
filter
will be used as relative depth (0 is current context, 1 for parent and so on). - string - will look for closest context that contains property name equal to
filter
. - function - will be used as boolean function (
true
to stop) while bubbling up through contexts.
-
inContext(newContext, callback)
: Executes function inside given context.