Serialized Form
dir
java.io.File dir
verbose
boolean verbose
scriptURL
java.net.URL scriptURL
parsedTime
long parsedTime
script
Pnuts script
encoding
java.lang.String encoding
pkg
Package pkg
base
Configuration base
set
java.util.HashSet<E> set
readObject
private void readObject(java.io.ObjectInputStream s)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
readObject
private void readObject(java.io.ObjectInputStream s)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
_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
value
java.lang.Object value
serialVersionUID: -3930895958604659360L
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
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
stopClass
java.lang.Class<T> stopClass
serialVersionUID: 7341649520738070427L
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.
-
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.
-
serialVersionUID: -3167186981826418367L
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.
serialVersionUID: -2040231319919353658L
line
int line
-
column
int column
-
file
java.lang.Object file
-
throwable
java.lang.Throwable throwable
-
contextName
java.lang.String contextName
-
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
count
int count
name
java.lang.String name
- the name
-
parent
PnutsFunction parent
value
java.lang.Object value
serialVersionUID: 8932504488736652743L
readObject
private void readObject(java.io.ObjectInputStream s)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
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
-
errorCode
int errorCode
- Indicates the reason why the exception is thrown. It will have
one of the above 4 values.
readObject
private void readObject(java.io.ObjectInputStream s)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
arg
java.lang.Object arg
eventType
int eventType
context
Context context
console
Console console