Serialized Form


Package pnuts.compiler

Class pnuts.compiler.ClassFileException extends java.lang.RuntimeException implements Serializable

Class pnuts.compiler.FileWriterHandler extends java.lang.Object implements Serializable

Serialized Fields

dir

java.io.File dir

verbose

boolean verbose

Package pnuts.ext

Class pnuts.ext.CachedScript extends Pnuts implements Serializable

Serialized Fields

scriptURL

java.net.URL scriptURL

parsedTime

long parsedTime

script

Pnuts script

encoding

java.lang.String encoding

Class pnuts.ext.CompositePackage extends Package implements Serializable

Serialized Fields

pkg

Package pkg

Class pnuts.ext.ConfigurationAdapter extends Configuration implements Serializable

Serialized Fields

base

Configuration base

Class pnuts.ext.LimitedClassesConfiguration extends ConfigurationAdapter implements Serializable

Serialized Fields

set

java.util.HashSet<E> set

Class pnuts.ext.ModuleBase extends java.lang.Object implements Serializable

Serialization Methods

readObject

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

Class pnuts.ext.NonPublicMemberAccessor extends PublicMemberAccessor implements Serializable

Class pnuts.ext.PublicMemberAccessor extends ConfigurationAdapter implements Serializable


Package pnuts.lang

Class pnuts.lang.BinaryOperator extends java.lang.Object implements Serializable

Class pnuts.lang.BinaryOperator.Add extends BinaryOperator implements Serializable

Class pnuts.lang.BinaryOperator.And extends BinaryOperator implements Serializable

Class pnuts.lang.BinaryOperator.Divide extends BinaryOperator implements Serializable

Class pnuts.lang.BinaryOperator.Mod extends BinaryOperator implements Serializable

Class pnuts.lang.BinaryOperator.Multiply extends BinaryOperator implements Serializable

Class pnuts.lang.BinaryOperator.Or extends BinaryOperator implements Serializable

Class pnuts.lang.BinaryOperator.ShiftArithmetic extends BinaryOperator implements Serializable

Class pnuts.lang.BinaryOperator.ShiftLeft extends BinaryOperator implements Serializable

Class pnuts.lang.BinaryOperator.ShiftRight extends BinaryOperator implements Serializable

Class pnuts.lang.BinaryOperator.Subtract extends BinaryOperator implements Serializable

Class pnuts.lang.BinaryOperator.Xor extends BinaryOperator implements Serializable

Class pnuts.lang.BooleanOperator extends java.lang.Object implements Serializable

Class pnuts.lang.BooleanOperator.EQ extends BooleanOperator implements Serializable

Class pnuts.lang.BooleanOperator.GE extends BooleanOperator implements Serializable

Class pnuts.lang.BooleanOperator.GT extends BooleanOperator implements Serializable

Class pnuts.lang.BooleanOperator.LE extends BooleanOperator implements Serializable

Class pnuts.lang.BooleanOperator.LT extends BooleanOperator implements Serializable

Class pnuts.lang.Configuration extends java.lang.Object implements Serializable

Serialization Methods

readObject

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

_add

BinaryOperator _add
object1 + object2


_subtract

BinaryOperator _subtract
object1 - object2


_multiply

BinaryOperator _multiply
object1 * object2


_mod

BinaryOperator _mod
object1 % object2


_divide

BinaryOperator _divide
object1 / object2


_shiftArithmetic

BinaryOperator _shiftArithmetic
object1 >>> object2


_shiftLeft

BinaryOperator _shiftLeft
object1 < < object2


_shiftRight

BinaryOperator _shiftRight
object1 >> object2


_and

BinaryOperator _and
object1 & object2


_or

BinaryOperator _or
object1 | object2


_xor

BinaryOperator _xor
object1 ^ object2


_add1

UnaryOperator _add1
object++, ++object


_subtract1

UnaryOperator _subtract1
object--, object--


_not

UnaryOperator _not
~object


_negate

UnaryOperator _negate
- object


_eq

BooleanOperator _eq
object1 == object2


_lt

BooleanOperator _lt
object1 < object2


_le

BooleanOperator _le
object1 <= object2


_gt

BooleanOperator _gt
object1 > object2


_ge

BooleanOperator _ge
object1 >= object2


_imports

java.lang.String[] _imports
Default imports

Class pnuts.lang.Escape extends java.lang.RuntimeException implements Serializable

Serialized Fields

value

java.lang.Object value

Class pnuts.lang.Function extends Runtime implements Serializable

serialVersionUID: -3930895958604659360L

Serialization Methods

readObject

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

writeObject

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

funcName

java.lang.String funcName
name of the function including the scope information

 

name

java.lang.String name
name of the function without the scope information

 

anonymous

boolean anonymous

nargs

int nargs
the number of arguments

 

varargs

boolean varargs
variable length arugments

 

locals

java.lang.String[] locals
local parameters

 

node

SimpleNode node
reference to the definition


lexicalScope

pnuts.lang.SymbolTable lexicalScope
 

importEnv

pnuts.lang.ImportEnv importEnv
"import" environment

 

moduleList

pnuts.lang.ModuleList moduleList
Used modules

 

outer

Function outer
reference to the outer function

 

pkgName

java.lang.String pkgName
the package name in which this function is defined

 

function

PnutsFunction function
reference to PnutsFunction

 

config

Configuration config

finallySet

boolean finallySet

Class pnuts.lang.Generator.Break extends Escape implements Serializable

Class pnuts.lang.JavaBeansConfiguration extends Configuration implements Serializable

Serialized Fields

stopClass

java.lang.Class<T> stopClass

Class pnuts.lang.Jump extends Escape implements Serializable

Class pnuts.lang.Package extends pnuts.lang.SymbolTable implements Serializable

serialVersionUID: 7341649520738070427L

Serialized Fields

autoloadTable

pnuts.lang.SymbolTable autoloadTable

exportedSymbols

pnuts.lang.SymbolTable exportedSymbols

requiredModuleNames

java.util.Vector<E> requiredModuleNames

providedModuleNames

java.util.Vector<E> providedModuleNames

exports

boolean exports

usedAsModule

boolean usedAsModule

initialized

boolean initialized

autoloadingSymbols

java.util.HashSet<E> autoloadingSymbols

name

java.lang.String name
The name of the package.

 

Class pnuts.lang.ParseException extends java.lang.Exception implements Serializable

Serialized Fields

scriptSource

java.lang.Object scriptSource

specialConstructor

boolean specialConstructor
This variable determines which constructor was used to create this object and thereby affects the semantics of the "getMessage" method (see below).

 

currentToken

Token currentToken
This is the last token that has been consumed successfully. If this object has been created due to a parse error, the token followng this token will (therefore) be the first error token.

 

expectedTokenSequences

int[][] expectedTokenSequences
Each entry in this array is an array of integers. Each array of integers represents a sequence of tokens (by their ordinal values) that is expected at this point of the parse.

 

tokenImage

java.lang.String[] tokenImage
This is a reference to the "tokenImage" array of the generated parser within which the parse error occurred. This array is defined in the generated ...Constants interface.

 

errorLine

int errorLine

errorColumn

int errorColumn

errorName

java.lang.String errorName

errorWord

java.lang.String errorWord

eol

java.lang.String eol
The end of line string for this machine.

 

Class pnuts.lang.Pnuts extends java.lang.Object implements Serializable

serialVersionUID: -3167186981826418367L

Serialized Fields

startNodes

SimpleNode startNodes
Parsed scripts

 

scriptSource

java.lang.Object scriptSource
The script source, from where the script came. It is usually a URL object, but not limitted to. If this variable is not null, error message would include the positional information such as the line number and the file name.

Class pnuts.lang.PnutsException extends java.lang.RuntimeException implements Serializable

serialVersionUID: -2040231319919353658L

Serialized Fields

line

int line
 

column

int column
 

file

java.lang.Object file
 

throwable

java.lang.Throwable throwable
 

contextName

java.lang.String contextName
 

Class pnuts.lang.PnutsFunction extends Runtime implements Serializable

Serialization Methods

readObject

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

writeObject

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

count

int count

name

java.lang.String name
the name

 

parent

PnutsFunction parent

Class pnuts.lang.Runtime.Break extends java.lang.RuntimeException implements Serializable

Serialized Fields

value

java.lang.Object value

Class pnuts.lang.Runtime.Continue extends java.lang.RuntimeException implements Serializable

Class pnuts.lang.SimpleNode extends java.lang.Object implements Serializable

serialVersionUID: 8932504488736652743L

Serialization Methods

readObject

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

parent

SimpleNode parent
 

children

SimpleNode[] children
 

id

int id
 

str

java.lang.String str
 

beginLine

int beginLine
 

beginColumn

int beginColumn
 

endLine

int endLine
 

info

java.lang.Object info
 

Class pnuts.lang.TokenMgrError extends java.lang.Error implements Serializable

Serialized Fields

errorCode

int errorCode
Indicates the reason why the exception is thrown. It will have one of the above 4 values.

Class pnuts.lang.UnaryOperator extends java.lang.Object implements Serializable

Class pnuts.lang.UnaryOperator.Add1 extends UnaryOperator implements Serializable

Class pnuts.lang.UnaryOperator.Negate extends UnaryOperator implements Serializable

Class pnuts.lang.UnaryOperator.Not extends UnaryOperator implements Serializable

Class pnuts.lang.UnaryOperator.Subtract1 extends UnaryOperator implements Serializable


Package pnuts.security

Class pnuts.security.PackagePermission extends java.security.BasicPermission implements Serializable

Serialization Methods

readObject

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

Class pnuts.security.SecurePackage extends Package implements Serializable


Package pnuts.tools

Class pnuts.tools.CommandEvent extends java.util.EventObject implements Serializable

Serialized Fields

arg

java.lang.Object arg

eventType

int eventType

Class pnuts.tools.ContextEvent extends java.util.EventObject implements Serializable

Class pnuts.tools.init extends ModuleBase implements Serializable

Class pnuts.tools.PnutsConsoleApplet extends javax.swing.JApplet implements Serializable

Serialized Fields

context

Context context

console

Console console