Alphabetical Index

A B C D E F G H I J K L M N O P R S T U V W Y

A

add(sleep.engine.Step) - method in class sleep.engine.Block
add(sleep.parser.Token) - method in class sleep.parser.TokenList
add(sleep.runtime.Scalar,int) - method in class sleep.bridges.ArgumentArray
add(sleep.runtime.Scalar,int) - method in class sleep.engine.types.ArrayContainer
add(sleep.runtime.Scalar,int) - method in class sleep.runtime.CollectionWrapper
add(sleep.runtime.Scalar,int) - method in class sleep.runtime.ScalarArray
addComment(String) - method in class sleep.parser.Parser
addFragment(int,Object) - method in class sleep.engine.atoms.PLiteral
A global bridge is loaded into an environment once and only once.
addKeyword(String) - static method in class sleep.parser.Checkers
addKeyword(String) - static method in class sleep.parser.ParserConfig
registers "keyword" as a keyword with the parser.
addKeyword(String) - static method in class sleep.runtime.SleepUtils
registers "keyword" as a keyword with the parser.
A specific bridge is loaded into *every* script regardless of wether or not the environment is shared.
addStatement(sleep.parser.Statement) - method in class sleep.parser.Parser
Register a runtime warning watcher listener.
ALIGN_FRAGMENT - static field in class sleep.engine.atoms.PLiteral
allocate(int) - method in class sleep.bridges.io.BufferObject
allocates a writeable buffer with the specified initial capacity
ARG_MATCH_MAYBE - static field in class sleep.engine.ObjectUtilities
when looking for a Java method that matches the sleep args, we save the maybes and use them as a last resort if no yes match is found
ARG_MATCH_NO - static field in class sleep.engine.ObjectUtilities
when looking for a Java method that matches the sleep args, we immediately drop all of the no answers.
ARG_MATCH_YES - static field in class sleep.engine.ObjectUtilities
when looking for a Java method that matches the sleep args, we use a Yes match immediately
ArgumentArray - class sleep.bridges.ArgumentArray
ArgumentArray(int,sleep.interfaces.Variable) - constructor for class sleep.bridges.ArgumentArray
array - field in class sleep.runtime.CollectionWrapper
array - field in class sleep.runtime.Scalar
ArrayContainer - class sleep.engine.types.ArrayContainer
ArrayContainer() - constructor for class sleep.engine.types.ArrayContainer
ArrayContainer(Collection) - constructor for class sleep.engine.types.ArrayContainer
initial values must be a collection of Scalar's
Assign - class sleep.engine.atoms.Assign
Assign(sleep.engine.Block) - constructor for class sleep.engine.atoms.Assign
Assign(sleep.engine.Block) - static method in class sleep.engine.GeneratedSteps
Assign(sleep.engine.Block,sleep.engine.atoms.Operate) - constructor for class sleep.engine.atoms.Assign
AssignAndOperate(sleep.engine.Block,String) - static method in class sleep.engine.GeneratedSteps
AssignT - class sleep.engine.atoms.AssignT
AssignT() - constructor for class sleep.engine.atoms.AssignT
AssignT() - static method in class sleep.engine.GeneratedSteps
AssignT(sleep.engine.atoms.Operate) - constructor for class sleep.engine.atoms.AssignT
AssignTupleAndOperate(String) - static method in class sleep.engine.GeneratedSteps

B

BACKTICK_RULE - static field in class sleep.parser.LexicalAnalyzer
backup() - method in class sleep.parser.CodeGenerator
BACKUP_BLOCKS - field in class sleep.parser.CodeGenerator
BasicIO - class sleep.bridges.BasicIO
provides IO functions for the sleep language
BasicNumbers - class sleep.bridges.BasicNumbers
provides some of the basic number crunching functionality
BasicNumbers() - constructor for class sleep.bridges.BasicNumbers
BasicStrings - class sleep.bridges.BasicStrings
provides basic string parsing facilities
BasicSubroutine - class sleep.bridges.BasicSubroutine
The actual implementation of each subroutine declared with the sub keyword.
BasicUtilities - class sleep.bridges.BasicUtilities
implementation of basic utility functions
begin - field in class sleep.parser.StringIterator
Bind - class sleep.engine.atoms.Bind
Bind(String,sleep.engine.Block,sleep.engine.Block) - constructor for class sleep.engine.atoms.Bind
BindFilter - class sleep.engine.atoms.BindFilter
BindFilter(String,String,sleep.engine.Block,String) - constructor for class sleep.engine.atoms.BindFilter
binds a function (functionName) of a certain type (typeKeyword) to the defined functionBody.
binds a function (functionName) of a certain type (typeKeyword) to the defined functionBody.
BindPredicate - class sleep.engine.atoms.BindPredicate
binds a function (functionName) of a certain type (typeKeyword) to the defined functionBody.
block - field in class sleep.runtime.ScriptEnvironment.Context
Block - class sleep.engine.Block
A Block is the fundamental unit of parsed and ready to execute sleep code.
Block(String) - constructor for class sleep.engine.Block
BLOCK_CACHE - static field in class sleep.runtime.ScriptLoader
cache for parsed scripts mantained (optionally) by the script loader.
BLOCK_RULE - static field in class sleep.parser.LexicalAnalyzer
BOOLEAN_TYPE - static field in class sleep.engine.ObjectUtilities
various primitives...
bridgesg - field in class sleep.runtime.ScriptLoader
global bridges
bridgess - field in class sleep.runtime.ScriptLoader
specific bridges
BridgeUtilities - class sleep.bridges.BridgeUtilities
A bridge is a class that bridges your applications API and sleep.
buffer - field in class sleep.bridges.io.IOObject
BufferObject - class sleep.bridges.io.BufferObject
The buffer works as follows.
BuildScalar(boolean,Object) - static method in class sleep.engine.ObjectUtilities
BYTE_TYPE - static field in class sleep.engine.ObjectUtilities
various primitives...

C

Call - class sleep.engine.atoms.Call
Call(String) - constructor for class sleep.engine.atoms.Call
Call(String) - static method in class sleep.engine.GeneratedSteps
"Safely" calls this closure.
callFunction(String,Stack) - method in class sleep.runtime.ScriptInstance
Calls a subroutine/built-in function using this scripts
calls - field in class sleep.runtime.ScriptInstance.ProfilerStatistic
the total number of times this function has been called
CHARACTER_TYPE - static field in class sleep.engine.ObjectUtilities
various primitives...
Check - class sleep.engine.atoms.Check
A check object is the internal atomic step representing a predicate condition.
check(sleep.runtime.ScriptEnvironment) - method in class sleep.engine.atoms.Check
Performs this "check".
Check(String,sleep.engine.Block) - constructor for class sleep.engine.atoms.Check
Constructs a check object, call by the sleep engine.
Check(String,sleep.engine.Block) - static method in class sleep.engine.GeneratedSteps
checkError() - method in class sleep.runtime.ScriptEnvironment
once an error is checked using this function, it is cleared, the orignal error message is returned as well
Checkers - class sleep.parser.Checkers
A class that provides a bunch of static methods for checking a stream of sleep tokens for a certain lexical structure.
classes - field in class sleep.parser.Parser
classRef - field in class sleep.engine.atoms.ObjectAccess
clearReturn() - method in class sleep.runtime.ScriptEnvironment
close - field in class sleep.parser.Rule
close() - method in class sleep.bridges.io.BufferObject
handles our closing semantices i.e.
close() - method in class sleep.bridges.io.IOObject
Closes all of the reader's / writer's opened by this IOObject.
close() - method in class sleep.bridges.io.ProcessObject
close() - method in class sleep.bridges.io.SocketObject
code - field in class sleep.parser.Parser
code - field in class sleep.error.SyntaxError
CodeGenerator - class sleep.parser.CodeGenerator
Generates code for the parser.
CodeGenerator(sleep.parser.Parser) - constructor for class sleep.parser.CodeGenerator
collect(String,int,long) - method in class sleep.runtime.ScriptInstance
this function is used internally by the sleep interpreter to collect profiler statistics when DEBUG_TRACE_CALLS or DEBUG_TRACE_PROFILE_ONLY is enabled
CollectionWrapper - class sleep.runtime.CollectionWrapper
A read only scalar array for wrapping data structures that implement the java.util.Collection interface.
CollectionWrapper(Collection) - constructor for class sleep.runtime.CollectionWrapper
COMMENT_RULE - static field in class sleep.parser.LexicalAnalyzer
CommentRule - class sleep.parser.CommentRule
comments - field in class sleep.parser.Parser
an identifier for the script file.
compareTo(Object) - method in class sleep.runtime.ScriptInstance.ProfilerStatistic
used to compare this statistic to other statistics for the sake of sorting
compile(String,String) - static method in class sleep.bridges.Transliteration
Compiles the translation pattern.
compile(String,String,int) - static method in class sleep.bridges.Transliteration
Compiles the translation pattern.
compileScript(File) - method in class sleep.runtime.ScriptLoader
compiles the specified script file
compileScript(String) - method in class sleep.runtime.ScriptLoader
compiles the specified script file
compileScript(String,InputStream) - method in class sleep.runtime.ScriptLoader
compiles a script using the specified stream as a source
compileScript(String,String) - method in class sleep.runtime.ScriptLoader
compiles the specified script into a runnable block
The ConsoleImplementation is the "engine" behind the sleep console.
ConsoleImplementation() - constructor for class sleep.console.ConsoleImplementation
Creates an implementation of the sleep console.
Creates an implementation of the sleep console that shares what your application is already using.
consolePrint(String) - method in class sleep.console.ConsoleImplementation
Dummy implementation, does nothing really.
consolePrint(String) - method in class sleep.console.ConsoleProxy
print a message to the console with no newline
consolePrint(String) - method in class sleep.console.TextConsole
print a message to the console with no newline
consolePrintln(Object) - method in class sleep.console.ConsoleImplementation
Dummy implementation, does nothing.
consolePrintln(Object) - method in class sleep.console.ConsoleProxy
print a message to the console with a newline
consolePrintln(Object) - method in class sleep.console.TextConsole
print a message to the console with a newline
ConsoleProxy - interface sleep.console.ConsoleProxy
a necessary interface for creating a front end to the sleep console.
consoleReadln() - method in class sleep.console.ConsoleImplementation
Dummy implementation, always returns null.
consoleReadln() - method in class sleep.console.ConsoleProxy
read a message in from the console.
consoleReadln() - method in class sleep.console.TextConsole
read a message in from the console.
contextStack - field in class sleep.runtime.ScriptEnvironment
convertDescriptionToClass(String) - static method in class sleep.engine.ObjectUtilities
converts the one character class description to the specified Class type, i.e.
copy(int) - method in class sleep.parser.Token
copy(String) - method in class sleep.parser.Token
copyRule() - method in class sleep.parser.CommentRule
copyRule() - method in class sleep.parser.Rule
copyValue() - method in class sleep.engine.types.DoubleValue
create a clone of this scalar's value.
copyValue() - method in class sleep.engine.types.IntValue
copyValue() - method in class sleep.engine.types.LongValue
create a clone of this scalar's value.
copyValue() - method in class sleep.engine.types.NullValue
create a clone of this scalar's value.
copyValue() - method in class sleep.engine.types.ObjectValue
create a clone of this scalar's value.
copyValue() - method in class sleep.runtime.ScalarType
create a clone of this scalar's value.
copyValue() - method in class sleep.engine.types.StringValue
count - field in class sleep.bridges.io.DataPattern
count - field in class sleep.engine.atoms.Iterate.IteratorData
CreateClosure - class sleep.engine.atoms.CreateClosure
CreateClosure(sleep.engine.Block) - constructor for class sleep.engine.atoms.CreateClosure
CreateClosure(sleep.engine.Block) - static method in class sleep.engine.GeneratedSteps
CreateFrame - class sleep.engine.atoms.CreateFrame
CreateFrame() - static method in class sleep.engine.GeneratedSteps
CreateFrame() - method in class sleep.runtime.ScriptEnvironment
createInternalVariableContainer() - method in class sleep.bridges.DefaultVariable
createInternalVariableContainer() - method in class sleep.interfaces.Variable
returns which variable environment is used to store non-global / non-local variables.
createLocalVariableContainer() - method in class sleep.bridges.DefaultVariable
createLocalVariableContainer() - method in class sleep.interfaces.Variable
returns which variable environment is used to temporarily store local variables.
CURRENT_BLOCK - field in class sleep.parser.CodeGenerator

D

DataPattern - class sleep.bridges.io.DataPattern
A DataPattern represents a data format for Sleep's IO functions.
debug - field in class sleep.runtime.ScriptInstance
track all of the flagged debug options for this script (set to DEBUG_SHOW_ERRORS by default)
DEBUG_NONE - static field in class sleep.runtime.ScriptInstance
debug should be absolutely quiet, never fire any runtime warnings
DEBUG_REQUIRE_STRICT - static field in class sleep.runtime.ScriptInstance
fire runtime warning whenever an undeclared variable is fired
DEBUG_SHOW_ERRORS - static field in class sleep.runtime.ScriptInstance
fire runtime warnings for all critical flow interrupting errors
DEBUG_SHOW_WARNINGS - static field in class sleep.runtime.ScriptInstance
fire runtime warnings for anything flagged for retrieval with checkError()
DEBUG_TRACE_CALLS - static field in class sleep.runtime.ScriptInstance
fire a runtime warning describing each function call
DEBUG_TRACE_PROFILE_ONLY - static field in class sleep.runtime.ScriptInstance
forces function call tracing to occur (for the sake of profiling a script) but supresses all runtime warnings as a result of the tracing
debugString - field in class sleep.runtime.ScriptEnvironment
Decide - class sleep.engine.atoms.Decide
Decide(sleep.engine.atoms.Check) - constructor for class sleep.engine.atoms.Decide
decides the truthfulness of the proposition predicateName applied to the passedInTerms.
decides the truthfulness of the proposition predicateName applied to the passedInTerms.
decides the truthfulness of the proposition predicateName applied to the passedInTerms.
DefaultVariable - class sleep.bridges.DefaultVariable
DefaultVariable() - constructor for class sleep.bridges.DefaultVariable
describe(sleep.runtime.Scalar) - static method in class sleep.runtime.SleepUtils
returns a string description of the specified scalar.
describe(Stack) - static method in class sleep.runtime.SleepUtils
returns a comma separated list of descriptions of the scalars in the specified argument stack.
description - field in class sleep.error.SyntaxError
disableConversions - field in class sleep.runtime.ScriptLoader
DOUBLE_TYPE - static field in class sleep.engine.ObjectUtilities
various primitives...
DoubleValue - class sleep.engine.types.DoubleValue
doubleValue() - method in class sleep.engine.types.DoubleValue
convert the scalar to a double
doubleValue() - method in class sleep.engine.types.IntValue
doubleValue() - method in class sleep.engine.types.LongValue
convert the scalar to a double
doubleValue() - method in class sleep.engine.types.NullValue
convert the scalar to a double
doubleValue() - method in class sleep.engine.types.ObjectValue
convert the scalar to a double
doubleValue() - method in class sleep.runtime.Scalar
the double value of this scalar
doubleValue() - method in class sleep.runtime.ScalarType
convert the scalar to a double
doubleValue() - method in class sleep.engine.types.StringValue
DoubleValue(double) - constructor for class sleep.engine.types.DoubleValue
DQUOTE_RULE - static field in class sleep.parser.LexicalAnalyzer

E

EndOfTerm - static field in class sleep.parser.LexicalAnalyzer
EndOfTerm - field in class sleep.parser.Parser
environment - field in class sleep.runtime.ScriptEnvironment
the environment hashtable that contains all of the functions, predicates, operators, and "environment keywords" this script has access to.
environment - field in class sleep.runtime.ScriptInstance
The script environment which contains all of the runtime info for a script
Environment - interface sleep.interfaces.Environment
Blocks of code associated with an identifier are processed by their environment.
environmentStack - field in class sleep.runtime.ScriptEnvironment
the runtime data stack for this environment
errorMessage - field in class sleep.runtime.ScriptEnvironment
stored error message...
errors - field in class sleep.parser.Parser
a list of all of the comments from the script file
escape_constants - static field in class sleep.parser.CodeGenerator
EstimateSize(String) - static method in class sleep.bridges.io.DataPattern
evaluate(sleep.runtime.ScriptEnvironment) - method in class sleep.engine.atoms.Assign
evaluate(sleep.runtime.ScriptEnvironment) - method in class sleep.engine.atoms.AssignT
evaluate(sleep.runtime.ScriptEnvironment) - method in class sleep.engine.atoms.Bind
evaluate(sleep.runtime.ScriptEnvironment) - method in class sleep.engine.atoms.BindFilter
evaluate(sleep.runtime.ScriptEnvironment) - method in class sleep.engine.atoms.BindPredicate
evaluate(sleep.runtime.ScriptEnvironment) - method in class sleep.engine.Block
evaluates this block of code.
evaluate(sleep.runtime.ScriptEnvironment) - method in class sleep.engine.atoms.Call
evaluate(sleep.runtime.ScriptEnvironment) - method in class sleep.engine.atoms.CreateClosure
evaluate(sleep.runtime.ScriptEnvironment) - method in class sleep.engine.atoms.CreateFrame
evaluate(sleep.runtime.ScriptEnvironment) - method in class sleep.engine.atoms.Decide
evaluate(sleep.runtime.ScriptEnvironment) - method in class sleep.engine.atoms.Get
evaluate(sleep.runtime.ScriptEnvironment) - method in class sleep.engine.atoms.Goto
evaluate(sleep.runtime.ScriptEnvironment) - method in class sleep.engine.atoms.Index
evaluate(sleep.runtime.ScriptEnvironment) - method in class sleep.engine.atoms.Iterate
evaluate(sleep.runtime.ScriptEnvironment) - method in class sleep.engine.atoms.ObjectAccess
evaluate(sleep.runtime.ScriptEnvironment) - method in class sleep.engine.atoms.ObjectNew
evaluate(sleep.runtime.ScriptEnvironment) - method in class sleep.engine.atoms.Operate
evaluate this atomic step.
evaluate(sleep.runtime.ScriptEnvironment) - method in class sleep.engine.atoms.PLiteral
evaluate(sleep.runtime.ScriptEnvironment) - method in class sleep.engine.atoms.Return
evaluate this atomic step.
evaluate(sleep.runtime.ScriptEnvironment) - method in class sleep.engine.Step
evaluate this atomic step.
evaluate(sleep.runtime.ScriptEnvironment) - method in class sleep.engine.atoms.SValue
evaluates this block of code.
Evaluate a function and return the resulting scalar.
Evaluate a function and return the resulting scalar.
Evaluate a function and return the resulting scalar.
Evaluates the closure, use callClosure instead.
evaluateExpression(String) - method in class sleep.runtime.ScriptEnvironment
evaluates an expression
evaluateOldContext() - method in class sleep.runtime.ScriptEnvironment
evaluateParsedLiteral(String) - method in class sleep.runtime.ScriptEnvironment
evaluates the passed in code as if it was a sleep parsed literal
evaluatePredicate(String) - method in class sleep.runtime.ScriptEnvironment
evaluates a predicate condition
evaluateStatement(String) - method in class sleep.runtime.ScriptEnvironment
evaluate a full blown statement...
Evaluate the specified string value.
Evaluation - interface sleep.interfaces.Evaluation
A Sleep evaluation is a way to define how a `back quoted` string should work.
executeMe - field in class sleep.parser.Parser
a list of all of the statements
EXPR_ASSIGNMENT - static field in class sleep.parser.ParserConstants
EXPR_ASSIGNMENT_OP - static field in class sleep.parser.ParserConstants
EXPR_ASSIGNMENT_T - static field in class sleep.parser.ParserConstants
EXPR_ASSIGNMENT_T_OP - static field in class sleep.parser.ParserConstants
EXPR_BIND - static field in class sleep.parser.ParserConstants
EXPR_BIND_FILTER - static field in class sleep.parser.ParserConstants
EXPR_BIND_PRED - static field in class sleep.parser.ParserConstants
EXPR_BLOCK - static field in class sleep.parser.ParserConstants
EXPR_BREAK - static field in class sleep.parser.ParserConstants
EXPR_ESCAPE - static field in class sleep.parser.ParserConstants
EXPR_EVAL_STRING - static field in class sleep.parser.ParserConstants
EXPR_FOR - static field in class sleep.parser.ParserConstants
EXPR_FOREACH - static field in class sleep.parser.ParserConstants
EXPR_FOREACH_SPECIAL - static field in class sleep.parser.ParserConstants
EXPR_IF - static field in class sleep.parser.ParserConstants
EXPR_IF_ELSE - static field in class sleep.parser.ParserConstants
EXPR_RETURN - static field in class sleep.parser.ParserConstants
EXPR_WHILE - static field in class sleep.parser.ParserConstants
EXPR_WHILE_SPECIAL - static field in class sleep.parser.ParserConstants
extract(sleep.parser.Token) - static method in class sleep.parser.ParserUtilities
extract(String) - static method in class sleep.parser.ParserUtilities
extractNamedParameters(Stack) - static method in class sleep.bridges.BridgeUtilities
extracts all named parameters from the argument stack.

F

file - field in class sleep.bridges.io.FileObject
FileObject - class sleep.bridges.io.FileObject
FileSystemBridge - class sleep.bridges.FileSystemBridge
provides a bridge for accessing the local file system
FilterEnvironment - interface sleep.interfaces.FilterEnvironment
Filtered environments are similar to normal keyword environments except they also allow a parameter specified by the user.
findConstructor(Class,Stack) - static method in class sleep.engine.ObjectUtilities
findex - field in class sleep.runtime.ScriptEnvironment
findImportedClass(String) - method in class sleep.parser.Parser
findJarFile(String) - static method in class sleep.parser.ParserConfig
Search the sleep classpath for the specified file.
findMethod(Class,String,Stack) - static method in class sleep.engine.ObjectUtilities
fireWarning(String,int) - method in class sleep.runtime.ScriptInstance
Fire a runtime script warning
fireWarning(String,int,boolean) - method in class sleep.runtime.ScriptInstance
Fire a runtime script warning
first - field in class sleep.engine.Block
our first step in this block
flagError(String) - method in class sleep.runtime.ScriptEnvironment
A utility for bridge writers to flag an error.
Flattens the specified scalar array.
FLOAT_TYPE - static field in class sleep.engine.ObjectUtilities
various primitives...
FLOW_CONTROL_BREAK - static field in class sleep.runtime.ScriptEnvironment
request a break out of the current loop
FLOW_CONTROL_CONTINUE - static field in class sleep.runtime.ScriptEnvironment
adding a continue keyword as people keep demanding it
FLOW_CONTROL_NONE - static field in class sleep.runtime.ScriptEnvironment
currently no flow contrl change has been requested
FLOW_CONTROL_RETURN - static field in class sleep.runtime.ScriptEnvironment
request a return from the current function
FLOW_CONTROL_YIELD - static field in class sleep.runtime.ScriptEnvironment
adding a yield keyword
fork() - method in class sleep.runtime.ScriptInstance
Creates a forked script instance.
formatErrors() - method in class sleep.error.YourCodeSucksException
generate a nicely formatted string representation of the script errors in this exception
kills the current frame and if there is a parent frame pushes the specified value on to it
frames - field in class sleep.runtime.ScriptEnvironment
func - field in class sleep.bridges.DefaultEnvironment
Function - interface sleep.interfaces.Function
A function bridge is used to define a built-in function.
functionName - field in class sleep.runtime.ScriptInstance.ProfilerStatistic
the name of the function call

G

GeneratedSteps - class sleep.engine.GeneratedSteps
A class providing static methods for constructing an atomic step of a specific type
Get - class sleep.engine.atoms.Get
get(sleep.parser.Token[],int,int) - static method in class sleep.parser.ParserUtilities
Get(String) - static method in class sleep.engine.GeneratedSteps
Get(String) - constructor for class sleep.engine.atoms.Get
getActualValue() - method in class sleep.runtime.Scalar
Returns the actual non-array/non-hash value this scalar contains.
getApproximateLineNumber() - method in class sleep.engine.Block
Returns an approximated line number for the steps in this block object...
getApproximateLineRange() - method in class sleep.engine.Block
Returns an approximate range of line numbers for the steps in this block object.
getArray() - method in class sleep.runtime.Scalar
returns a scalar array referenced by this scalar iff this scalar contains an array reference
getArray(Stack) - static method in class sleep.bridges.BridgeUtilities
grab a sleep array, if the stack is empty a scalar array with no elements will be returned.
getArrayScalar() - static method in class sleep.runtime.SleepUtils
returns a Scalar variable containing a SLEEP array as its value (everything in SLEEP is stored as a Scalar
getArrayScalar(sleep.runtime.ScalarArray) - static method in class sleep.runtime.SleepUtils
Creates a scalar with the specified ScalarArray as the value
getArrayType(sleep.runtime.Scalar,Class) - static method in class sleep.engine.ObjectUtilities
Determines the primitive type of the specified array.
getArrayWrapper(Collection) - static method in class sleep.runtime.SleepUtils
An easy way to make your programs data structures available in the script environment.
getAt(int) - method in class sleep.bridges.ArgumentArray
getAt(int) - method in class sleep.engine.types.ArrayContainer
getAt(int) - method in class sleep.runtime.CollectionWrapper
getAt(int) - method in class sleep.runtime.ScalarArray
getAt(sleep.runtime.Scalar) - method in class sleep.engine.types.HashContainer
getAt(sleep.runtime.Scalar) - method in class sleep.runtime.MapWrapper
getAt(sleep.runtime.Scalar) - method in class sleep.runtime.ScalarHash
Retrieves a scalar from the hashtable.
getBuffer(int) - method in class sleep.bridges.io.IOObject
getCharset() - method in class sleep.runtime.ScriptLoader
getClosureVariables() - method in class sleep.runtime.ScriptVariables
returns the current closure variable scope
returns the closure level variables for this specific script environment
getCodeSnippet() - method in class sleep.error.SyntaxError
return an isolated snippet of code from where the error occured
getConsole(sleep.runtime.ScriptEnvironment) - static method in class sleep.bridges.io.IOObject
returns an IOObject that represents stdin/stdout to Sleep's I/O API.
getContextMetadata(Object) - method in class sleep.runtime.ScriptEnvironment
Returns the data associated with the particular key for this context.
Returns the data associated with the particular key for this context.
getCount() - method in class sleep.bridges.Semaphore
returns the current count data associated with this semaphore.
getCurrentFrame() - method in class sleep.runtime.ScriptEnvironment
getCurrentSource() - method in class sleep.runtime.ScriptEnvironment
obtain the filename of the current source of execution
getDebugFlags() - method in class sleep.runtime.ScriptInstance
retrieve the debug flags for this script
getDebugString() - method in class sleep.runtime.ScriptEnvironment
getDescription() - method in class sleep.error.SyntaxError
return a best guess description of what the error in the code might actually be
getDouble(Stack) - static method in class sleep.bridges.BridgeUtilities
grab a double.
getDouble(Stack,double) - static method in class sleep.bridges.BridgeUtilities
grab a double, if the stack is empty the default value will be returned
getEmptyScalar() - static method in class sleep.runtime.SleepUtils
returns the null scalar, which will always be equal to 0, "", and null simultaneously.
getEntireLine() - method in class sleep.parser.StringIterator
getEnvironment() - method in class sleep.runtime.ScriptEnvironment
Returns the environment for this script.
getEnvironmentStack() - method in class sleep.runtime.ScriptEnvironment
returns the environment stack used for temporary calculations and such.
getErrors() - method in class sleep.error.YourCodeSucksException
All of the errors are stored in a linked list.
getErrorToken() - method in class sleep.parser.StringIterator
getFile(Stack) - static method in class sleep.bridges.BridgeUtilities
returns a File object from a string argument, the path in the string argument is transformed such that the character / will refer to the correct path separator for the current OS.
getFilterEnvironment(String) - method in class sleep.runtime.ScriptEnvironment
getFirstScriptEnvironment() - method in class sleep.runtime.ScriptLoader
Convienence method to return the script environment of the first script tht was loaded, returns null if no scripts are loaded
getFlowControlRequest() - method in class sleep.runtime.ScriptEnvironment
retrieves an executable Function object from the stack.
getFunction(String) - method in class sleep.runtime.ScriptEnvironment
getFunctionEnvironment(String) - method in class sleep.runtime.ScriptEnvironment
extracts a callable Function from the passed in Scalar.
getGlobalVariables() - method in class sleep.runtime.ScriptVariables
returns the global variable scope
getHash() - method in class sleep.runtime.Scalar
returns a scalar hash referenced by this scalar iff this scalar contains a hash reference
getHash(Stack) - static method in class sleep.bridges.BridgeUtilities
grab a sleep hash, if the stack is empty a scalar hash with no members will be returned.
getHashScalar() - static method in class sleep.runtime.SleepUtils
returns an empty hashmap scalar
getHashScalar(sleep.runtime.ScalarHash) - static method in class sleep.runtime.SleepUtils
Creates a scalar with the specified ScalarHash as the value
getHashWrapper(Map) - static method in class sleep.runtime.SleepUtils
An easy way to make your programs data structures available in the script environment.
getHighLineNumber() - method in class sleep.engine.Block
return the highest line number associated with this block
getHighLineNumber() - method in class sleep.engine.atoms.Decide
getHighLineNumber() - method in class sleep.engine.atoms.Goto
getHighLineNumber() - method in class sleep.engine.Step
returns the last line number that this step is associated with (assuming it is associated with multiple lines
getHint() - method in class sleep.parser.Token
getInputBuffer() - method in class sleep.bridges.io.IOObject
Returns the ascii data reader
getInputStream() - method in class sleep.bridges.io.IOObject
Returns the latest hooking point into the input stream
getInt(Stack) - static method in class sleep.bridges.BridgeUtilities
grab an integer.
getInt(Stack,int) - static method in class sleep.bridges.BridgeUtilities
grab an integer, if the stack is empty the default value will be returned
getIOHandleScalar(InputStream,OutputStream) - static method in class sleep.runtime.SleepUtils
creates an IO handle scalar suitable for use with the sleep IO API.
grabs a scalar iterator, this can come from either an array or a closure called continuously until $null is returned.
getKey() - method in class sleep.bridges.KeyValuePair
Obtain the key portion of this pair
getKeyValuePair(Stack) - static method in class sleep.bridges.BridgeUtilities
Pops a Key/Value pair object off of the argument stack.
getLeft() - method in class sleep.parser.Rule
getLineMarker() - method in class sleep.parser.StringIterator
getLineNumber() - method in class sleep.error.ScriptWarning
returns the line number in the source script where the runtime error/warning occured
getLineNumber() - method in class sleep.engine.Step
returns the line number this step is associated with
getLineNumber() - method in class sleep.parser.StringIterator
getLineNumber() - method in class sleep.error.SyntaxError
return the line number in the file where the error occured.
getList() - method in class sleep.parser.TokenList
getListFromArray(sleep.runtime.Scalar) - static method in class sleep.runtime.SleepUtils
Generate a java.util.List from a scalar array.
getListFromArray(sleep.runtime.ScalarArray) - static method in class sleep.runtime.SleepUtils
Generate a java.util.List from a scalar array.
getLocalVariables() - method in class sleep.runtime.ScriptVariables
returns the current local variable scope
getLong(Stack) - static method in class sleep.bridges.BridgeUtilities
grab a long.
getLong(Stack,long) - static method in class sleep.bridges.BridgeUtilities
grab a long, if the stack is empty the default value will be returned
getLowLineNumber() - method in class sleep.engine.Block
return the lowest line number associated with this block
getLowLineNumber() - method in class sleep.engine.Step
returns the first line number that this step is associated with (assuming it is associated with multiple lines
getMapFromHash(sleep.runtime.Scalar) - static method in class sleep.runtime.SleepUtils
Generate a java.util.Map from a scalar hash.
getMapFromHash(sleep.runtime.ScalarHash) - static method in class sleep.runtime.SleepUtils
Generate a java.util.Map from a scalar hash.
getMarker() - method in class sleep.error.SyntaxError
return a marker string
getMarker() - method in class sleep.parser.Token
getMarkerIndex() - method in class sleep.parser.Token
getMessage() - method in class sleep.error.ScriptWarning
returns a short synopsis of what the warnng is
getMessage() - method in class sleep.error.YourCodeSucksException
Returns a minimal string representation of the errors within this exception
getName() - method in class sleep.parser.Parser
returns the identifier representing the source of the script we're parsing
getName() - method in class sleep.runtime.ScriptInstance
Returns the name of this script (typically a full pathname) as a String
getNameShort() - method in class sleep.error.ScriptWarning
returns just the filename of the source script
getObject(Stack) - static method in class sleep.bridges.BridgeUtilities
grab an object, if the stack is empty then null will be returned.
getOperator(String) - method in class sleep.runtime.ScriptEnvironment
getOutputStream() - method in class sleep.bridges.io.IOObject
Returns the latest hooking point into the output stream
getOwner() - method in class sleep.bridges.SleepClosure
Returns the owning script instance
getPredicate(String) - method in class sleep.runtime.ScriptEnvironment
getPredicateEnvironment(String) - method in class sleep.runtime.ScriptEnvironment
getProfilerStatistics() - method in class sleep.runtime.ScriptInstance
Returns a sorted (in order of total ticks used) list of function call statistics for this script environment.
getProxy() - method in class sleep.console.ConsoleImplementation
Returns the current console proxy being used
getReader() - method in class sleep.bridges.io.IOObject
Returns the binary data reader
getReturnValue() - method in class sleep.runtime.ScriptEnvironment
getRight() - method in class sleep.parser.Rule
getRunnableBlock() - method in class sleep.parser.CodeGenerator
getRunnableBlock() - method in class sleep.parser.Parser
getRunnableBlock() - method in class sleep.runtime.ScriptInstance
Returns the compiled form of this script
getRunnableCode() - method in class sleep.bridges.SleepClosure
Returns the runnable block of code associated with this closure
getScalar(boolean) - static method in class sleep.runtime.SleepUtils
if x is true, the value will be 1, if x is false the value will be the empty scalar
getScalar(byte[]) - static method in class sleep.runtime.SleepUtils
constructs a string scalar with value x interpreted as an array of unsigned bytes
getScalar(byte[],int) - static method in class sleep.runtime.SleepUtils
constructs a string scalar with value x interpreted as an array of unsigned bytes
getScalar(double) - static method in class sleep.runtime.SleepUtils
returns a double scalar with value x
getScalar(float) - static method in class sleep.runtime.SleepUtils
returns a double scalar (coverted from the float) with value x
getScalar(int) - static method in class sleep.runtime.SleepUtils
returns an int scalar with value x
getScalar(long) - static method in class sleep.runtime.SleepUtils
returns a long scalar with value x
getScalar(Object) - static method in class sleep.runtime.SleepUtils
returns an object scalar with value x
getScalar(short) - static method in class sleep.runtime.SleepUtils
returns an int scalar (coverted from the short) with value x
getScalar(sleep.runtime.Scalar) - static method in class sleep.runtime.SleepUtils
Forces a copy of the value of the passed in scalar to be made.
getScalar(Stack) - static method in class sleep.bridges.BridgeUtilities
grab a scalar, if the stack is empty the empty/null scalar will be returned.
getScalar(String) - method in class sleep.bridges.DefaultVariable
getScalar(String) - method in class sleep.runtime.ScriptEnvironment
returns a scalar from this scripts environment
getScalar(String) - method in class sleep.runtime.ScriptVariables
retrieves a scalar
getScalar(String) - static method in class sleep.runtime.SleepUtils
returns a string scalar with value x
getScalar(String) - method in class sleep.interfaces.Variable
returns the specified scalar, if scalarExists says it is in the environment, this method has to return a scalar
Returns the specified scalar, looking at each scope in order.
retrieves the appropriate Variable container that has the specified key.
getScriptEnvironment() - method in class sleep.runtime.ScriptInstance
Returns this scripts runtime environment
getScriptInstance() - method in class sleep.runtime.ScriptEnvironment
returns a reference to the script associated with this environment
getScriptName() - method in class sleep.error.ScriptWarning
returns the full path for the source script
getScripts() - method in class sleep.runtime.ScriptLoader
Returns a linked list of all loaded ScriptInstance objects
getScriptsByKey() - method in class sleep.runtime.ScriptLoader
Returns a HashMap with all loaded scripts, the key is a string which is just the filename, the value is a ScriptInstance object
getScriptsToLoad(Set) - method in class sleep.runtime.ScriptLoader
A convienence method to determine the set of scripts to "load" based on a passed in set of scripts that are currently configured.
getScriptsToUnload(Set) - method in class sleep.runtime.ScriptLoader
A convienence method to determine the set of scripts to "unload" based on a passed in set of scripts that are currently configured.
getScriptVariables() - method in class sleep.runtime.ScriptEnvironment
returns the variable manager for this script
getScriptVariables() - method in class sleep.runtime.ScriptInstance
Returns the variable container used by this script
getSleepClasspath() - static method in class sleep.parser.ParserConfig
Query the Sleep classpath.
getSource() - method in class sleep.engine.Block
Returns the source identifier for this block
getSource() - method in class sleep.bridges.io.BufferObject
returns the stream referenced by this IOObject
getSource() - method in class sleep.bridges.io.FileObject
returns the file referenced by this IOObject
getSource() - method in class sleep.bridges.io.IOObject
return the actual source of this IO for scripters to query using HOES
getSource() - method in class sleep.bridges.io.ProcessObject
returns the Process object used by this IO implementation
getSource() - method in class sleep.error.ScriptWarning
returns the ScriptInstance object that was the source of this runtime error
getSource() - method in class sleep.bridges.io.SocketObject
returns the socket used for this connection
getSourceLocation() - method in class sleep.engine.Block
Returns a string representation of where in the source code this block originated from
getStatements() - method in class sleep.parser.Parser
getString(Stack,String) - static method in class sleep.bridges.BridgeUtilities
grab a string, if the stack is empty or if the value is null the default value will be returned.
getStrings() - method in class sleep.parser.TokenList
getSyntaxError() - method in class sleep.parser.Rule
getThread() - method in class sleep.bridges.io.IOObject
returns the thread associated with this IOObject
getToken() - method in class sleep.bridges.io.IOObject
returns a scalar token associated with this IOObject.
getTokens() - method in class sleep.parser.TokenList
getType() - method in class sleep.parser.CommentRule
getType() - method in class sleep.parser.Rule
getType() - method in class sleep.parser.Statement
getUnloadStack() - method in class sleep.bridges.BasicSubroutine
getValue() - method in class sleep.bridges.KeyValuePair
Obtain the value portion of this pair
getValue() - method in class sleep.runtime.Scalar
Returns the container for the scalars value.
getVariables() - method in class sleep.bridges.SleepClosure
Returns the variable container for this closures
getWorkableArray(Stack) - static method in class sleep.bridges.BridgeUtilities
grab a sleep array, if the grabbed array is a readonly array, a copy is returned.
getWriter() - method in class sleep.bridges.io.IOObject
Returns the binary data writer
Goto - class sleep.engine.atoms.Goto
Goto(sleep.engine.atoms.Check) - constructor for class sleep.engine.atoms.Goto
a general pass over the list of tokens, we create terms and then pass over them creating combined terms
breaks down the token into sub tokens that are one "term" wide, in the case of blocks separated by ;
breaks down the token into sub tokens that are one "term" wide, a termi in the case of parameters it uses ,
a general pass over the list of tokens, we create terms and then pass over them creating combined terms

H

HACK_DEC - static field in class sleep.parser.ParserConstants
HACK_INC - static field in class sleep.parser.ParserConstants
hasErrors() - method in class sleep.parser.Parser
hasFrame() - method in class sleep.runtime.ScriptEnvironment
hash - field in class sleep.runtime.Scalar
HashContainer - class sleep.engine.types.HashContainer
HashContainer() - constructor for class sleep.engine.types.HashContainer
hasNext() - method in class sleep.runtime.CollectionWrapper.ProxyIterator
hasNext() - method in class sleep.parser.StringIterator
check that there is another character out there for us to get
hasNext(int) - method in class sleep.parser.StringIterator
check that there are at least n chars we can still get
hasWarnings() - method in class sleep.parser.Parser
hint - field in class sleep.parser.Token

I

IDEA_BLOCK - static field in class sleep.parser.ParserConstants
IDEA_BOOLEAN - static field in class sleep.parser.ParserConstants
IDEA_DOUBLE - static field in class sleep.parser.ParserConstants
IDEA_EXPR - static field in class sleep.parser.ParserConstants
IDEA_EXPR_I - static field in class sleep.parser.ParserConstants
IDEA_FUNC - static field in class sleep.parser.ParserConstants
IDEA_HASH_PAIR - static field in class sleep.parser.ParserConstants
IDEA_LITERAL - static field in class sleep.parser.ParserConstants
IDEA_NUMBER - static field in class sleep.parser.ParserConstants
IDEA_OPER - static field in class sleep.parser.ParserConstants
IDEA_PROPERTY - static field in class sleep.parser.ParserConstants
IDEA_STRING - static field in class sleep.parser.ParserConstants
iffalse - field in class sleep.engine.atoms.Decide
iftrue - field in class sleep.engine.atoms.Decide
iftrue - field in class sleep.engine.atoms.Goto
importPackage(String,String) - method in class sleep.parser.Parser
Used by hoes to import package names...
imports - field in class sleep.parser.Parser
in - field in class sleep.bridges.io.IOObject
increment - field in class sleep.engine.atoms.Goto
Index - class sleep.engine.atoms.Index
Index(String,sleep.engine.Block) - static method in class sleep.engine.GeneratedSteps
Index(String,sleep.engine.Block) - constructor for class sleep.engine.atoms.Index
INDEX_RULE - static field in class sleep.parser.LexicalAnalyzer
initDefaultBridges() - method in class sleep.runtime.ScriptLoader
method call to initialize the default bridges, if you want to change the default bridges subclass this class and override this method
installBlock(sleep.engine.Block) - method in class sleep.runtime.ScriptInstance
Install a block as the compiled script code
installEscapeConstant(char,String) - static method in class sleep.parser.CodeGenerator
install a constant for escapes within strings i.e.
installEscapeConstant(char,String) - static method in class sleep.parser.ParserConfig
Installs an escape constant into the sleep parser.
INTEGER_TYPE - static field in class sleep.engine.ObjectUtilities
various primitives...
IntValue - class sleep.engine.types.IntValue
intValue() - method in class sleep.engine.types.DoubleValue
convert the scalar to an int
intValue() - method in class sleep.engine.types.IntValue
intValue() - method in class sleep.engine.types.LongValue
convert the scalar to an int
intValue() - method in class sleep.engine.types.NullValue
convert the scalar to an int
intValue() - method in class sleep.engine.types.ObjectValue
convert the scalar to an int
intValue() - method in class sleep.runtime.Scalar
the int value of this scalar
intValue() - method in class sleep.runtime.ScalarType
convert the scalar to an int
intValue() - method in class sleep.engine.types.StringValue
IntValue(int) - constructor for class sleep.engine.types.IntValue
IOObject - class sleep.bridges.io.IOObject
The IOObject is the parent class for all IO Source objects that are compatible with Sleep's I/O API.
isAndPredicate(String,String,String) - static method in class sleep.parser.Checkers
isArgMatch(Class,sleep.runtime.Scalar) - static method in class sleep.engine.ObjectUtilities
determined if the specified scalar can be rightfully cast to the specified class
isArgMatch(Class[],Stack) - static method in class sleep.engine.ObjectUtilities
convienence method to determine wether or not the stack of values is a safe match for the specified method signature
isArray(String) - static method in class sleep.parser.Checkers
isArrayIndex(String) - static method in class sleep.parser.Checkers
isBacktick(String) - static method in class sleep.parser.Checkers
isBalanced() - method in class sleep.parser.CommentRule
isBalanced() - method in class sleep.parser.Rule
isBind(String,String,String) - static method in class sleep.parser.Checkers
isBindFilter(String,String,String,String) - static method in class sleep.parser.Checkers
isBindPredicate(String,String,String) - static method in class sleep.parser.Checkers
isBiPredicate(String,String,String) - static method in class sleep.parser.Checkers
isBlock(String) - static method in class sleep.parser.Checkers
isBoolean(String) - static method in class sleep.parser.Checkers
isCharsetConversions() - method in class sleep.runtime.ScriptLoader
isClassIdentifier(sleep.parser.Parser,String) - static method in class sleep.parser.Checkers
isClosureCall(String,String) - static method in class sleep.parser.Checkers
isComment(String) - static method in class sleep.parser.Checkers
isDataLiteral(String) - static method in class sleep.parser.Checkers
isDebugInterrupt - field in class sleep.runtime.ScriptEnvironment
isDebugInterrupt() - method in class sleep.runtime.ScriptEnvironment
isDebugTrace() - method in class sleep.error.ScriptWarning
is this a trace message for one of the trace debug options
isDecrementHack(String) - static method in class sleep.parser.Checkers
isDouble(String) - static method in class sleep.parser.Checkers
isElseIfStatement(String,String,String,String) - static method in class sleep.parser.Checkers
isElseStatement(String,String) - static method in class sleep.parser.Checkers
isEmptyScalar(sleep.runtime.Scalar) - static method in class sleep.runtime.SleepUtils
returns true if the passed in scalar value is equivalent to the empty scalar or null
isEndOfVar(char) - static method in class sleep.parser.Checkers
isEOF() - method in class sleep.bridges.io.IOObject
Returns true if the reader is closed
isExpression(String) - static method in class sleep.parser.Checkers
isFor(String,String,String) - static method in class sleep.parser.Checkers
isForeach(String,String,String,String) - static method in class sleep.parser.Checkers
isFunction(String) - static method in class sleep.parser.Checkers
isFunctionCall(String) - static method in class sleep.parser.Checkers
isFunctionCall(String,String) - static method in class sleep.parser.Checkers
isFunctionReferenceToken(String) - static method in class sleep.parser.Checkers
isFunctionScalar(sleep.runtime.Scalar) - static method in class sleep.runtime.SleepUtils
Determines if the passed in scalar represents a "function" value.
isHash(String) - static method in class sleep.parser.Checkers
isHashIndex(String) - static method in class sleep.parser.Checkers
isIfStatement(String,String,String) - static method in class sleep.parser.Checkers
isImportStatement(String,String) - static method in class sleep.parser.Checkers
isIncrementHack(String) - static method in class sleep.parser.Checkers
isIndex(String) - static method in class sleep.parser.Checkers
isIndexableItem(String) - static method in class sleep.parser.Checkers
isIndexableItem(String,String) - static method in class sleep.parser.Checkers
isLeft(char) - method in class sleep.parser.CommentRule
isLeft(char) - method in class sleep.parser.Rule
isLiteral(String) - static method in class sleep.parser.Checkers
isLoaded() - method in class sleep.runtime.ScriptInstance
Returns wether or not this script is loaded.
isLoaded(String) - method in class sleep.runtime.ScriptLoader
Determines wether or not the script is loaded by checking if the specified key exists in the script db.
isMatch(char) - method in class sleep.parser.CommentRule
isMatch(char) - method in class sleep.parser.Rule
isNextChar(char) - method in class sleep.parser.StringIterator
isNextString(String) - method in class sleep.parser.StringIterator
isNumber(String) - static method in class sleep.parser.Checkers
isObjectNew(String,String) - static method in class sleep.parser.Checkers
isOperator(String,String,String) - static method in class sleep.parser.Checkers
isOrPredicate(String,String,String) - static method in class sleep.parser.Checkers
isProfileOnly() - method in class sleep.runtime.ScriptInstance
a quick way to check if we are profiling and not tracing the script steps
isReturn() - method in class sleep.runtime.ScriptEnvironment
isReturn(String) - static method in class sleep.parser.Checkers
isRight(char) - method in class sleep.parser.CommentRule
isRight(char) - method in class sleep.parser.Rule
isScalar(String) - static method in class sleep.parser.Checkers
isSpecialWhile(String,String,String,String) - static method in class sleep.parser.Checkers
isString(String) - static method in class sleep.parser.Checkers
isUniPredicate(String,String) - static method in class sleep.parser.Checkers
isVariable(String) - static method in class sleep.parser.Checkers
isWhile(String,String,String) - static method in class sleep.parser.Checkers
Iterate - class sleep.engine.atoms.Iterate
Iterate(String,String,int) - constructor for class sleep.engine.atoms.Iterate
iterator - field in class sleep.engine.atoms.Iterate.IteratorData
ITERATOR_CREATE - static field in class sleep.engine.atoms.Iterate
ITERATOR_DESTROY - static field in class sleep.engine.atoms.Iterate
ITERATOR_NEXT - static field in class sleep.engine.atoms.Iterate
IteratorCreate(String,String) - static method in class sleep.engine.GeneratedSteps
Iterate.IteratorData - class sleep.engine.atoms.Iterate.IteratorData
IteratorDestroy() - static method in class sleep.engine.GeneratedSteps
IteratorNext() - static method in class sleep.engine.GeneratedSteps

J

jars - field in class sleep.parser.Parser
join(sleep.parser.Token[]) - static method in class sleep.parser.ParserUtilities
join(String[],String) - static method in class sleep.parser.ParserUtilities

K

kenv - field in class sleep.engine.atoms.Iterate.IteratorData
key - field in class sleep.engine.atoms.Iterate
key - field in class sleep.engine.atoms.Iterate.IteratorData
key - field in class sleep.bridges.KeyValuePair
the key scalar
keys() - method in class sleep.engine.types.HashContainer
keys() - method in class sleep.runtime.MapWrapper
this operation is kind of expensive...
keys() - method in class sleep.runtime.ScalarHash
Returns all of the keys within the scalar hash.
KeyValuePair - class sleep.bridges.KeyValuePair
Arguments passed to functions with the form key => expression are available via the KeyValuePair object.
Instantiates a key/value pair
keywords - static field in class sleep.parser.Checkers
a hashtable that keeps track of language keywords so they are not mistaken for function names
KillFrame() - method in class sleep.runtime.ScriptEnvironment

L

last - field in class sleep.engine.Block
our last step in this block
last - field in class sleep.runtime.ScriptEnvironment.Context
LexicalAnalyzer - class sleep.parser.LexicalAnalyzer
line - field in class sleep.error.ScriptWarning
line - field in class sleep.engine.Step
the script line number that this step was generated from
lineNo - field in class sleep.parser.StringIterator
lineNo - field in class sleep.error.SyntaxError
Loadable - interface sleep.interfaces.Loadable
A loadable bridge is used to perform actions on scripts when they are loaded and unloaded.
loadContext(Stack,HashMap) - method in class sleep.runtime.ScriptEnvironment
loaded - field in class sleep.runtime.ScriptInstance
true by default, indicates wether or not the script is loaded.
loadedScripts - field in class sleep.runtime.ScriptLoader
loaded scripts
loadScript(File) - method in class sleep.runtime.ScriptLoader
Loads the specified script file
loadScript(File,Hashtable) - method in class sleep.runtime.ScriptLoader
Loads the specified script file, uses the specified hashtable for the environment
loadScript(String) - method in class sleep.runtime.ScriptLoader
Loads the specified script file
loadScript(String,Hashtable) - method in class sleep.runtime.ScriptLoader
Loads the specified script file, uses the specified hashtable for the environment
loadScript(String,InputStream) - method in class sleep.runtime.ScriptLoader
loads a script from the specified inputstream
loads a script from the specified input stream using the specified hashtable as a shared environment
loadScript(String,String,Hashtable) - method in class sleep.runtime.ScriptLoader
loads the specified script
loadSerialized(File,Hashtable) - method in class sleep.runtime.ScriptLoader
Load a serialized version of the script iff a serialized version exists, and its modification time is greater than the modification time of the script.
Loads a serialized script from the specified input stream with the specified name
LONG_TYPE - static field in class sleep.engine.ObjectUtilities
various primitives...
LongValue - class sleep.engine.types.LongValue
longValue() - method in class sleep.engine.types.DoubleValue
convert the scalar to a long
longValue() - method in class sleep.engine.types.IntValue
longValue() - method in class sleep.engine.types.LongValue
convert the scalar to a long
longValue() - method in class sleep.engine.types.NullValue
convert the scalar to a long
longValue() - method in class sleep.engine.types.ObjectValue
convert the scalar to a long
longValue() - method in class sleep.runtime.Scalar
the long value of this scalar
longValue() - method in class sleep.runtime.ScalarType
convert the scalar to a long
longValue() - method in class sleep.engine.types.StringValue
LongValue(long) - constructor for class sleep.engine.types.LongValue

M

main(args[]) - static method in class sleep.parser.Parser
main(args[]) - static method in class sleep.parser.StringIterator
main(args[]) - static method in class sleep.console.TextConsole
makeToken(String,sleep.parser.Token) - static method in class sleep.parser.ParserUtilities
MapWrapper - class sleep.runtime.MapWrapper
A class for creating accessing a Map data structure in your application in a ready only way.
MapWrapper(Map) - constructor for class sleep.runtime.MapWrapper
mark() - method in class sleep.parser.StringIterator
mark1 - field in class sleep.parser.StringIterator
mark2 - field in class sleep.parser.StringIterator
marker - field in class sleep.error.SyntaxError
marker - field in class sleep.parser.Token
message - field in class sleep.error.ScriptWarning
metadata - field in class sleep.runtime.ScriptEnvironment
metaStack - field in class sleep.runtime.ScriptEnvironment

N

name - field in class sleep.engine.atoms.Check
name - field in class sleep.engine.atoms.ObjectAccess
name - field in class sleep.engine.atoms.ObjectNew
name - field in class sleep.parser.Parser
the actual "code" for the script file.
name - field in class sleep.runtime.ScriptInstance
the name of this script
next - field in class sleep.bridges.io.DataPattern
next - field in class sleep.engine.Step
Steps act as a simple self contained linked list
next() - method in class sleep.runtime.CollectionWrapper.ProxyIterator
next() - method in class sleep.parser.StringIterator
moves the iterator forward one char
next(int) - method in class sleep.parser.StringIterator
returns the string consisting of the next n characters.
NullOperation() - static method in class sleep.engine.GeneratedSteps
nullScalar - static field in class sleep.runtime.SleepUtils
a shared instance of the dreaded null scalar...
NullValue - class sleep.engine.types.NullValue
NullValue() - constructor for class sleep.engine.types.NullValue

O

OBJECT_ACCESS - static field in class sleep.parser.ParserConstants
OBJECT_ACCESS_S - static field in class sleep.parser.ParserConstants
OBJECT_CL_CALL - static field in class sleep.parser.ParserConstants
OBJECT_IMPORT - static field in class sleep.parser.ParserConstants
OBJECT_NEW - static field in class sleep.parser.ParserConstants
OBJECT_TYPE - static field in class sleep.engine.ObjectUtilities
various primitives...
ObjectAccess - class sleep.engine.atoms.ObjectAccess
ObjectAccess(String) - static method in class sleep.engine.GeneratedSteps
ObjectAccess(String,Class) - constructor for class sleep.engine.atoms.ObjectAccess
ObjectAccessStatic(Class,String) - static method in class sleep.engine.GeneratedSteps
ObjectNew - class sleep.engine.atoms.ObjectNew
ObjectNew(Class) - static method in class sleep.engine.GeneratedSteps
ObjectNew(Class) - constructor for class sleep.engine.atoms.ObjectNew
ObjectUtilities - class sleep.engine.ObjectUtilities
This class is sort of the center of the HOES universe containing several methods for mapping between Sleep and Java and resolving which mappings make sense.
ObjectValue - class sleep.engine.types.ObjectValue
objectValue() - method in class sleep.engine.types.DoubleValue
convert the scalar to an object value *shrug*
objectValue() - method in class sleep.engine.types.IntValue
objectValue() - method in class sleep.engine.types.LongValue
convert the scalar to an object value *shrug*
objectValue() - method in class sleep.engine.types.NullValue
convert the scalar to an object value *shrug*
objectValue() - method in class sleep.engine.types.ObjectValue
convert the scalar to an object value *shrug*
objectValue() - method in class sleep.runtime.Scalar
the object value of this scalar
objectValue() - method in class sleep.runtime.ScalarType
convert the scalar to an object value *shrug*
objectValue() - method in class sleep.engine.types.StringValue
ObjectValue(Object) - constructor for class sleep.engine.types.ObjectValue
open - field in class sleep.parser.Rule
open(String,sleep.runtime.ScriptEnvironment) - method in class sleep.bridges.io.FileObject
opens a file and references it to this file object.
openRead(InputStream) - method in class sleep.bridges.io.IOObject
Initializes a binary reader (a DataInputStream) and a text reader (a BufferedReader) against this input stream.
openWrite(OutputStream) - method in class sleep.bridges.io.IOObject
Initializes a binary writer (a DataOutputStream) and a text writer (a PrintWriter) against this input stream.
Operate - class sleep.engine.atoms.Operate
Operate(String) - static method in class sleep.engine.GeneratedSteps
Operate(String) - constructor for class sleep.engine.atoms.Operate
apply operator operatorName on the values in the stack.
apply operator operatorName on the values in the stack.
operator - field in class sleep.engine.atoms.AssignT
Operator - interface sleep.interfaces.Operator
An operator in sleep parlance is anything used to operate on two variables inside of an expression.
OPTION_COMPLEMENT - static field in class sleep.bridges.Transliteration
Negates the pattern
OPTION_DELETE - static field in class sleep.bridges.Transliteration
Forces any matches of non-mapped pattern characters to be deleted
OPTION_SQUEEZE - static field in class sleep.bridges.Transliteration
Deletes duplicates of all matched characters
order - field in class sleep.bridges.io.DataPattern
out - field in class sleep.bridges.io.IOObject

P

P() - method in class sleep.bridges.Semaphore
aquires this semaphore by attempting to decrement the count.
PAREN_RULE - static field in class sleep.parser.LexicalAnalyzer
parent - field in class sleep.runtime.ScriptInstance
parse() - method in class sleep.parser.Parser
parse(sleep.parser.Statement) - method in class sleep.parser.CodeGenerator
parse(sleep.parser.StringIterator) - method in class sleep.parser.Parser
Parse(String) - static method in class sleep.bridges.io.DataPattern
parseBlock(LinkedList) - method in class sleep.parser.CodeGenerator
parseBlock(sleep.parser.Token) - method in class sleep.parser.CodeGenerator
ParseCode(String) - static method in class sleep.runtime.SleepUtils
Parses the specified code into a runnable block.
parseIdea(sleep.parser.Token) - method in class sleep.parser.CodeGenerator
parseObject(sleep.parser.Statement) - method in class sleep.parser.CodeGenerator
parseObject(sleep.parser.Token) - method in class sleep.parser.CodeGenerator
parseParameters(sleep.parser.Token) - method in class sleep.parser.CodeGenerator
parsePredicate(sleep.parser.Token) - method in class sleep.parser.CodeGenerator
parser - field in class sleep.parser.CodeGenerator
Parser - class sleep.parser.Parser
Parser(String) - constructor for class sleep.parser.Parser
initialize the parser with the code you want me to work with
Parser(String,String) - constructor for class sleep.parser.Parser
initialize the parser with the code you want me to work with
ParserConfig - class sleep.parser.ParserConfig
This class offers access to modify some settings within the sleep parser.
ParserConstants - interface sleep.parser.ParserConstants
ParserUtilities - class sleep.parser.ParserUtilities
checks if the first token is potentially a class literal, if it is creates an object scalar for it.
paths - field in class sleep.runtime.ScriptLoader
path to search for jar files imported using [import * from: *] syntax
peek() - method in class sleep.parser.StringIterator
PLiteral - class sleep.engine.atoms.PLiteral
PLiteral(String) - static method in class sleep.engine.GeneratedSteps
PLiteral(String) - constructor for class sleep.engine.atoms.PLiteral
pop() - method in class sleep.bridges.ArgumentArray
pop() - method in class sleep.engine.types.ArrayContainer
pop() - method in class sleep.runtime.CollectionWrapper
pop() - method in class sleep.runtime.ScalarArray
popClosureLevel() - method in class sleep.runtime.ScriptVariables
discards the current closure variable scope
popLocalLevel() - method in class sleep.runtime.ScriptVariables
discards the current local variable scope, making the previous local scope the current local scope again
popSource() - method in class sleep.runtime.ScriptEnvironment
remove the latest source information from the source stack
position - field in class sleep.parser.StringIterator
PRED_AND - static field in class sleep.parser.ParserConstants
PRED_BI - static field in class sleep.parser.ParserConstants
PRED_EXPR - static field in class sleep.parser.ParserConstants
PRED_IDEA - static field in class sleep.parser.ParserConstants
PRED_OR - static field in class sleep.parser.ParserConstants
PRED_UNI - static field in class sleep.parser.ParserConstants
Predicate - interface sleep.interfaces.Predicate
A predicate is an operator used inside of comparisons.
PredicateEnvironment - interface sleep.interfaces.PredicateEnvironment
Predicate environments are similar to normal keyword environments except instead of binding commands to an identifier they are bound to a predicate condition.
PRESERVE_ENTITY - static field in class sleep.parser.Rule
PRESERVE_SINGLE - static field in class sleep.parser.Rule
print(String) - method in class sleep.bridges.io.IOObject
Prints out a line of text with no newline character appended
print a nicely formatted version of the script errors to the specified stream
printLine(String) - method in class sleep.bridges.io.IOObject
Prints out a line of text with a newline character appended
Dumps the profiler statistics to the specified stream
process - field in class sleep.bridges.io.ProcessObject
ProcessObject - class sleep.bridges.io.ProcessObject
a convienence method that formats and writes each syntax error to the proxy output
fired when a runtime warning has occured.
fired when a runtime warning has occured.
A container for a profile statistic about a sleep function
ProxyIterator() - constructor for class sleep.runtime.CollectionWrapper.ProxyIterator
push(sleep.runtime.Scalar) - method in class sleep.bridges.ArgumentArray
push(sleep.runtime.Scalar) - method in class sleep.engine.types.ArrayContainer
push(sleep.runtime.Scalar) - method in class sleep.runtime.CollectionWrapper
push(sleep.runtime.Scalar) - method in class sleep.runtime.ScalarArray
pushes the specified variables into this closures level, once the closure has executed this should be popped
pushLocalLevel() - method in class sleep.runtime.ScriptVariables
starts a new local variable scope.
makes the specified variable container active for the local scope.
pushSource(String) - method in class sleep.runtime.ScriptEnvironment
push source information onto the source stack
puts a scalar into this scripts environment
puts a scalar into the global scope
putScalar(String,sleep.runtime.Scalar) - method in class sleep.interfaces.Variable
put a scalar into this variable environment

R

readCharacter() - method in class sleep.bridges.io.IOObject
Reads in a character of text and returns as a string.
reader - field in class sleep.bridges.io.IOObject
readerb - field in class sleep.bridges.io.IOObject
readeru - field in class sleep.bridges.io.IOObject
readLine() - method in class sleep.bridges.io.IOObject
Reads in a line of text
readme - field in class sleep.bridges.io.BufferObject
The readable source for this IO object
realIterator - field in class sleep.runtime.CollectionWrapper.ProxyIterator
RegexBridge - class sleep.bridges.RegexBridge
Provides a bridge between Java's regex API and sleep.
release(int) - static method in class sleep.bridges.io.SocketObject
releases the socket binding for the specified port
remove() - method in class sleep.runtime.CollectionWrapper.ProxyIterator
remove(int) - method in class sleep.bridges.ArgumentArray
remove(int) - method in class sleep.engine.types.ArrayContainer
remove(int) - method in class sleep.runtime.CollectionWrapper
remove(int) - method in class sleep.runtime.ScalarArray
remove(sleep.runtime.Scalar) - method in class sleep.bridges.ArgumentArray
remove(sleep.runtime.Scalar) - method in class sleep.engine.types.ArrayContainer
remove(sleep.runtime.Scalar) - method in class sleep.runtime.CollectionWrapper
remove(sleep.runtime.Scalar) - method in class sleep.engine.types.HashContainer
remove(sleep.runtime.Scalar) - method in class sleep.runtime.MapWrapper
remove(sleep.runtime.Scalar) - method in class sleep.runtime.ScalarArray
remove(sleep.runtime.Scalar) - method in class sleep.runtime.ScalarHash
Removes the specified scalar from the hashmap.
removeScalar(String) - method in class sleep.bridges.DefaultVariable
removeScalar(String) - method in class sleep.interfaces.Variable
remove a scalar from this variable environment
Removes a runtime warning watcher listener
reportError(sleep.error.SyntaxError) - method in class sleep.parser.Parser
reportError(String,sleep.parser.Token) - method in class sleep.parser.Parser
reportWarning(String,sleep.parser.Token) - method in class sleep.parser.Parser
request - field in class sleep.runtime.ScriptEnvironment
reset() - method in class sleep.parser.StringIterator
restore() - method in class sleep.parser.CodeGenerator
Return - class sleep.engine.atoms.Return
Return(int) - static method in class sleep.engine.GeneratedSteps
Return(int) - constructor for class sleep.engine.atoms.Return
See ScriptEnvironment.FLOW_CONTROL_* for the type constants
return_type - field in class sleep.engine.atoms.Return
rppl() - method in class sleep.console.ConsoleImplementation
starts the console
Rule - class sleep.parser.Rule
Rule() - constructor for class sleep.parser.Rule
Rule(String,char) - constructor for class sleep.parser.Rule
Rule(String,String,char,char) - constructor for class sleep.parser.Rule
run() - method in class sleep.runtime.ScriptInstance
Executes this script, same as runScript() just here for Runnable compatability
"safely" run a snippet of code.
"safely" runs a "Function" of code.
"safely" run a snippet of code.
"safely" run a snippet of code.
runScript() - method in class sleep.runtime.ScriptInstance
Executes this script, should be done first thing once a script is loaded
Runtime errors are caught by sleep.
rv - field in class sleep.runtime.ScriptEnvironment

S

sarray - field in class sleep.parser.TokenList
saveContext() - method in class sleep.runtime.ScriptEnvironment
saveSerialized(sleep.runtime.ScriptInstance) - static method in class sleep.runtime.ScriptLoader
Saves a serialized version of the compiled script to scriptname.bin.
Saves a serialized version of the ScriptInstance si to the specified output stream
Scalar - class sleep.runtime.Scalar
A scalar is the universal data type for sleep variables.
ScalarArray - interface sleep.runtime.ScalarArray
This interface lets you implement your own data structure behind a scalar array.
scalarExists(String) - method in class sleep.bridges.DefaultVariable
scalarExists(String) - method in class sleep.interfaces.Variable
true if a scalar named key exists in this variable environment
ScalarHash - interface sleep.runtime.ScalarHash
This interface lets you create your own scalar hash implementation.
scalarIterator() - method in class sleep.bridges.ArgumentArray
scalarIterator() - method in class sleep.engine.types.ArrayContainer
scalarIterator() - method in class sleep.runtime.CollectionWrapper
scalarIterator() - method in class sleep.runtime.ScalarArray
scalarIterator() - method in class sleep.bridges.SleepClosure
ScalarType - interface sleep.runtime.ScalarType
This interface makes it possible to create a new scalar type.
script - field in class sleep.runtime.ScriptInstance
The compiled sleep code for this script, the ScriptLoader will set this value upon loading a script.
script - field in class sleep.error.ScriptWarning
ScriptEnvironment - class sleep.runtime.ScriptEnvironment
This class contains methods for accessing the data stack, return value of a function, and the environment hashtable for a script.
ScriptEnvironment() - constructor for class sleep.runtime.ScriptEnvironment
Not recommended that you instantiate a script environment in this way
Instantiate a new script environment with the specified environment (can be shared), and the specified ScriptInstance
ScriptInstance - class sleep.runtime.ScriptInstance
Every piece of information related to a loaded script.
ScriptInstance() - constructor for class sleep.runtime.ScriptInstance
Constructs a new script instance
ScriptInstance(Hashtable) - constructor for class sleep.runtime.ScriptInstance
Constructs a script instance, if the parameter is null a default implementation will be used.
Constructs a script instance, if either of the parameters are null a default implementation will be used.
scriptLoaded(sleep.runtime.ScriptInstance) - method in class sleep.bridges.BasicIO
called when a script is loaded
called when a script is loaded
called when a script is loaded
called when a script is loaded
scriptLoaded(sleep.runtime.ScriptInstance) - method in class sleep.interfaces.Loadable
called when a script is loaded
called when a script is loaded
ScriptLoader - class sleep.runtime.ScriptLoader
The ScriptLoader is a convienence container for instantiating and managing ScriptInstances.
ScriptLoader() - constructor for class sleep.runtime.ScriptLoader
initializes the script loader
scripts - field in class sleep.runtime.ScriptLoader
loaded scripts except referable by key
called when a script is unloaded
called when a script is unloaded
called when a script is unloaded
called when a script is unloaded
scriptUnloaded(sleep.runtime.ScriptInstance) - method in class sleep.interfaces.Loadable
called when a script is unloaded
called when a script is unloaded
ScriptVariables - class sleep.runtime.ScriptVariables
Maintains variables and variable scopes for a script instance.
ScriptVariables() - constructor for class sleep.runtime.ScriptVariables
Initializes this ScriptVariables container using a DefaultVariable object for default variable storage
ScriptVariables(sleep.interfaces.Variable) - constructor for class sleep.runtime.ScriptVariables
Initializes this class with your version of variable storage
ScriptWarning - class sleep.error.ScriptWarning
A package for all information related to a runtime script warning.
self - field in class sleep.runtime.ScriptEnvironment
the script instance that this is the environment for
Semaphore - class sleep.bridges.Semaphore
A sleep synchronization primitive.
Semaphore(long) - constructor for class sleep.bridges.Semaphore
initializes this semaphore with the specified initial count
sendEOF() - method in class sleep.bridges.io.IOObject
Closes down the output streams effectively sending an end of file message to the reading end.
setCharset(String) - method in class sleep.runtime.ScriptLoader
If charset conversion is enabled and charset is set, then the stream will be read using specified charset.
setCharsetConversion(boolean) - method in class sleep.runtime.ScriptLoader
Java by default maps characters from an 8bit ascii file to an internal 32bit unicode representation.
Sets up the true and false choices, again this is handled by the sleep engine
setChoices(sleep.engine.Block) - method in class sleep.engine.atoms.Goto
setChoices(sleep.engine.Block,sleep.engine.Block) - method in class sleep.engine.atoms.Decide
returns the closure level variables for this specific script environment
Use this function to save some meta data for this particular closure context, passing null for value will remove the key from the metadata for this context
setDebugFlags(int) - method in class sleep.runtime.ScriptInstance
set the debug flags for this script
setEncoding(String) - method in class sleep.bridges.io.IOObject
set the charset to be used for all unicode aware reads/writes from/to this stream
setEndOfTerm(char) - method in class sleep.parser.Parser
setEnvironment(Hashtable) - method in class sleep.runtime.ScriptEnvironment
Sets the environment Hashtable this script is to use.
setGlobalCache(boolean) - method in class sleep.runtime.ScriptLoader
The Sleep script loader can optionally cache parsed script files once they are loaded.
setIncrement(sleep.engine.Block) - method in class sleep.engine.atoms.Goto
setInfo(int) - method in class sleep.engine.atoms.Check
Sets the line number in code where this check object occurs, again called by the sleep engine
setInfo(int) - method in class sleep.engine.Step
convience method for the code generator to set the line number.
setName(String) - method in class sleep.runtime.ScriptInstance
Sets the name of this script
Sets up the parent of this script (in case it is being run via &fork()).
Sets up the implementation of the consoles input/output facilities
Puts the specified scalar in a specific scope
Sets the variable container to be used by this script
setSleepClasspath(String) - static method in class sleep.parser.ParserConfig
Set the Sleep classpath.
setThread(Thread) - method in class sleep.bridges.io.IOObject
set the thread used for this IOObject (currently used to allow a script to wait() on the threads completion)
setToken(sleep.runtime.Scalar) - method in class sleep.bridges.io.IOObject
sets the scalar token associated with this IOObject.
setType(int) - method in class sleep.parser.Statement
setUnloaded() - method in class sleep.runtime.ScriptInstance
Flag this script as unloaded
setValue(sleep.runtime.Scalar) - method in class sleep.runtime.Scalar
clones the value from the specified scalar and gives this scalar a copy of the value
setValue(sleep.runtime.ScalarArray) - method in class sleep.runtime.Scalar
set the value of this scalar container to a scalar array
setValue(sleep.runtime.ScalarHash) - method in class sleep.runtime.Scalar
set the value of this scalar container to a scalar hash
setValue(sleep.runtime.ScalarType) - method in class sleep.runtime.Scalar
set the value of this scalar container to a scalar value of some type
Sets the variable environment for this closure
showDebugMessage(String) - method in class sleep.runtime.ScriptEnvironment
fires this debug message via a runtime warning complete with line number of current step
size - field in class sleep.bridges.io.DataPattern
size() - method in class sleep.bridges.ArgumentArray
size() - method in class sleep.engine.types.ArrayContainer
size() - method in class sleep.runtime.CollectionWrapper
size() - method in class sleep.runtime.ScalarArray
skip(int) - method in class sleep.parser.StringIterator
does a direct skip of n characters, use only when you know what the chars are..
sleep.bridges - package
This package contains the default bridges distributed with sleep.
sleep.console - package

Integrating the Sleep Console

The sleep console is an interactive console for loading and unloading sleep scripts.

sleep.engine - package
sleep.error - package
sleep.parser - package
The parser package.
sleep.runtime - package
SLEEP_RELEASE - static field in class sleep.runtime.SleepUtils
A date stamp of this Sleep release in YYYYMMDD format
SLEEP_VERSION - static field in class sleep.runtime.SleepUtils
A string description of this Sleep release
SleepClosure - class sleep.bridges.SleepClosure
The Sleep Closure class.
Creates a new Sleep Closure, with a brand new set of internal variables.
Creates a new Sleep Closure that uses the specified variable container for its internal variables
SleepUtils - class sleep.runtime.SleepUtils
This class contains generalized utilities for instantiating/wrapping data into the sleep Scalar type.
socket - field in class sleep.bridges.io.SocketObject
SocketObject - class sleep.bridges.io.SocketObject
sort(Comparator) - method in class sleep.bridges.ArgumentArray
sort(Comparator) - method in class sleep.engine.types.ArrayContainer
sort(Comparator) - method in class sleep.runtime.CollectionWrapper
sort(Comparator) - method in class sleep.runtime.ScalarArray
source - field in class sleep.engine.Block
an identifier/tag/whatever identifying the source of this block (i.e.
source - field in class sleep.bridges.io.BufferObject
The writeable source for this IO object
source - field in class sleep.engine.atoms.Iterate.IteratorData
source - field in class sleep.error.ScriptWarning
sources - field in class sleep.runtime.ScriptEnvironment
how many stacks does this damned class include?
SQUOTE_RULE - static field in class sleep.parser.LexicalAnalyzer
start - field in class sleep.engine.atoms.Decide
start - field in class sleep.engine.atoms.Goto
Statement - class sleep.parser.Statement
statements - field in class sleep.parser.Parser
Step - class sleep.engine.Step
The root of all atomic steps.
STRING_FRAGMENT - static field in class sleep.engine.atoms.PLiteral
STRING_TYPE - static field in class sleep.engine.ObjectUtilities
various primitives...
StringIterator - class sleep.parser.StringIterator
StringIterator(String) - constructor for class sleep.parser.StringIterator
StringIterator(String,int) - constructor for class sleep.parser.StringIterator
StringValue - class sleep.engine.types.StringValue
stringValue() - method in class sleep.runtime.Scalar
the string value of this scalar
StringValue(String) - constructor for class sleep.engine.types.StringValue
SValue - class sleep.engine.atoms.SValue
SValue(sleep.runtime.Scalar) - static method in class sleep.engine.GeneratedSteps
SValue(sleep.runtime.Scalar) - constructor for class sleep.engine.atoms.SValue
SyntaxError - class sleep.error.SyntaxError
A class containing syntax error information.
SyntaxError(String,String,int) - constructor for class sleep.error.SyntaxError
construct a syntax error object, but enough about me...
SyntaxError(String,String,int,String) - constructor for class sleep.error.SyntaxError
construct a syntax error object, but enough about me...

T

tarray - field in class sleep.parser.TokenList
term - field in class sleep.parser.Token
terms - field in class sleep.parser.TokenList
text - field in class sleep.parser.StringIterator
TextConsole - class sleep.console.TextConsole
Default implementation of the console proxy class.
TextConsole() - constructor for class sleep.console.TextConsole
texts - field in class sleep.parser.StringIterator
thread - field in class sleep.bridges.io.IOObject
ticks - field in class sleep.runtime.ScriptInstance.ProfilerStatistic
the total number of ticks consumed by this function call
TimeDateBridge - class sleep.bridges.TimeDateBridge
token - field in class sleep.bridges.io.IOObject
Token - class sleep.parser.Token
as much as possible this is a String with a line number associate with it (aka hint)
Token(String,int) - constructor for class sleep.parser.Token
Token(String,int,int) - constructor for class sleep.parser.Token
TokenList - class sleep.parser.TokenList
TokenParser - class sleep.parser.TokenParser
tokens - field in class sleep.parser.Parser
a list of all of the parser warnings
toString() - method in class sleep.bridges.ArgumentArray
toString() - method in class sleep.engine.types.ArrayContainer
toString() - method in class sleep.engine.atoms.BindFilter
toString() - method in class sleep.engine.atoms.BindPredicate
toString() - method in class sleep.engine.Block
Returns a string representation of the Abstract Syntax Tree (AST).
toString() - method in class sleep.engine.atoms.Call
toString() - method in class sleep.engine.atoms.Check
Returns a string representation of this object
toString() - method in class sleep.runtime.CollectionWrapper
toString() - method in class sleep.parser.CommentRule
toString() - method in class sleep.engine.atoms.CreateClosure
toString() - method in class sleep.engine.atoms.CreateFrame
toString() - method in class sleep.engine.types.DoubleValue
convert the scalar to a string
toString() - method in class sleep.engine.atoms.Get
toString() - method in class sleep.engine.types.HashContainer
toString() - method in class sleep.engine.types.IntValue
toString() - method in class sleep.bridges.KeyValuePair
Return a string representation of this key/value pair
toString() - method in class sleep.engine.types.LongValue
convert the scalar to a string
toString() - method in class sleep.runtime.MapWrapper
toString() - method in class sleep.engine.types.NullValue
convert the scalar to a string
toString() - method in class sleep.engine.atoms.ObjectAccess
toString() - method in class sleep.engine.atoms.ObjectNew
toString() - method in class sleep.engine.types.ObjectValue
convert the scalar to a string
toString() - method in class sleep.engine.atoms.Operate
toString() - method in class sleep.engine.atoms.PLiteral
toString() - method in class sleep.engine.atoms.Return
toString() - method in class sleep.parser.Rule
toString() - method in class sleep.runtime.Scalar
toString() - method in class sleep.runtime.ScalarType
convert the scalar to a string
toString() - method in class sleep.runtime.ScriptEnvironment
toString() - method in class sleep.runtime.ScriptInstance.ProfilerStatistic
returns a string in the form of (total time used in seconds)s (total calls made) @(line number) (function description)
toString() - method in class sleep.error.ScriptWarning
returns a nicely formatted string representation of this runtime warning.
toString() - method in class sleep.bridges.Semaphore
returns a nice string representation of this semaphore
toString() - method in class sleep.bridges.SleepClosure
Information about this closure in the form of &closure[:]#
toString() - method in class sleep.parser.Statement
toString() - method in class sleep.engine.Step
toString() - method in class sleep.parser.StringIterator
toString() - method in class sleep.engine.types.StringValue
toString() - method in class sleep.engine.atoms.SValue
toString() - method in class sleep.parser.Token
toString() - method in class sleep.parser.TokenList
toString() - method in class sleep.bridges.Transliteration
Returns a string representation of this transliteration pattern...
toString() - method in class sleep.error.YourCodeSucksException
Returns a simple string representation of the errors within this exception
toString(String) - method in class sleep.engine.atoms.Assign
toString(String) - method in class sleep.engine.atoms.AssignT
toString(String) - method in class sleep.engine.atoms.Bind
toString(String) - method in class sleep.engine.Block
toString(String) - method in class sleep.engine.atoms.Check
Converts this object to a string, used by the sleep engine for constructing an AST like thing
toString(String) - method in class sleep.engine.atoms.Decide
toString(String) - method in class sleep.engine.atoms.Goto
toString(String) - method in class sleep.engine.atoms.Index
toString(String) - method in class sleep.engine.atoms.Iterate
toString(String) - method in class sleep.engine.atoms.PLiteral
toString(String) - method in class sleep.engine.Step
returns a string representation of this atomic step
toStringGeneric() - method in class sleep.bridges.SleepClosure
Returns a generic string version of this closure without id information
trace - field in class sleep.error.ScriptWarning
translate(String) - method in class sleep.bridges.Transliteration
Applies this Transliteration to the specified text.
Transliteration - class sleep.bridges.Transliteration
This class provides a character translation utility similar to the UNIX tr command.
trim(sleep.parser.Parser,String) - static method in class sleep.parser.LexicalAnalyzer
type - field in class sleep.engine.atoms.Iterate
type - field in class sleep.parser.Statement
TYPE_DOUBLE - static field in class sleep.bridges.BasicNumbers
TYPE_INT - static field in class sleep.bridges.BasicNumbers
TYPE_LONG - static field in class sleep.bridges.BasicNumbers

U

unload a script
unloadScript(String) - method in class sleep.runtime.ScriptLoader
unload a script

V

V() - method in class sleep.bridges.Semaphore
increments this semaphore
value - field in class sleep.bridges.io.DataPattern
value - field in class sleep.engine.types.DoubleValue
value - field in class sleep.engine.types.IntValue
value - field in class sleep.engine.atoms.Iterate
value - field in class sleep.engine.atoms.Iterate.IteratorData
value - field in class sleep.bridges.KeyValuePair
the value scalar
value - field in class sleep.engine.types.LongValue
value - field in class sleep.engine.types.ObjectValue
value - field in class sleep.runtime.Scalar
value - field in class sleep.engine.types.StringValue
VALUE_INDEXED - static field in class sleep.parser.ParserConstants
VALUE_SCALAR - static field in class sleep.parser.ParserConstants
values - field in class sleep.engine.types.ArrayContainer
values - field in class sleep.runtime.CollectionWrapper
values - field in class sleep.bridges.DefaultVariable
values - field in class sleep.engine.types.HashContainer
values - field in class sleep.runtime.MapWrapper
VAR_FRAGMENT - static field in class sleep.engine.atoms.PLiteral
Variable - interface sleep.interfaces.Variable
A variable bridge is a container for storing scalars.
variables - field in class sleep.runtime.ScriptInstance
The script variables which contains all of the variable information for a script
venv - field in class sleep.engine.atoms.Iterate.IteratorData

W

wait(sleep.runtime.ScriptEnvironment,long) - method in class sleep.bridges.io.IOObject
warnings - field in class sleep.parser.Parser
a list of all of the parser errors
watchers - field in class sleep.runtime.ScriptInstance
A list of listeners watching for a runtime error
witnessClose(sleep.parser.Token) - method in class sleep.parser.CommentRule
Used to keep track of closing braces to check balance later on
witnessClose(sleep.parser.Token) - method in class sleep.parser.Rule
Used to keep track of closing braces to check balance later on
witnessOpen(sleep.parser.Token) - method in class sleep.parser.CommentRule
Used to keep track of opening braces to check balance later on
witnessOpen(sleep.parser.Token) - method in class sleep.parser.Rule
Used to keep track of opening braces to check balance later on
wrap(String) - method in class sleep.parser.CommentRule
wrap(String) - method in class sleep.parser.Rule
writerb - field in class sleep.bridges.io.IOObject
writeru - field in class sleep.bridges.io.IOObject

Y

Syntax errors are a reality of programming.
Initialize the exception (sleep parser)