Serialized Form


Package sleep.bridges

Class sleep.bridges.SleepClosure extends java.lang.Object implements Serializable

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

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

java.util.Stack<E> context
the saved context of this closure


metadata

java.util.HashMap<K,V> metadata
the meta data for this closure context


variables

Variable variables
the closure variables referenced by this closure


Package sleep.engine

Class sleep.engine.Block extends java.lang.Object implements Serializable

Serialized Fields

first

Step first
our first step in this block


last

Step last
our last step in this block


source

java.lang.String source
an identifier/tag/whatever identifying the source of this block (i.e. somescript.sl)


Package sleep.engine.atoms

Class sleep.engine.atoms.Check extends java.lang.Object implements Serializable

Serialized Fields

iftrue

Check iftrue

iffalse

Check iffalse

setup

Block setup

negate

boolean negate

name

java.lang.String name

hint

int hint

Package sleep.error

Class sleep.error.YourCodeSucksException extends java.lang.RuntimeException implements Serializable

Serialized Fields

allErrors

java.util.LinkedList<E> allErrors

Package sleep.interfaces

Package sleep.runtime

Class sleep.runtime.Scalar extends java.lang.Object implements Serializable

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

value

ScalarType value

array

ScalarArray array

hash

ScalarHash hash

Class sleep.runtime.ScriptEnvironment extends java.lang.Object implements Serializable

Serialized Fields

self

ScriptInstance self
the script instance that this is the environment for


environmentStack

java.util.Stack<E> environmentStack
the runtime data stack for this environment


environment

java.util.Hashtable<K,V> environment
the environment hashtable that contains all of the functions, predicates, operators, and "environment keywords" this script has access to.


errorMessage

java.lang.Object errorMessage
stored error message...


context

java.util.Stack<E> context

contextStack

java.util.Stack<E> contextStack

metadata

java.util.HashMap<K,V> metadata

metaStack

java.util.Stack<E> metaStack

currentHandler

ScriptEnvironment.ExceptionContext currentHandler

exhandlers

java.util.Stack<E> exhandlers

moreHandlers

boolean moreHandlers

debugString

java.lang.String debugString

rv

Scalar rv

request

int request

sources

java.util.Stack<E> sources
how many stacks does this damned class include?


frames

java.util.ArrayList<E> frames

findex

int findex

Class sleep.runtime.ScriptEnvironment.Context extends java.lang.Object implements Serializable

Serialized Fields

block

Block block

last

Step last

handler

ScriptEnvironment.ExceptionContext handler

moreHandlers

boolean moreHandlers

Class sleep.runtime.ScriptEnvironment.ExceptionContext extends java.lang.Object implements Serializable

Serialized Fields

owner

Block owner

varname

java.lang.String varname

handler

Block handler

Class sleep.runtime.ScriptInstance extends java.lang.Object implements Serializable

Serialized Fields

name

java.lang.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

java.util.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

java.util.List<E> sourceFiles
list of source files associated with this script (to account for &include)


parent

IOObject parent

Class sleep.runtime.ScriptInstance.ProfilerStatistic extends java.lang.Object implements Serializable

Serialized Fields

functionName

java.lang.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

Class sleep.runtime.ScriptInstance.SleepStackElement extends java.lang.Object implements Serializable

Serialized Fields

sourcefile

java.lang.String sourcefile

description

java.lang.String description

lineNumber

int lineNumber

Class sleep.runtime.ScriptVariables extends java.lang.Object implements Serializable

Serialized Fields

global

Variable global

closure

java.util.LinkedList<E> closure

locals

java.util.LinkedList<E> locals

marks

java.util.Stack<E> marks