Serialized Form
values
Hashtable<K,V> values
readObject
private void readObject(ObjectInputStream in)
throws IOException,
ClassNotFoundException
- Throws:
IOException
ClassNotFoundException
writeObject
private void writeObject(ObjectOutputStream out)
throws IOException
- Throws:
IOException
id
int id
code
Block code
- the block of code associated with this sleep closure
owner
ScriptInstance owner
- the owning script associated with this sleep closure
context
Stack<E> context
- the saved context of this closure
metadata
HashMap<K,V> metadata
- the meta data for this closure context
variables
Variable variables
- the closure variables referenced by this closure
first
Step first
- our first step in this block
last
Step last
- our last step in this block
source
String source
- an identifier/tag/whatever identifying the source of this block (i.e. somescript.sl)
line
int line
- the script line number that this step was generated from
next
Step next
- Steps act as a simple self contained linked list
Package sleep.engine.atoms |
variable
Block variable
operator
Step operator
operator
Step operator
funcenv
String funcenv
code
Block code
name
Block name
funcenv
String funcenv
code
Block code
filter
String filter
name
String name
funcenv
String funcenv
pred
Check pred
code
Block code
function
String function
iftrue
Check iftrue
iffalse
Check iffalse
setup
Block setup
negate
boolean negate
name
String name
hint
int hint
block
Block block
iftrue
Block iftrue
iffalse
Block iffalse
start
Check start
value
String value
iftrue
Block iftrue
start
Check start
increment
Block increment
value
String value
index
Block index
type
int type
key
String key
value
String value
name
String name
classRef
Class<T> classRef
name
Class<T> name
oper
String oper
fragments
List<E> fragments
return_type
int return_type
value
Scalar value
owner
Block owner
handler
Block handler
var
String var
Package sleep.engine.types |
value
double value
values
Map<K,V> values
value
int value
values
List<E> values
value
long value
readObject
private void readObject(ObjectInputStream in)
throws IOException,
ClassNotFoundException
- Throws:
IOException
ClassNotFoundException
writeObject
private void writeObject(ObjectOutputStream out)
throws IOException
- Throws:
IOException
value
Object value
shouldClean
boolean shouldClean
missPolicy
SleepClosure missPolicy
- policy function for what to do when a miss occurs
removalPolicy
SleepClosure removalPolicy
- policy function for what to do when a hit occurs
value
String value
allErrors
LinkedList<E> allErrors
values
Collection<E> values
array
Object[] array
values
Map<K,V> values
readObject
private void readObject(ObjectInputStream in)
throws IOException,
ClassNotFoundException
- Throws:
IOException
ClassNotFoundException
writeObject
private void writeObject(ObjectOutputStream out)
throws IOException
- Throws:
IOException
value
ScalarType value
array
ScalarArray array
hash
ScalarHash hash
self
ScriptInstance self
- the script instance that this is the environment for
environmentStack
Stack<E> environmentStack
- the runtime data stack for this environment
environment
Hashtable<K,V> environment
- the environment hashtable that contains all of the functions, predicates, operators, and "environment keywords" this
script has access to.
errorMessage
Object errorMessage
- stored error message...
context
Stack<E> context
contextStack
Stack<E> contextStack
metadata
HashMap<K,V> metadata
metaStack
Stack<E> metaStack
currentHandler
ScriptEnvironment.ExceptionContext currentHandler
exhandlers
Stack<E> exhandlers
moreHandlers
boolean moreHandlers
debugString
String debugString
rv
Scalar rv
request
int request
sources
Stack<E> sources
- how many stacks does this damned class include?
frames
ArrayList<E> frames
findex
int findex
block
Block block
last
Step last
handler
ScriptEnvironment.ExceptionContext handler
moreHandlers
boolean moreHandlers
owner
Block owner
varname
String varname
handler
Block handler
name
String name
- the name of this script
loaded
boolean loaded
- true by default, indicates wether or not the script is loaded. Once unloaded this variable must be flagged to false so
the bridges know data related to this script is stale
watchers
LinkedList<E> watchers
- A list of listeners watching for a runtime error
environment
ScriptEnvironment environment
- The script environment which contains all of the runtime info for a script
variables
ScriptVariables variables
- The script variables which contains all of the variable information for a script
script
SleepClosure script
- The compiled sleep code for this script, the ScriptLoader will set this value upon loading a script.
debug
int debug
- track all of the flagged debug options for this script (set to DEBUG_SHOW_ERRORS by default)
loadTime
long loadTime
- track the time this script was loaded
sourceFiles
List<E> sourceFiles
- list of source files associated with this script (to account for &include)
parent
IOObject parent
functionName
String functionName
- the name of the function call
ticks
long ticks
- the total number of ticks consumed by this function call
calls
long calls
- the total number of times this function has been called
sourcefile
String sourcefile
description
String description
lineNumber
int lineNumber
global
Variable global
closure
LinkedList<E> closure
locals
LinkedList<E> locals
marks
Stack<E> marks
readObject
private void readObject(ObjectInputStream in)
throws IOException,
ClassNotFoundException
- Throws:
IOException
ClassNotFoundException
writeObject
private void writeObject(ObjectOutputStream out)
throws IOException
- Throws:
IOException
owner
ScriptEnvironment owner
name
String name
wrapped
Step wrapped
function
Object function
function
Object function
source
ScalarArray source
function
String function
value
ScalarType value
function
Object function
source
ScalarHash source
name
String name
classRef
Class<T> classRef
oper
String oper