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

A

ArgumentArray - class sleep.bridges.ArgumentArray.
 
ArgumentArray(int, Variable) - Constructor for class sleep.bridges.ArgumentArray
 
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(Block) - Static method in class sleep.engine.GeneratedSteps
 
Assign - class sleep.engine.atoms.Assign.
 
Assign(Block) - Constructor for class sleep.engine.atoms.Assign
 
AssignT() - Static method in class sleep.engine.GeneratedSteps
 
AssignT - class sleep.engine.atoms.AssignT.
 
AssignT() - Constructor for class sleep.engine.atoms.AssignT
 
add(Scalar, int) - Method in class sleep.bridges.ArgumentArray
 
add(Step) - Method in class sleep.engine.Block
 
add(Scalar, int) - Method in class sleep.engine.types.ArrayContainer
 
add(Step, Token) - Method in class sleep.parser.CodeGenerator
 
add(Token) - Method in class sleep.parser.TokenList
 
add(Scalar, int) - Method in class sleep.runtime.CollectionWrapper
 
add(Scalar, int) - Method in interface sleep.runtime.ScalarArray
 
addComment(String) - Method in class sleep.parser.Parser
 
addGlobalBridge(Loadable) - Method in class sleep.runtime.ScriptLoader
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.
addSpecificBridge(Loadable) - Method in class sleep.runtime.ScriptLoader
A specific bridge is loaded into *every* script regardless of wether or not the environment is shared.
addStatement(Statement) - Method in class sleep.parser.Parser
 
addWarningWatcher(RuntimeWarningWatcher) - Method in class sleep.runtime.ScriptInstance
Register a runtime warning watcher listener.
append(String) - Method in class sleep.console.ConsoleImplementation
 
array - Variable in class sleep.runtime.CollectionWrapper
 
array - Variable in class sleep.runtime.Scalar
 

B

BACKUP_BLOCKS - Variable in class sleep.parser.CodeGenerator
 
BLOCK_CACHE - Static variable in class sleep.runtime.ScriptLoader
cache for parsed scripts mantained (optionally) by the script loader.
BLOCK_RULE - Static variable in class sleep.parser.LexicalAnalyzer
 
BasicIO - class sleep.bridges.BasicIO.
provides IO functions for the sleep language
BasicIO() - Constructor for class sleep.bridges.BasicIO
 
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
BasicStrings() - Constructor for class sleep.bridges.BasicStrings
 
BasicSubroutine - class sleep.bridges.BasicSubroutine.
The actual implementation of each subroutine declared with the sub keyword.
BasicSubroutine(ScriptInstance, Block, Stack) - Constructor for class sleep.bridges.BasicSubroutine
 
BasicUtilities - class sleep.bridges.BasicUtilities.
implementation of basic utility functions
BasicUtilities() - Constructor for class sleep.bridges.BasicUtilities
 
Bind(String, Block, Block) - Static method in class sleep.engine.GeneratedSteps
 
Bind - class sleep.engine.atoms.Bind.
 
Bind(String, Block, Block) - Constructor for class sleep.engine.atoms.Bind
 
BindFilter(String, String, Block, String) - Static method in class sleep.engine.GeneratedSteps
 
BindFilter - class sleep.engine.atoms.BindFilter.
 
BindFilter(String, String, Block, String) - Constructor for class sleep.engine.atoms.BindFilter
 
BindPredicate(String, Check, Block) - Static method in class sleep.engine.GeneratedSteps
 
BindPredicate - class sleep.engine.atoms.BindPredicate.
 
BindPredicate(String, Check, Block) - Constructor for class sleep.engine.atoms.BindPredicate
 
Block - class sleep.engine.Block.
A Block is the fundamental unit of parsed and ready to execute sleep code.
Block() - Constructor for class sleep.engine.Block
 
Break() - Static method in class sleep.engine.GeneratedSteps
 
Break - class sleep.engine.atoms.Break.
 
Break() - Constructor for class sleep.engine.atoms.Break
 
BridgeUtilities - class sleep.bridges.BridgeUtilities.
A bridge is a class that bridges your applications API and sleep.
BridgeUtilities() - Constructor for class sleep.bridges.BridgeUtilities
 
BuildInterface(Class, Function, ScriptInstance) - Static method in class sleep.engine.ObjectUtilities
 
BuildScalar(boolean, Object) - Static method in class sleep.engine.ObjectUtilities
 
backup() - Method in class sleep.parser.CodeGenerator
 
begin - Variable in class sleep.parser.StringIterator
 
bindFilteredFunction(ScriptInstance, String, String, String, Block) - Method in interface sleep.interfaces.FilterEnvironment
binds a function (functionName) of a certain type (typeKeyword) to the defined functionBody.
bindFunction(ScriptInstance, String, String, Block) - Method in class sleep.bridges.DefaultEnvironment
 
bindFunction(ScriptInstance, String, String, Block) - Method in interface sleep.interfaces.Environment
binds a function (functionName) of a certain type (typeKeyword) to the defined functionBody.
bindPredicate(ScriptInstance, String, Check, Block) - Method in interface sleep.interfaces.PredicateEnvironment
binds a function (functionName) of a certain type (typeKeyword) to the defined functionBody.
bridgesg - Variable in class sleep.runtime.ScriptLoader
global bridges
bridgess - Variable in class sleep.runtime.ScriptLoader
specific bridges
buildArgument(Class, Scalar, ScriptInstance) - Static method in class sleep.engine.ObjectUtilities
 
buildArgumentArray(Class[], Stack, ScriptInstance) - Static method in class sleep.engine.ObjectUtilities
 
buildArgumentErrorMessage(Class, String, Class[], Object[]) - Static method in class sleep.engine.ObjectUtilities
 

C

CLOSURE_CLASS - Static variable in class sleep.bridges.SleepClosure
 
COMMENT_RULE - Static variable in class sleep.parser.LexicalAnalyzer
 
CURRENT_BLOCK - Variable in class sleep.parser.CodeGenerator
 
Call(String) - Static method in class sleep.engine.GeneratedSteps
 
Call - class sleep.engine.atoms.Call.
 
Call(String) - Constructor for class sleep.engine.atoms.Call
 
Check(String, Block) - Static method in class sleep.engine.GeneratedSteps
 
Check - class sleep.engine.atoms.Check.
 
Check(String, Block) - Constructor for class sleep.engine.atoms.Check
 
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.
Checkers() - Constructor for class sleep.parser.Checkers
 
CodeGenerator - class sleep.parser.CodeGenerator.
Generates code for the parser.
CodeGenerator(Parser) - Constructor for class sleep.parser.CodeGenerator
 
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
 
CollectionWrapper.ProxyIterator - class sleep.runtime.CollectionWrapper.ProxyIterator.
 
CollectionWrapper.ProxyIterator() - Constructor for class sleep.runtime.CollectionWrapper.ProxyIterator
 
CommentRule - class sleep.parser.CommentRule.
 
CommentRule() - Constructor for class sleep.parser.CommentRule
 
ConsoleImplementation - class sleep.console.ConsoleImplementation.
The ConsoleImplementation is the "engine" behind the sleep console.
ConsoleImplementation() - Constructor for class sleep.console.ConsoleImplementation
Creates an implementation of the sleep console.
ConsoleImplementation(Hashtable, Variable, ScriptLoader) - Constructor for class sleep.console.ConsoleImplementation
Creates an implementation of the sleep console that shares what your application is already using.
ConsoleProxy - interface sleep.console.ConsoleProxy.
a necessary interface for creating a front end to the sleep console.
CreateClosure(Block) - Static method in class sleep.engine.GeneratedSteps
 
CreateClosure - class sleep.engine.atoms.CreateClosure.
 
CreateClosure(Block) - Constructor for class sleep.engine.atoms.CreateClosure
 
CreateFrame() - Static method in class sleep.engine.GeneratedSteps
 
CreateFrame - class sleep.engine.atoms.CreateFrame.
 
CreateFrame() - Constructor for class sleep.engine.atoms.CreateFrame
 
CreateFrame() - Method in class sleep.runtime.ScriptEnvironment
 
CreateTerms(Parser, StringIterator) - Static method in class sleep.parser.LexicalAnalyzer
 
CreateTerms(Parser, StringIterator, boolean, boolean) - Static method in class sleep.parser.LexicalAnalyzer
 
CreateTerms(Parser, StringIterator, Rule[], boolean, boolean) - Static method in class sleep.parser.LexicalAnalyzer
 
callClosure(String, ScriptInstance, Stack) - Method in class sleep.bridges.SleepClosure
"Safely" calls this closure.
callFunction(String, Stack) - Method in class sleep.runtime.ScriptInstance
Calls a subroutine/built-in function using this scripts
canContinue() - Method in class sleep.console.ConsoleImplementation
 
check(ScriptEnvironment) - Method in class sleep.engine.atoms.Check
 
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
classRef - Variable in class sleep.engine.atoms.ObjectAccess
 
classes - Variable in class sleep.parser.Parser
 
clear() - Method in class sleep.console.ConsoleImplementation
 
clearCache() - Method in class sleep.runtime.ScriptEnvironment
clears the cache of parsed and evaluated strings used by the "evaluate*" methods
clearReturn() - Method in class sleep.runtime.ScriptEnvironment
 
close() - Method in class sleep.bridges.io.IOObject
 
close() - Method in class sleep.bridges.io.ProcessObject
 
close() - Method in class sleep.bridges.io.SocketObject
 
close - Variable in class sleep.parser.Rule
 
code - Variable in class sleep.console.ConsoleImplementation
current code loaded into the console so far
code - Variable in class sleep.engine.atoms.Foreach
 
code - Variable in class sleep.error.SyntaxError
 
code - Variable in class sleep.parser.Parser
 
combineTokens(Token, Token) - Static method in class sleep.parser.ParserUtilities
 
comments - Variable in class sleep.parser.Parser
the actual "code" for the script file.
consolePrint(String) - Method in interface sleep.console.ConsoleProxy
print a message to the console with no newline
consolePrint(String) - Method in class sleep.console.TextConsole
 
consolePrintln(Object) - Method in interface sleep.console.ConsoleProxy
print a message to the console with a newline
consolePrintln(Object) - Method in class sleep.console.TextConsole
 
consoleReadln() - Method in interface sleep.console.ConsoleProxy
read a message in from the console.
consoleReadln() - Method in class sleep.console.TextConsole
 
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
 
copyValue() - Method in class sleep.engine.types.IntValue
 
copyValue() - Method in class sleep.engine.types.LongValue
 
copyValue() - Method in class sleep.engine.types.NullValue
 
copyValue() - Method in class sleep.engine.types.ObjectValue
 
copyValue() - Method in class sleep.engine.types.StringValue
 
copyValue() - Method in interface sleep.runtime.ScalarType
create a clone of this scalar's value.
count - Variable in class sleep.bridges.io.DataPattern
 
createInternalVariableContainer() - Method in class sleep.bridges.DefaultVariable
 
createInternalVariableContainer() - Method in interface 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 interface sleep.interfaces.Variable
returns which variable environment is used to temporarily store local variables.

D

DEFAULT - Static variable in class sleep.console.ConsoleImplementation
 
DQUOTE_RULE - Static variable in class sleep.parser.LexicalAnalyzer
 
DataPattern - class sleep.bridges.io.DataPattern.
A DataPattern represents a data format for Sleep's IO functions.
DataPattern() - Constructor for class sleep.bridges.io.DataPattern
 
DefaultEnvironment - class sleep.bridges.DefaultEnvironment.
 
DefaultEnvironment() - Constructor for class sleep.bridges.DefaultEnvironment
 
DefaultVariable - class sleep.bridges.DefaultVariable.
 
DefaultVariable() - Constructor for class sleep.bridges.DefaultVariable
 
DoubleValue - class sleep.engine.types.DoubleValue.
 
DoubleValue(double) - Constructor for class sleep.engine.types.DoubleValue
 
decide(String, ScriptInstance, Stack) - Method in class sleep.bridges.BasicNumbers
 
decide(String, ScriptInstance, Stack) - Method in class sleep.bridges.BasicUtilities
 
decide(String, ScriptInstance, Stack) - Method in interface sleep.interfaces.Predicate
decides the truthfulness of the proposition predicateName applied to the passedInTerms.
description - Variable in class sleep.error.SyntaxError
 
disableConversions - Variable in class sleep.runtime.ScriptLoader
 
doubleValue() - Method in class sleep.engine.types.DoubleValue
 
doubleValue() - Method in class sleep.engine.types.IntValue
 
doubleValue() - Method in class sleep.engine.types.LongValue
 
doubleValue() - Method in class sleep.engine.types.NullValue
 
doubleValue() - Method in class sleep.engine.types.ObjectValue
 
doubleValue() - Method in class sleep.engine.types.StringValue
 
doubleValue() - Method in class sleep.runtime.Scalar
the double value of this scalar
doubleValue() - Method in interface sleep.runtime.ScalarType
convert the scalar to a double

E

EXPR_ASSIGNMENT - Static variable in interface sleep.parser.ParserConstants
 
EXPR_ASSIGNMENT_T - Static variable in interface sleep.parser.ParserConstants
 
EXPR_BIND - Static variable in interface sleep.parser.ParserConstants
 
EXPR_BIND_FILTER - Static variable in interface sleep.parser.ParserConstants
 
EXPR_BIND_PRED - Static variable in interface sleep.parser.ParserConstants
 
EXPR_BLOCK - Static variable in interface sleep.parser.ParserConstants
 
EXPR_BREAK - Static variable in interface sleep.parser.ParserConstants
 
EXPR_ESCAPE - Static variable in interface sleep.parser.ParserConstants
 
EXPR_FOR - Static variable in interface sleep.parser.ParserConstants
 
EXPR_FOREACH - Static variable in interface sleep.parser.ParserConstants
 
EXPR_IF - Static variable in interface sleep.parser.ParserConstants
 
EXPR_IF_ELSE - Static variable in interface sleep.parser.ParserConstants
 
EXPR_RETURN - Static variable in interface sleep.parser.ParserConstants
 
EXPR_WHILE - Static variable in interface sleep.parser.ParserConstants
 
EndOfTerm - Static variable in class sleep.parser.LexicalAnalyzer
 
EndOfTerm - Variable in class sleep.parser.Parser
 
Environment - interface sleep.interfaces.Environment.
Blocks of code associated with an identifier are processed by their environment.
EstimateSize(String) - Static method in class sleep.bridges.io.DataPattern
 
environment - Variable 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 - Variable in class sleep.runtime.ScriptInstance
The script environment which contains all of the runtime info for a script
environmentStack - Variable in class sleep.runtime.ScriptEnvironment
the runtime data stack for this environment
errorMessage - Variable in class sleep.runtime.ScriptEnvironment
stored error message...
errors - Variable in class sleep.parser.Parser
a list of all of the comments from the script file
escape_constants - Static variable in class sleep.parser.CodeGenerator
 
evaluate(String, ScriptInstance, Stack) - Method in class sleep.bridges.BasicUtilities
 
evaluate(String, ScriptInstance, Stack) - Method in class sleep.bridges.SleepClosure
Evaluates the closure, use callClosure instead.
evaluate(ScriptEnvironment) - Method in class sleep.engine.Block
evaluates this block of code.
evaluate(ScriptEnvironment) - Method in class sleep.engine.Step
evaluate this atomic step.
evaluate(ScriptEnvironment) - Method in class sleep.engine.atoms.Assign
 
evaluate(ScriptEnvironment) - Method in class sleep.engine.atoms.AssignT
 
evaluate(ScriptEnvironment) - Method in class sleep.engine.atoms.Bind
 
evaluate(ScriptEnvironment) - Method in class sleep.engine.atoms.BindFilter
 
evaluate(ScriptEnvironment) - Method in class sleep.engine.atoms.BindPredicate
 
evaluate(ScriptEnvironment) - Method in class sleep.engine.atoms.Break
 
evaluate(ScriptEnvironment) - Method in class sleep.engine.atoms.Call
 
evaluate(ScriptEnvironment) - Method in class sleep.engine.atoms.CreateClosure
 
evaluate(ScriptEnvironment) - Method in class sleep.engine.atoms.CreateFrame
 
evaluate(ScriptEnvironment) - Method in class sleep.engine.atoms.Foreach
 
evaluate(ScriptEnvironment) - Method in class sleep.engine.atoms.Get
 
evaluate(ScriptEnvironment) - Method in class sleep.engine.atoms.Goto
 
evaluate(ScriptEnvironment) - Method in class sleep.engine.atoms.Index
 
evaluate(ScriptEnvironment) - Method in class sleep.engine.atoms.ObjectAccess
 
evaluate(ScriptEnvironment) - Method in class sleep.engine.atoms.ObjectNew
 
evaluate(ScriptEnvironment) - Method in class sleep.engine.atoms.Operate
 
evaluate(ScriptEnvironment) - Method in class sleep.engine.atoms.PLiteral
 
evaluate(ScriptEnvironment) - Method in class sleep.engine.atoms.Push
 
evaluate(ScriptEnvironment) - Method in class sleep.engine.atoms.Return
 
evaluate(ScriptEnvironment) - Method in class sleep.engine.atoms.SValue
 
evaluate(String, ScriptInstance, Stack) - Method in interface sleep.interfaces.Function
evaluate a function and return the resulting scalar.
evaluateExpression(String) - Method in class sleep.runtime.ScriptEnvironment
evaluates an expression
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...
executeMe - Variable in class sleep.parser.Parser
a list of all of the statements
extract(Token) - Static method in class sleep.parser.ParserUtilities
 
extract(String) - Static method in class sleep.parser.ParserUtilities
 

F

FileObject - class sleep.bridges.io.FileObject.
 
FileObject() - Constructor for class sleep.bridges.io.FileObject
 
FileSystemBridge - class sleep.bridges.FileSystemBridge.
provides a bridge for accessing the local file system
FileSystemBridge() - Constructor for class sleep.bridges.FileSystemBridge
 
FilterEnvironment - interface sleep.interfaces.FilterEnvironment.
Filtered environments are similar to normal keyword environments except they also allow a parameter specified by the user.
Foreach(Block, String, Block) - Static method in class sleep.engine.GeneratedSteps
 
Foreach - class sleep.engine.atoms.Foreach.
 
Foreach(Block, String, Block) - Constructor for class sleep.engine.atoms.Foreach
 
Function - interface sleep.interfaces.Function.
A function bridge is used to define a built-in function.
file - Variable in class sleep.bridges.io.FileObject
 
findConstructor(Class, Stack) - Static method in class sleep.engine.ObjectUtilities
 
findImportedClass(String) - Method in class sleep.parser.Parser
 
findMethod(Class, String, Stack) - Static method in class sleep.engine.ObjectUtilities
 
findPrecedentOperators(Statement, TokenList, int, String, int) - Static method in class sleep.parser.TokenParser
 
findex - Variable in class sleep.runtime.ScriptEnvironment
 
fireWarning(String, int) - Method in class sleep.runtime.ScriptInstance
Fire a runtime script warning
flagBreak(boolean) - Method in class sleep.runtime.ScriptEnvironment
determine wether or not we want to break out of the current loop
flagError(String) - Method in class sleep.runtime.ScriptEnvironment
A utility for bridge writers to flag an error.
flagReturn(Scalar) - Method in class sleep.runtime.ScriptEnvironment
 
frames - Variable in class sleep.runtime.ScriptEnvironment
 
func - Variable in class sleep.bridges.DefaultEnvironment
 

G

GeneratedSteps - class sleep.engine.GeneratedSteps.
A class providing static methods for constructing an atomic step of a specific type
GeneratedSteps() - Constructor for class sleep.engine.GeneratedSteps
 
Get(String) - Static method in class sleep.engine.GeneratedSteps
 
Get - class sleep.engine.atoms.Get.
 
Get(String) - Constructor for class sleep.engine.atoms.Get
 
Goto(Check, Block, Block, boolean) - Static method in class sleep.engine.GeneratedSteps
 
Goto - class sleep.engine.atoms.Goto.
 
Goto(Check) - Constructor for class sleep.engine.atoms.Goto
 
GroupBlockTokens(Parser, StringIterator) - Static method in class sleep.parser.LexicalAnalyzer
a general pass over the list of tokens, we create terms and then pass over them creating combined terms
GroupExpressionIndexTokens(Parser, StringIterator) - Static method in class sleep.parser.LexicalAnalyzer
a general pass over the list of tokens, we create terms and then pass over them creating combined terms
GroupParameterTokens(Parser, StringIterator) - Static method in class sleep.parser.LexicalAnalyzer
 
get(Token[], int, int) - Static method in class sleep.parser.ParserUtilities
 
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(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.
getArray() - Method in class sleep.runtime.Scalar
returns a scalar array referenced by this scalar iff this scalar contains an array reference
getArrayScalar(ScalarArray) - Static method in class sleep.runtime.SleepUtils
Creates a scalar with the specified ScalarArray as the value
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
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(Scalar) - Method in class sleep.engine.types.HashContainer
 
getAt(int) - Method in class sleep.runtime.CollectionWrapper
 
getAt(Scalar) - Method in class sleep.runtime.MapWrapper
 
getAt(int) - Method in interface sleep.runtime.ScalarArray
 
getAt(Scalar) - Method in interface sleep.runtime.ScalarHash
Retrieves a scalar from the hashtable.
getClosureVariables() - Method in class sleep.runtime.ScriptVariables
returns the current closure variable scope
getCode() - Method in class sleep.console.ConsoleImplementation
 
getCodeSnippet() - Method in class sleep.error.SyntaxError
return an isolated snippet of code from where the error occured
getConsole() - Static method in class sleep.bridges.io.IOObject
returns an IOObject that represents stdin/stdout
getCurrentFrame() - 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.
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
getFunction(Stack, ScriptInstance) - Static method in class sleep.bridges.BridgeUtilities
retrieves an executable Function object from the stack.
getFunction(String) - Method in class sleep.runtime.ScriptEnvironment
 
getFunctionEnvironment(String) - Method in class sleep.runtime.ScriptEnvironment
 
getFunctionFromScalar(Scalar, ScriptInstance) - Static method in class sleep.runtime.SleepUtils
extracts a callable Function from the passed in Scalar.
getGlobalVariables() - Method in class sleep.runtime.ScriptVariables
returns the global variable scope
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.
getHash() - Method in class sleep.runtime.Scalar
returns a scalar hash referenced by this scalar iff this scalar contains a hash reference
getHashScalar(ScalarHash) - Static method in class sleep.runtime.SleepUtils
Creates a scalar with the specified ScalarHash as the value
getHashScalar() - Static method in class sleep.runtime.SleepUtils
returns an empty hashmap scalar
getHashWrapper(Map) - Static method in class sleep.runtime.SleepUtils
An easy way to make your programs data structures available in the script environment.
getHint() - Method in class sleep.parser.Token
 
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
getInternalVariables(ScriptInstance) - Method in class sleep.runtime.ScriptVariables
returns the script specific variable scope
getKey() - Method in class sleep.bridges.KeyValuePair
 
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.engine.Step
returns the line number this step is associated with
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.error.SyntaxError
return the line number in the file where the error occured.
getLineNumber() - Method in class sleep.parser.StringIterator
 
getList() - Method in class sleep.parser.TokenList
 
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
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
getMode() - Method in class sleep.console.ConsoleImplementation
 
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
getNextSafeSubroutine(BasicSubroutine) - Method in class sleep.bridges.DefaultEnvironment
 
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
 
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
 
getProxy() - Method in class sleep.console.ConsoleImplementation
 
getReader() - Method in class sleep.bridges.io.IOObject
 
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(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 interface sleep.interfaces.Variable
returns the specified scalar, if scalarExists says it is in the environment, this method has to return a scalar
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, ScriptInstance) - Method in class sleep.runtime.ScriptVariables
Returns the specified scalar, looking at each scope in order.
getScalar(int) - Static method in class sleep.runtime.SleepUtils
returns an int scalar with value x
getScalar(double) - Static method in class sleep.runtime.SleepUtils
returns a double scalar with value x
getScalar(Scalar) - Static method in class sleep.runtime.SleepUtils
Forces a copy of the value of the passed in scalar to be made.
getScalar(long) - Static method in class sleep.runtime.SleepUtils
returns a long scalar with value x
getScalar(String) - Static method in class sleep.runtime.SleepUtils
returns a string scalar with value x
getScalar(Object) - Static method in class sleep.runtime.SleepUtils
returns an object scalar with value x
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
getScalarLevel(String, ScriptInstance) - Method in class sleep.runtime.ScriptVariables
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
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
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.
getSource() - Method in class sleep.error.ScriptWarning
returns the ScriptInstance object that was the source of this runtime error
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
 
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
 
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 stack is empty a scalar array with no elements will be returned.
getWriter() - Method in class sleep.bridges.io.IOObject
 
groupByBlockTerm(Parser, Token) - Static method in class sleep.parser.ParserUtilities
breaks down the token into sub tokens that are one "term" wide, in the case of blocks separated by ;
groupByParameterTerm(Parser, Token) - Static method in class sleep.parser.ParserUtilities
breaks down the token into sub tokens that are one "term" wide, a termi in the case of parameters it uses ,

H

HACK_DEC - Static variable in interface sleep.parser.ParserConstants
 
HACK_INC - Static variable in interface sleep.parser.ParserConstants
 
HashContainer - class sleep.engine.types.HashContainer.
 
HashContainer() - Constructor for class sleep.engine.types.HashContainer
 
handleCommand(String) - Method in class sleep.console.ConsoleImplementation
 
hasErrors() - Method in class sleep.parser.Parser
 
hasNext() - Method in class sleep.parser.StringIterator
 
hasNext() - Method in class sleep.runtime.CollectionWrapper.ProxyIterator
 
hasWarnings() - Method in class sleep.parser.Parser
 
hash - Variable in class sleep.runtime.Scalar
 
hint - Variable in class sleep.parser.Token
 

I

IDEA_BLOCK - Static variable in interface sleep.parser.ParserConstants
 
IDEA_BOOLEAN - Static variable in interface sleep.parser.ParserConstants
 
IDEA_DOUBLE - Static variable in interface sleep.parser.ParserConstants
 
IDEA_EXPR - Static variable in interface sleep.parser.ParserConstants
 
IDEA_EXPR_I - Static variable in interface sleep.parser.ParserConstants
 
IDEA_FUNC - Static variable in interface sleep.parser.ParserConstants
 
IDEA_HASH_PAIR - Static variable in interface sleep.parser.ParserConstants
 
IDEA_LITERAL - Static variable in interface sleep.parser.ParserConstants
 
IDEA_NUMBER - Static variable in interface sleep.parser.ParserConstants
 
IDEA_OPER - Static variable in interface sleep.parser.ParserConstants
 
IDEA_PROPERTY - Static variable in interface sleep.parser.ParserConstants
 
IDEA_STRING - Static variable in interface sleep.parser.ParserConstants
 
INDEX_RULE - Static variable in class sleep.parser.LexicalAnalyzer
 
INPUT_CODE - Static variable in class sleep.console.ConsoleImplementation
 
INTERACT - Static variable in class sleep.console.ConsoleImplementation
 
IOObject - class sleep.bridges.io.IOObject.
 
IOObject() - Constructor for class sleep.bridges.io.IOObject
 
Index(String, Block) - Static method in class sleep.engine.GeneratedSteps
 
Index - class sleep.engine.atoms.Index.
 
Index(String, Block) - Constructor for class sleep.engine.atoms.Index
 
IntValue - class sleep.engine.types.IntValue.
 
IntValue(int) - Constructor for class sleep.engine.types.IntValue
 
iffalse - Variable in class sleep.engine.atoms.Goto
 
iftrue - Variable in class sleep.engine.atoms.Goto
 
importPackage(String) - Method in class sleep.parser.Parser
Used by hoes to import package names...
imports - Variable in class sleep.parser.Parser
 
in - Variable in class sleep.bridges.io.IOObject
 
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(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.
intValue() - Method in class sleep.engine.types.DoubleValue
 
intValue() - Method in class sleep.engine.types.IntValue
 
intValue() - Method in class sleep.engine.types.LongValue
 
intValue() - Method in class sleep.engine.types.NullValue
 
intValue() - Method in class sleep.engine.types.ObjectValue
 
intValue() - Method in class sleep.engine.types.StringValue
 
intValue() - Method in class sleep.runtime.Scalar
the int value of this scalar
intValue() - Method in interface sleep.runtime.ScalarType
convert the scalar to an int
isAndPredicate(String, String, String) - Static method in class sleep.parser.Checkers
 
isArray(String) - Static method in class sleep.parser.Checkers
 
isArrayIndex(String) - Static method in class sleep.parser.Checkers
 
isBalanced() - Method in class sleep.parser.CommentRule
 
isBalanced() - Method in class sleep.parser.Rule
 
isBiPredicate(String, String, String) - Static method in class sleep.parser.Checkers
 
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
 
isBlock(String) - Static method in class sleep.parser.Checkers
 
isBoolean(String) - Static method in class sleep.parser.Checkers
 
isBreak(String) - Static method in class sleep.parser.Checkers
 
isBreak - Variable in class sleep.runtime.ScriptEnvironment
value that determines if we are breaking out of the current loop or not
isBreak() - Method in class sleep.runtime.ScriptEnvironment
checks wether or not we want to break out of the current loop
isClassIdentifier(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
 
isDecrementHack(String) - Static method in class sleep.parser.Checkers
 
isDouble(String) - Static method in class sleep.parser.Checkers
 
isEOF() - Method in class sleep.bridges.io.IOObject
 
isElseIfStatement(String, String, String, String) - Static method in class sleep.parser.Checkers
 
isElseStatement(String, String) - Static method in class sleep.parser.Checkers
 
isEmptyScalar(Scalar) - Static method in class sleep.runtime.SleepUtils
returns true if the passed in scalar value is equivalent to the empty scalar or null
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, String) - Static method in class sleep.parser.Checkers
 
isFunctionCall(String) - Static method in class sleep.parser.Checkers
 
isFunctionReferenceToken(String) - Static method in class sleep.parser.Checkers
 
isFunctionScalar(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
 
isHexNumber(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, String) - Static method in class sleep.parser.Checkers
 
isIndexableItem(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.
isLoop - Variable in class sleep.engine.atoms.Goto
 
isMatch(char) - Method in class sleep.parser.CommentRule
 
isMatch(char) - Method in class sleep.parser.Rule
 
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
 
isReturn(String) - Static method in class sleep.parser.Checkers
 
isReturn() - Method in class sleep.runtime.ScriptEnvironment
 
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
 
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
 

J

join(Token[]) - Static method in class sleep.parser.ParserUtilities
 
join(String[], String) - Static method in class sleep.parser.ParserUtilities
 

K

KeyValuePair - class sleep.bridges.KeyValuePair.
 
KeyValuePair(Scalar, Scalar) - Constructor for class sleep.bridges.KeyValuePair
 
KillFrame() - Method in class sleep.runtime.ScriptEnvironment
 
key - Variable in class sleep.bridges.KeyValuePair
 
keys() - Method in class sleep.engine.types.HashContainer
 
keys() - Method in class sleep.runtime.MapWrapper
this operation is kind of expensive...
keys() - Method in interface sleep.runtime.ScalarHash
Returns all of the keys within the scalar hash.
keywords - Static variable in class sleep.parser.Checkers
a hashtable that keeps track of language keywords so they are not mistaken for function names

L

LexicalAnalyzer - class sleep.parser.LexicalAnalyzer.
 
LexicalAnalyzer() - Constructor for class sleep.parser.LexicalAnalyzer
 
Loadable - interface sleep.interfaces.Loadable.
A loadable bridge is used to perform actions on scripts when they are loaded and unloaded.
LongValue - class sleep.engine.types.LongValue.
 
LongValue(long) - Constructor for class sleep.engine.types.LongValue
 
line - Variable in class sleep.engine.Step
the script line number that this step was generated from
line - Variable in class sleep.error.ScriptWarning
 
lineCount - Variable in class sleep.console.ConsoleImplementation
 
lineNo - Variable in class sleep.error.SyntaxError
 
lineNo - Variable in class sleep.parser.StringIterator
 
listen(int, int, Scalar, ScriptEnvironment) - Method in class sleep.bridges.io.SocketObject
 
loadScript(String, Block, Hashtable) - Method in class sleep.runtime.ScriptLoader
 
loadScript(String, String, Hashtable) - Method in class sleep.runtime.ScriptLoader
 
loadScript(String, InputStream) - Method in class sleep.runtime.ScriptLoader
 
loadScript(String, InputStream, Hashtable) - Method in class sleep.runtime.ScriptLoader
 
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(File, Hashtable) - Method in class sleep.runtime.ScriptLoader
Loads the specified script file, uses the specified hashtable for the environment
loadScript(File) - Method in class sleep.runtime.ScriptLoader
Loads the specified script file
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.
loadSerialized(String, InputStream, Hashtable) - Method in class sleep.runtime.ScriptLoader
Loads a serialized script from the specified input stream with the specified name
loaded - Variable in class sleep.runtime.ScriptInstance
true by default, indicates wether or not the script is loaded.
loadedScripts - Variable in class sleep.runtime.ScriptLoader
loaded scripts
longValue() - Method in class sleep.engine.types.DoubleValue
 
longValue() - Method in class sleep.engine.types.IntValue
 
longValue() - Method in class sleep.engine.types.LongValue
 
longValue() - Method in class sleep.engine.types.NullValue
 
longValue() - Method in class sleep.engine.types.ObjectValue
 
longValue() - Method in class sleep.engine.types.StringValue
 
longValue() - Method in class sleep.runtime.Scalar
the long value of this scalar
longValue() - Method in interface sleep.runtime.ScalarType
convert the scalar to a long

M

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
 
main(String[]) - Static method in class sleep.console.TextConsole
 
main(String[]) - Static method in class sleep.parser.Parser
 
main(String[]) - Static method in class sleep.parser.StringIterator
 
makeToken(String, Token) - Static method in class sleep.parser.ParserUtilities
 
mark() - Method in class sleep.parser.StringIterator
 
mark1 - Variable in class sleep.parser.StringIterator
 
mark2 - Variable in class sleep.parser.StringIterator
 
marker - Variable in class sleep.error.SyntaxError
 
marker - Variable in class sleep.parser.Token
 
message - Variable in class sleep.error.ScriptWarning
 
mode - Variable in class sleep.console.ConsoleImplementation
the mode the console is currently in, DEFAULT, INPUT_CODE, or QUIT
myProxy - Variable in class sleep.console.ConsoleImplementation
the user installed console proxy, defining all input/output for the console

N

NullValue - class sleep.engine.types.NullValue.
 
NullValue() - Constructor for class sleep.engine.types.NullValue
 
name - Variable in class sleep.engine.atoms.Check
 
name - Variable in class sleep.engine.atoms.Goto
 
name - Variable in class sleep.engine.atoms.ObjectAccess
 
name - Variable in class sleep.engine.atoms.ObjectNew
 
name - Variable in class sleep.runtime.ScriptInstance
the name of this script
next - Variable in class sleep.bridges.io.DataPattern
 
next - Variable in class sleep.engine.Step
Steps act as a simple self contained linked list
next() - Method in class sleep.parser.StringIterator
 
next() - Method in class sleep.runtime.CollectionWrapper.ProxyIterator
 
nullScalar - Static variable in class sleep.runtime.SleepUtils
a shared instance of the dreaded null scalar...

O

OBJECT_ACCESS - Static variable in interface sleep.parser.ParserConstants
 
OBJECT_ACCESS_S - Static variable in interface sleep.parser.ParserConstants
 
OBJECT_CL_CALL - Static variable in interface sleep.parser.ParserConstants
 
OBJECT_IMPORT - Static variable in interface sleep.parser.ParserConstants
 
OBJECT_NEW - Static variable in interface sleep.parser.ParserConstants
 
ObjectAccess(String) - Static method in class sleep.engine.GeneratedSteps
 
ObjectAccess - class sleep.engine.atoms.ObjectAccess.
 
ObjectAccess(String, Class) - Constructor for class sleep.engine.atoms.ObjectAccess
 
ObjectAccessStatic(Class, String) - Static method in class sleep.engine.GeneratedSteps
 
ObjectNew(Class) - Static method in class sleep.engine.GeneratedSteps
 
ObjectNew - class sleep.engine.atoms.ObjectNew.
 
ObjectNew(Class) - Constructor for class sleep.engine.atoms.ObjectNew
 
ObjectUtilities - class sleep.engine.ObjectUtilities.
 
ObjectUtilities() - Constructor for class sleep.engine.ObjectUtilities
 
ObjectValue - class sleep.engine.types.ObjectValue.
 
ObjectValue(Object) - Constructor for class sleep.engine.types.ObjectValue
 
Operate(String) - Static method in class sleep.engine.GeneratedSteps
 
Operate - class sleep.engine.atoms.Operate.
 
Operate(String) - Constructor for class sleep.engine.atoms.Operate
 
Operator - interface sleep.interfaces.Operator.
An operator in sleep parlance is anything used to operate on two variables inside of an expression.
objectValue() - Method in class sleep.engine.types.DoubleValue
 
objectValue() - Method in class sleep.engine.types.IntValue
 
objectValue() - Method in class sleep.engine.types.LongValue
 
objectValue() - Method in class sleep.engine.types.NullValue
 
objectValue() - Method in class sleep.engine.types.ObjectValue
 
objectValue() - Method in class sleep.engine.types.StringValue
 
objectValue() - Method in class sleep.runtime.Scalar
the object value of this scalar
objectValue() - Method in interface sleep.runtime.ScalarType
convert the scalar to an object value *shrug*
open(String, ScriptEnvironment) - Method in class sleep.bridges.io.FileObject
opens a file and references it to this file object.
open(String, ScriptEnvironment) - Method in class sleep.bridges.io.ProcessObject
 
open(String, int, ScriptEnvironment) - Method in class sleep.bridges.io.SocketObject
 
open - Variable in class sleep.parser.Rule
 
openRead(InputStream) - Method in class sleep.bridges.io.IOObject
 
openWrite(OutputStream) - Method in class sleep.bridges.io.IOObject
 
operate(String, ScriptInstance, Stack) - Method in class sleep.bridges.BasicNumbers
 
operate(String, ScriptInstance, Stack) - Method in interface sleep.interfaces.Operator
apply operator operatorName on the values in the stack.
out - Variable in class sleep.bridges.io.IOObject
 

P

PAREN_RULE - Static variable in class sleep.parser.LexicalAnalyzer
 
PLiteral(String[], Block[], Block[]) - Static method in class sleep.engine.GeneratedSteps
 
PLiteral - class sleep.engine.atoms.PLiteral.
 
PLiteral(String[], Block[], Block[]) - Constructor for class sleep.engine.atoms.PLiteral
 
PRED_AND - Static variable in interface sleep.parser.ParserConstants
 
PRED_BI - Static variable in interface sleep.parser.ParserConstants
 
PRED_EXPR - Static variable in interface sleep.parser.ParserConstants
 
PRED_IDEA - Static variable in interface sleep.parser.ParserConstants
 
PRED_OR - Static variable in interface sleep.parser.ParserConstants
 
PRED_UNI - Static variable in interface sleep.parser.ParserConstants
 
PRESERVE_ENTITY - Static variable in class sleep.parser.Rule
 
PRESERVE_SINGLE - Static variable in class sleep.parser.Rule
 
Parse(String) - Static method in class sleep.bridges.io.DataPattern
 
ParseBlocks(Parser, TokenList) - Static method in class sleep.parser.TokenParser
 
ParseIdea(Parser, TokenList) - Static method in class sleep.parser.TokenParser
 
ParseObject(Parser, TokenList) - Static method in class sleep.parser.TokenParser
 
ParsePredicate(Parser, TokenList) - Static method in class sleep.parser.TokenParser
 
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
ParserConfig - class sleep.parser.ParserConfig.
This class offers access to modify some settings within the sleep parser.
ParserConfig() - Constructor for class sleep.parser.ParserConfig
 
ParserConstants - interface sleep.parser.ParserConstants.
 
ParserUtilities - class sleep.parser.ParserUtilities.
 
ParserUtilities() - Constructor for class sleep.parser.ParserUtilities
 
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.
ProcessObject - class sleep.bridges.io.ProcessObject.
 
ProcessObject() - Constructor for class sleep.bridges.io.ProcessObject
 
Push() - Static method in class sleep.engine.GeneratedSteps
 
Push - class sleep.engine.atoms.Push.
 
Push() - Constructor for class sleep.engine.atoms.Push
 
parse(Statement) - Method in class sleep.parser.CodeGenerator
 
parse() - Method in class sleep.parser.Parser
 
parse(StringIterator) - Method in class sleep.parser.Parser
 
parseBlock(Token) - Method in class sleep.parser.CodeGenerator
 
parseBlock(LinkedList) - Method in class sleep.parser.CodeGenerator
 
parseIdea(Token) - Method in class sleep.parser.CodeGenerator
 
parseObject(Token) - Method in class sleep.parser.CodeGenerator
 
parseObject(Statement) - Method in class sleep.parser.CodeGenerator
 
parseParameters(Token) - Method in class sleep.parser.CodeGenerator
 
parsePredicate(Token) - Method in class sleep.parser.CodeGenerator
 
parsePredicate(Statement) - Method in class sleep.parser.CodeGenerator
 
parser - Variable in class sleep.parser.CodeGenerator
 
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 interface 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
position - Variable in class sleep.parser.StringIterator
 
print(String) - Method in class sleep.bridges.io.IOObject
 
printLine(String) - Method in class sleep.bridges.io.IOObject
 
process - Variable in class sleep.bridges.io.ProcessObject
 
processScriptErrors(YourCodeSucksException) - Method in class sleep.console.ConsoleImplementation
a convienence method that formats and writes each syntax error to the proxy output
processScriptWarning(ScriptWarning) - Method in class sleep.console.ConsoleImplementation
 
processScriptWarning(ScriptWarning) - Method in interface sleep.error.RuntimeWarningWatcher
fired when a runtime warning has occured.
prompt() - Method in class sleep.console.ConsoleImplementation
 
push(Scalar) - Method in class sleep.bridges.ArgumentArray
 
push(Scalar) - Method in class sleep.engine.types.ArrayContainer
 
push(Scalar) - Method in class sleep.runtime.CollectionWrapper
 
push(Scalar) - Method in interface sleep.runtime.ScalarArray
 
pushClosureLevel(Variable) - Method in class sleep.runtime.ScriptVariables
makes the current closure variable scope active, once the closure has executed this should be popped
pushLocalLevel() - Method in class sleep.runtime.ScriptVariables
starts a new local variable scope.
putScalar(String, Scalar) - Method in class sleep.bridges.DefaultVariable
 
putScalar(String, Scalar) - Method in interface sleep.interfaces.Variable
put a scalar into this variable environment
putScalar(String, Scalar) - Method in class sleep.runtime.ScriptEnvironment
puts a scalar into this scripts environment
putScalar(String, Scalar) - Method in class sleep.runtime.ScriptVariables
puts a scalar into the global scope

Q

QUIT - Static variable in class sleep.console.ConsoleImplementation
 
quickExecute(String) - Method in class sleep.console.ConsoleImplementation
 

R

RegexBridge - class sleep.bridges.RegexBridge.
Provides a bridge between Java's regex API and sleep.
RegexBridge() - Constructor for class sleep.bridges.RegexBridge
 
Return() - Static method in class sleep.engine.GeneratedSteps
 
Return - class sleep.engine.atoms.Return.
 
Return() - Constructor for class sleep.engine.atoms.Return
 
Rule - class sleep.parser.Rule.
 
Rule(String, String, char, char) - Constructor for class sleep.parser.Rule
 
Rule(String, char) - Constructor for class sleep.parser.Rule
 
Rule() - Constructor for class sleep.parser.Rule
 
RuntimeWarningWatcher - interface sleep.error.RuntimeWarningWatcher.
Runtime errors are caught by sleep.
readLine() - Method in class sleep.bridges.io.IOObject
 
reader - Variable in class sleep.bridges.io.IOObject
 
readerb - Variable in class sleep.bridges.io.IOObject
 
realIterator - Variable in class sleep.runtime.CollectionWrapper.ProxyIterator
 
remove(Scalar) - Method in class sleep.bridges.ArgumentArray
 
remove(int) - Method in class sleep.bridges.ArgumentArray
 
remove(Scalar) - Method in class sleep.engine.types.ArrayContainer
 
remove(int) - Method in class sleep.engine.types.ArrayContainer
 
remove(Scalar) - Method in class sleep.engine.types.HashContainer
 
remove() - Method in class sleep.runtime.CollectionWrapper.ProxyIterator
 
remove(int) - Method in class sleep.runtime.CollectionWrapper
 
remove(Scalar) - Method in class sleep.runtime.CollectionWrapper
 
remove(Scalar) - Method in class sleep.runtime.MapWrapper
 
remove(Scalar) - Method in interface sleep.runtime.ScalarArray
 
remove(int) - Method in interface sleep.runtime.ScalarArray
 
remove(Scalar) - Method in interface sleep.runtime.ScalarHash
Removes the specified scalar from the hashmap.
removeScalar(String) - Method in class sleep.bridges.DefaultVariable
 
removeScalar(String) - Method in interface sleep.interfaces.Variable
remove a scalar from this variable environment
removeWarningWatcher(RuntimeWarningWatcher) - Method in class sleep.runtime.ScriptInstance
Removes a runtime warning watcher listener
reportError(String, Token) - Method in class sleep.parser.Parser
 
reportError(SyntaxError) - Method in class sleep.parser.Parser
 
reportWarning(String, Token) - Method in class sleep.parser.Parser
 
reset() - Method in class sleep.parser.StringIterator
 
restore() - Method in class sleep.parser.CodeGenerator
 
rppl() - Method in class sleep.console.ConsoleImplementation
starts the console
runCode(Block, ScriptEnvironment) - Static method in class sleep.runtime.SleepUtils
"safely" run a snippet of code.
runCode(ScriptInstance, Block, HashMap) - Static method in class sleep.runtime.SleepUtils
"safely" run a snippet of code.
runCode(ScriptInstance, Block) - Static method in class sleep.runtime.SleepUtils
"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

S

SQUOTE_RULE - Static variable in class sleep.parser.LexicalAnalyzer
 
SValue(Scalar) - Static method in class sleep.engine.GeneratedSteps
 
SValue - class sleep.engine.atoms.SValue.
 
SValue(Scalar) - Constructor for class sleep.engine.atoms.SValue
 
Scalar - class sleep.runtime.Scalar.
A scalar is the universal data type for sleep variables.
Scalar() - Constructor for class sleep.runtime.Scalar
 
ScalarArray - interface sleep.runtime.ScalarArray.
This interface lets you implement your own data structure behind a scalar array.
ScalarHash - interface sleep.runtime.ScalarHash.
This interface lets you create your own scalar hash implementation.
ScalarType - interface sleep.runtime.ScalarType.
This interface makes it possible to create a new scalar type.
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
ScriptEnvironment(Hashtable, ScriptInstance) - Constructor for class sleep.runtime.ScriptEnvironment
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(Hashtable) - Constructor for class sleep.runtime.ScriptInstance
 
ScriptInstance(Variable, Hashtable) - Constructor for class sleep.runtime.ScriptInstance
Constructs a script instance, if either of the parameters are null a default implementation will be used.
ScriptInstance() - Constructor for class sleep.runtime.ScriptInstance
Constructs a new script instance
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
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(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.
ScriptWarning(ScriptInstance, String, int) - Constructor for class sleep.error.ScriptWarning
 
SleepClosure - class sleep.bridges.SleepClosure.
The Sleep Closure class.
SleepClosure(ScriptInstance, Block) - Constructor for class sleep.bridges.SleepClosure
Creates a new Sleep Closure, with a brand new set of internal variables.
SleepClosure(ScriptInstance, Block, Variable) - Constructor for class sleep.bridges.SleepClosure
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.
SleepUtils() - Constructor for class sleep.runtime.SleepUtils
 
SocketObject - class sleep.bridges.io.SocketObject.
 
SocketObject() - Constructor for class sleep.bridges.io.SocketObject
 
Statement - class sleep.parser.Statement.
 
Statement() - Constructor for class sleep.parser.Statement
 
Step - class sleep.engine.Step.
The root of all atomic steps.
Step() - Constructor for class sleep.engine.Step
 
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(String) - Constructor for class sleep.engine.types.StringValue
 
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...
sarray - Variable in class sleep.parser.TokenList
 
saveSerialized(ScriptInstance) - Static method in class sleep.runtime.ScriptLoader
Saves a serialized version of the compiled script to scriptname.bin.
saveSerialized(ScriptInstance, OutputStream) - Static method in class sleep.runtime.ScriptLoader
Saves a serialized version of the ScriptInstance si to the specified output stream
scalarExists(String) - Method in class sleep.bridges.DefaultVariable
 
scalarExists(String) - Method in interface sleep.interfaces.Variable
true if a scalar named key exists in this variable environment
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 interface sleep.runtime.ScalarArray
 
script - Variable in class sleep.console.ConsoleImplementation
the *active* script...
script - Variable in class sleep.error.ScriptWarning
 
script - Variable in class sleep.runtime.ScriptInstance
The compiled sleep code for this script, the ScriptLoader will set this value upon loading a script.
scriptLoaded(ScriptInstance) - Method in class sleep.bridges.BasicIO
 
scriptLoaded(ScriptInstance) - Method in class sleep.bridges.BasicNumbers
 
scriptLoaded(ScriptInstance) - Method in class sleep.bridges.BasicStrings
 
scriptLoaded(ScriptInstance) - Method in class sleep.bridges.BasicUtilities
 
scriptLoaded(ScriptInstance) - Method in class sleep.bridges.DefaultEnvironment
 
scriptLoaded(ScriptInstance) - Method in class sleep.bridges.DefaultVariable
 
scriptLoaded(ScriptInstance) - Method in class sleep.bridges.FileSystemBridge
 
scriptLoaded(ScriptInstance) - Method in class sleep.bridges.RegexBridge
 
scriptLoaded(ScriptInstance) - Method in class sleep.bridges.TimeDateBridge
 
scriptLoaded(ScriptInstance) - Method in class sleep.console.ConsoleImplementation
 
scriptLoaded(ScriptInstance) - Method in interface sleep.interfaces.Loadable
called when a script is loaded
scriptLoader - Variable in class sleep.console.ConsoleImplementation
the script loader
scriptUnloaded(ScriptInstance) - Method in class sleep.bridges.BasicIO
 
scriptUnloaded(ScriptInstance) - Method in class sleep.bridges.BasicNumbers
 
scriptUnloaded(ScriptInstance) - Method in class sleep.bridges.BasicStrings
 
scriptUnloaded(ScriptInstance) - Method in class sleep.bridges.BasicUtilities
 
scriptUnloaded(ScriptInstance) - Method in class sleep.bridges.DefaultEnvironment
 
scriptUnloaded(ScriptInstance) - Method in class sleep.bridges.DefaultVariable
 
scriptUnloaded(ScriptInstance) - Method in class sleep.bridges.FileSystemBridge
 
scriptUnloaded(ScriptInstance) - Method in class sleep.bridges.RegexBridge
 
scriptUnloaded(ScriptInstance) - Method in class sleep.bridges.TimeDateBridge
 
scriptUnloaded(ScriptInstance) - Method in class sleep.console.ConsoleImplementation
 
scriptUnloaded(ScriptInstance) - Method in interface sleep.interfaces.Loadable
called when a script is unloaded
scripts - Variable in class sleep.runtime.ScriptLoader
loaded scripts except referable by key
self - Variable in class sleep.runtime.ScriptEnvironment
the script instance that this is the environment for
sendEOF() - Method in class sleep.bridges.io.IOObject
 
setCharsetConversion(boolean) - Method in class sleep.runtime.ScriptLoader
Java by default maps characters from an 8bit ascii file to an internal 32bit unicode representation.
setChoices(Check, Check) - Method in class sleep.engine.atoms.Check
 
setChoices(Block, Block) - Method in class sleep.engine.atoms.Goto
 
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.
setInfo(int) - Method in class sleep.engine.Step
convience method for the code generator to set the line number.
setInfo(int) - Method in class sleep.engine.atoms.Check
 
setLoop(boolean) - Method in class sleep.engine.atoms.Goto
 
setMode(int) - Method in class sleep.console.ConsoleImplementation
 
setName(String) - Method in class sleep.runtime.ScriptInstance
Sets the name of this script
setProxy(ConsoleProxy) - Method in class sleep.console.ConsoleImplementation
Sets up the implementation of the consoles input/output facilities
setScalarLevel(String, Scalar, Variable) - Method in class sleep.runtime.ScriptVariables
Puts the specified scalar in a specific scope
setScriptVariables(ScriptVariables) - Method in class sleep.runtime.ScriptInstance
Sets the variable container to be used by this script
setType(int) - Method in class sleep.parser.Statement
 
setUnloaded() - Method in class sleep.runtime.ScriptInstance
Flag this script as unloaded
setValue(ScalarType) - Method in class sleep.runtime.Scalar
set the value of this scalar container to a scalar value of some type
setValue(ScalarArray) - Method in class sleep.runtime.Scalar
set the value of this scalar container to a scalar array
setValue(ScalarHash) - Method in class sleep.runtime.Scalar
set the value of this scalar container to a scalar hash
setValue(Scalar) - Method in class sleep.runtime.Scalar
clones the value from the specified scalar and gives this scalar a copy of the value
setVariables(Variable) - Method in class sleep.bridges.SleepClosure
Sets the variable environment for this closure
sharedEnvironment - Variable in class sleep.console.ConsoleImplementation
the script environment with all of the installed functions, predicates, and environments
sharedVariables - Variable in class sleep.console.ConsoleImplementation
the shared variable container for all scripts, assuming variables are being shared
showLines - Variable in class sleep.console.ConsoleImplementation
 
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 interface sleep.runtime.ScalarArray
 
sleep.bridges - package sleep.bridges
This package contains the default bridges distributed with sleep.
sleep.bridges.io - package sleep.bridges.io
 
sleep.console - package sleep.console
Integrating the Sleep Console
sleep.engine - package sleep.engine
 
sleep.engine.atoms - package sleep.engine.atoms
 
sleep.engine.types - package sleep.engine.types
 
sleep.error - package sleep.error
 
sleep.interfaces - package sleep.interfaces
 
sleep.parser - package sleep.parser
The parser package.
sleep.runtime - package sleep.runtime
 
socket - Variable in 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 interface sleep.runtime.ScalarArray
 
source - Variable in class sleep.engine.atoms.Foreach
 
start - Variable in class sleep.engine.atoms.Goto
 
statements - Variable in class sleep.parser.Parser
 
stringValue() - Method in class sleep.runtime.Scalar
the string value of this scalar

T

TYPE_DOUBLE - Static variable in class sleep.bridges.BasicNumbers
 
TYPE_INT - Static variable in class sleep.bridges.BasicNumbers
 
TYPE_LONG - Static variable in class sleep.bridges.BasicNumbers
 
TextConsole - class sleep.console.TextConsole.
Default implementation of the console proxy class.
TextConsole() - Constructor for class sleep.console.TextConsole
 
TimeDateBridge - class sleep.bridges.TimeDateBridge.
 
TimeDateBridge() - Constructor for class sleep.bridges.TimeDateBridge
 
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.
 
TokenList() - Constructor for class sleep.parser.TokenList
 
TokenParser - class sleep.parser.TokenParser.
 
TokenParser() - Constructor for class sleep.parser.TokenParser
 
tarray - Variable in class sleep.parser.TokenList
 
term - Variable in class sleep.parser.Token
 
terms - Variable in class sleep.parser.TokenList
 
text - Variable in class sleep.parser.StringIterator
 
texts - Variable in class sleep.parser.StringIterator
 
toString() - Method in class sleep.bridges.ArgumentArray
 
toString() - Method in class sleep.bridges.KeyValuePair
 
toString(String) - Method in class sleep.engine.Block
 
toString() - Method in class sleep.engine.Block
Returns a string representation of the Abstract Syntax Tree (AST).
toString(String) - Method in class sleep.engine.Step
returns a string representation of this atomic step
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() - Method in class sleep.engine.atoms.BindFilter
 
toString() - Method in class sleep.engine.atoms.BindPredicate
 
toString() - Method in class sleep.engine.atoms.Break
 
toString() - Method in class sleep.engine.atoms.Call
 
toString(String) - Method in class sleep.engine.atoms.Check
 
toString() - Method in class sleep.engine.atoms.Check
 
toString() - Method in class sleep.engine.atoms.CreateClosure
 
toString() - Method in class sleep.engine.atoms.CreateFrame
 
toString(String) - Method in class sleep.engine.atoms.Foreach
 
toString() - Method in class sleep.engine.atoms.Get
 
toString(String) - Method in class sleep.engine.atoms.Goto
 
toString(String) - Method in class sleep.engine.atoms.Index
 
toString() - Method in class sleep.engine.atoms.ObjectAccess
 
toString() - Method in class sleep.engine.atoms.ObjectNew
 
toString() - Method in class sleep.engine.atoms.Operate
 
toString(String) - Method in class sleep.engine.atoms.PLiteral
 
toString() - Method in class sleep.engine.atoms.PLiteral
 
toString() - Method in class sleep.engine.atoms.Push
 
toString() - Method in class sleep.engine.atoms.Return
 
toString() - Method in class sleep.engine.atoms.SValue
 
toString() - Method in class sleep.engine.types.ArrayContainer
 
toString() - Method in class sleep.engine.types.DoubleValue
 
toString() - Method in class sleep.engine.types.HashContainer
 
toString() - Method in class sleep.engine.types.IntValue
 
toString() - Method in class sleep.engine.types.LongValue
 
toString() - Method in class sleep.engine.types.NullValue
 
toString() - Method in class sleep.engine.types.ObjectValue
 
toString() - Method in class sleep.engine.types.StringValue
 
toString() - Method in class sleep.error.YourCodeSucksException
 
toString() - Method in class sleep.parser.CommentRule
 
toString() - Method in class sleep.parser.Rule
 
toString() - Method in class sleep.parser.Statement
 
toString() - Method in class sleep.parser.StringIterator
 
toString() - Method in class sleep.parser.Token
 
toString() - Method in class sleep.parser.TokenList
 
toString() - Method in class sleep.runtime.CollectionWrapper
 
toString() - Method in class sleep.runtime.MapWrapper
 
toString() - Method in class sleep.runtime.Scalar
 
toString() - Method in interface sleep.runtime.ScalarType
convert the scalar to a string
toString() - Method in class sleep.runtime.ScriptEnvironment
 
tokens - Variable in class sleep.parser.Parser
a list of all of the parser warnings
trim(Parser, String) - Static method in class sleep.parser.LexicalAnalyzer
 
type - Variable in class sleep.parser.Statement
 

U

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

V

VALUE_INDEXED - Static variable in interface sleep.parser.ParserConstants
 
VALUE_SCALAR - Static variable in interface sleep.parser.ParserConstants
 
Variable - interface sleep.interfaces.Variable.
A variable bridge is a container for storing scalars.
value - Variable in class sleep.bridges.KeyValuePair
 
value - Variable in class sleep.bridges.io.DataPattern
 
value - Variable in class sleep.engine.atoms.Foreach
 
value - Variable in class sleep.engine.types.DoubleValue
 
value - Variable in class sleep.engine.types.IntValue
 
value - Variable in class sleep.engine.types.LongValue
 
value - Variable in class sleep.engine.types.ObjectValue
 
value - Variable in class sleep.engine.types.StringValue
 
value - Variable in class sleep.runtime.Scalar
 
values - Variable in class sleep.bridges.DefaultVariable
 
values - Variable in class sleep.engine.types.ArrayContainer
 
values - Variable in class sleep.engine.types.HashContainer
 
values - Variable in class sleep.runtime.CollectionWrapper
 
values - Variable in class sleep.runtime.MapWrapper
 
variables - Variable in class sleep.runtime.ScriptInstance
The script variables which contains all of the variable information for a script

W

warnings - Variable in class sleep.parser.Parser
a list of all of the parser errors
watchers - Variable in class sleep.runtime.ScriptInstance
A list of listeners watching for a runtime error
witnessClose(Token) - Method in class sleep.parser.CommentRule
Used to keep track of closing braces to check balance later on
witnessClose(Token) - Method in class sleep.parser.Rule
Used to keep track of closing braces to check balance later on
witnessOpen(Token) - Method in class sleep.parser.CommentRule
Used to keep track of opening braces to check balance later on
witnessOpen(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
 
writer - Variable in class sleep.bridges.io.IOObject
 
writerb - Variable in class sleep.bridges.io.IOObject
 

Y

YourCodeSucksException - exception sleep.error.YourCodeSucksException.
Syntax errors are a reality of programming.
YourCodeSucksException(LinkedList) - Constructor for class sleep.error.YourCodeSucksException
 

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