I'm really starting to hate typing...
I'm really starting to hate typing... shortcut for getAttr
add these attributes to an url, respecting the url parm format, i.e.
add these attributes to an url, respecting the url parm format, i.e. getMovie?name=300.divx&producer=whoknows
define a new function - these are evaluated every time they are invoked.
define a new function - these are evaluated every time they are invoked. these also overwrite another symbol, so you can redefine a symbol to do something else.
DO NOT forget to seal a context before passing it to untrusted plugins
the value of the named attribute or null, coerced into an option of the given type
the value of the named attribute or null
the type of the named attribute OR null if not known. Default is by convention String
the value of the named attribute or null
iterate through the populated attributes.
iterate through the populated attributes. BE very careful: if you set attrs with NULL values, they are NOT populated!
TODO 3 FUNC use guards, document
check if an attribute is populated
check if an attribute is populated
check if an attribute is populated
check if an attribute is populated
content assist options
content assist options
- the line that needs assist
- the position it needs assist - normally script.length-1
Reset this context.
Reset this context. Normally a context would cache a parser/interpreter instance. Reset will make sure this is in pristine condition .
NOTE that any state MAY be erased. Any variable/values defined in previous scripts may be erased. It is often that the individual interpreter instances cache local values, which would disapear.
most of the time they're just strings - i'll typecast here...
most of the time they're just strings - i'll typecast here... this is a() typcast to String
"" or the actual toString of the respective value
set the value of the named attribute + the name can be of the form name:type
set the value of the named attribute + the name can be of the form name:type
set the value of the named attribute + the name can be of the form name:type
set the value of the named attribute + the name can be of the form name:type
set the value of the named attribute + the name can be of the form name:type
set the value of the named attribute + the name can be of the form name:type
set the type of the named attribute
set the type of the named attribute
the number of populated attributes
the number of populated attributes
add my attributes to the JSONObject passed in.
add my attributes to the JSONObject passed in. If null passed in, empty object is created first
an json object to add to or null if this is a single element
same pairs format name,value,name,value...
same pairs format name,value,name,value...
some random xml format
some random xml format
remove a function
TODO 3 FUNC use guards, document
make execution verbose or not
actions execute in a context of objects available at that time in that environment.
a context is a set of objects in certain roles, like the current_movie or current_player etc. Contexts are a central concept in programming.
This class may go away and be replaced with the jdk1.6 scriptables.
it's used to run activities and scripts $
You can define functions, which are evaluated every time