Serialized Form
lastHandle
org.apache.bcel.generic.InstructionHandle lastHandle
biList
java.util.LinkedList<E> biList
lastTarget
org.apache.bcel.generic.InstructionHandle lastTarget
smit
SymbolTable smit
- The shared member index table maps member name to an index into the
members
array.
members
MemberTable members
- The table of members of the scope. This is unique to each scope
instance.
mixins
Value[] mixins
- List of mixed in vars, or
null
if none.
readResolve
java.lang.Object readResolve()
throws java.io.ObjectStreamException
- maintains unique-ness of a JavaClassWrapper when stuff gets serialized or
un-serialized
- Throws:
java.io.ObjectStreamException
className
java.lang.String className
- The name of the java class implementing this type. The other attributes
of this object are determined using reflection, to ensure that they are
up-to-date if this type is read from a serialized stream.
hashtable
java.util.Hashtable<K,V> hashtable
obj
java.lang.Object obj
file
AbstractFile file
sideEffects
boolean sideEffects
needsFlush
boolean needsFlush
obj
Scope obj
env
Scope env
enclosingScope
Scope enclosingScope
- The scope this function is defined in. This does not change throughout
the life of the function.
staticScope
Scope staticScope
- The scope the static members of this function are defined in. When
the function is constructed, if there are any static members, they
are evaluated within this scope. Otherwise this is null.
superFxn
Value superFxn
- The function this function extends, if any.
fd
Function.FunctionData fd
- The shared function data... parameters that are shared by all instances
of the same function.
public for StackFrame.evalNode(oscript.NodeEvaluator, oscript.data.Scope)
overriden
Value overriden
- If this function overrides a value, this is the previous value.
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Derived class that implements
Externalizable
must
call this if it overrides it. It should override it to save/restore
it's own state.
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Derived class that implements
Externalizable
must
call this if it overrides it. It should override it to save/restore
it's own state.
- Throws:
java.io.IOException
fxn
Function fxn
scope
Scope scope
val
Value val
scope
Scope scope
scriptObject
Scope scriptObject
readResolve
java.lang.Object readResolve()
throws java.io.ObjectStreamException
- maintains unique-ness of a JavaClassWrapper when stuff gets serialized or
un-serialized
- Throws:
java.io.ObjectStreamException
javaClass
java.lang.Class<T> javaClass
id
int id
obj
Value obj
- The instance of the enclosing java class.
id
int id
javaObject
java.lang.Object javaObject
methods
java.lang.reflect.Method[] methods
javaObject
java.lang.Object javaObject
type
Value type
javaPackageName
java.lang.String javaPackageName
- The java package this is a wrapper for.
memberCache
java.util.Hashtable<K,V> memberCache
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Derived class that implements
Externalizable
must
call this if it overrides it. It should override it to save/restore
it's own state.
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Derived class that implements
Externalizable
must
call this if it overrides it. It should override it to save/restore
it's own state.
- Throws:
java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Derived class that implements
Externalizable
must
call this if it overrides it. It should override it to save/restore
it's own state.
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Derived class that implements
Externalizable
must
call this if it overrides it. It should override it to save/restore
it's own state.
- Throws:
java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException
- Derived class that implements
Externalizable
must
call this if it overrides it. It should override it to save/restore
it's own state.
- Throws:
java.io.IOException
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Derived class that implements
Externalizable
must
call this if it overrides it. It should override it to save/restore
it's own state.
- Throws:
java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException
- Derived class that implements
Externalizable
must
call this if it overrides it. It should override it to save/restore
it's own state.
- Throws:
java.io.IOException
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Derived class that implements
Externalizable
must
call this if it overrides it. It should override it to save/restore
it's own state.
- Throws:
java.io.IOException
type
Value type
- The type of the exception object
str
java.lang.String str
- The message
sf
StackFrame sf
- The stack trace.
line
int line
- Because the line number may change before
OException.preserveStackFrame()
,
we need to take care to remember the original line number for accurate
back-traces.
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException
- Derived class that implements
Externalizable
must
call this if it overrides it. It should override it to save/restore
it's own state.
- Throws:
java.io.IOException
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Derived class that implements
Externalizable
must
call this if it overrides it. It should override it to save/restore
it's own state.
- Throws:
java.io.IOException
t
java.lang.Throwable t
- The java exception.
ot
Value ot
- The java exception as a script object (JavaObjectWrapper)
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException
- Derived class that implements
Externalizable
must
call this if it overrides it. It should override it to save/restore
it's own state.
- Throws:
java.io.IOException
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Derived class that implements
Externalizable
must
call this if it overrides it. It should override it to save/restore
it's own state.
- Throws:
java.io.IOException
recursedSet
java.util.Set<E> recursedSet
attr
int attr
- The attribute bit-mask, either
Reference.ATTR_INVALID
or a mask of the
other attribute constants.
readonly
boolean readonly
val
Value val
exp
Value exp
- The string representation of the expression
flags
Value flags
- The string representation of the flags, or empty string if no flags
input
Value input
- The input string, whose match results are contained in this object
previous
Scope previous
- Previous in object scope chain. This is used to
lookupInScope
,
when the member being looked-up doesn't exist in this object (ie scope
chain node)
javaObject
java.lang.Object javaObject
- If this object is of a type that extends a java class, the superFxn
must attach a java-object to this object. The object is an instance
of the java class wrapped by the superFxn.
type
Value type
- The type of the script object.
path
java.lang.String path
parentScope
Scope parentScope
memberTable
SymbolMap memberTable
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException
- Derived class that implements
Externalizable
must
call this if it overrides it. It should override it to save/restore
it's own state.
- Throws:
java.io.IOException
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Derived class that implements
Externalizable
must
call this if it overrides it. It should override it to save/restore
it's own state.
- Throws:
java.io.IOException
ref
java.lang.ref.Reference<T> ref
Package oscript.exceptions |
val
Value val
- The wrapped exception object.
getMessageLevel
int getMessageLevel
targetException
java.lang.Throwable targetException
ext
java.lang.String ext
path
java.lang.String path
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.
eol
java.lang.String eol
- The end of line string for this machine.
errorCode
int errorCode
- Indicates the reason why the exception is thrown. It will have
one of the above 4 values.
Package oscript.syntaxtree |
f0
MultiplicativeExpression f0
f1
NodeListOptional f1
f0
NodeToken f0
f1
PrimaryExpressionWithTrailingFxnCallExpList f1
f2
FunctionCallExpressionList f2
f0
Permissions f0
f1
NodeToken f1
f2
NodeListOptional f2
f3
NodeOptional f3
cachedValue
int[] cachedValue
f0
NodeToken f0
f1
NodeOptional f1
f2
NodeToken f2
f0
NodeToken f0
f1
Expression f1
f2
NodeOptional f2
f3
NodeToken f3
f0
ConditionalExpression f0
f1
NodeListOptional f1
f0
EqualityExpression f0
f1
NodeListOptional f1
f0
BitwiseXorExpression f0
f1
NodeListOptional f1
f0
BitwiseAndExpression f0
f1
NodeListOptional f1
f0
NodeToken f0
f1
NodeToken f1
f0
NodeToken f0
f0
NodeToken f0
f1
PrimaryExpressionNotFunction f1
f2
NodeToken f2
f3
PrimaryExpression f3
f0
NodeToken f0
f1
NodeToken f1
f2
PreLoopStatement f2
f3
NodeToken f3
f4
Expression f4
f5
NodeToken f5
f6
EvaluationUnit f6
hasVarInScope
boolean hasVarInScope
hasFxnInScope
boolean hasFxnInScope
translated
Node translated
f0
LogicalOrExpression f0
f1
NodeOptional f1
f0
NodeToken f0
f1
NodeToken f1
f2
Expression f2
f3
NodeToken f3
f4
EvaluationUnit f4
f5
NodeOptional f5
f0
NodeToken f0
f1
NodeToken f1
f0
RelationalExpression f0
f1
NodeListOptional f1
f0
NodeToken f0
f1
Expression f1
f2
NodeToken f2
f0
NodeChoice f0
isStatic
boolean isStatic
f0
AssignmentExpression f0
f1
NodeListOptional f1
f0
Expression f0
f1
NodeToken f1
f0
NodeToken f0
f1
NodeToken f1
f2
NodeOptional f2
f3
NodeToken f3
f4
NodeOptional f4
f5
NodeToken f5
f6
NodeOptional f6
f7
NodeToken f7
f8
EvaluationUnit f8
hasVarInScope
boolean hasVarInScope
hasFxnInScope
boolean hasFxnInScope
translated
Node translated
f0
NodeToken f0
f1
NodeOptional f1
f2
NodeToken f2
nodeEvaluator
NodeEvaluator nodeEvaluator
f0
AssignmentExpression f0
f1
NodeListOptional f1
f0
FunctionCallExpressionList f0
translated
Node translated
hasVarInScope
boolean hasVarInScope
hasFxnInScope
boolean hasFxnInScope
f0
Permissions f0
f1
NodeToken f1
f2
NodeToken f2
f3
NodeToken f3
f4
NodeOptional f4
f5
NodeToken f5
f6
NodeOptional f6
f7
NodeToken f7
f8
Program f8
f9
NodeToken f9
id
int id
commentParsed
boolean commentParsed
comment
Value comment
fd
Function.FunctionData fd
hasVarInScope
boolean hasVarInScope
hasFxnInScope
boolean hasFxnInScope
f0
NodeToken f0
f1
NodeToken f1
f2
NodeOptional f2
f3
NodeToken f3
f4
NodeOptional f4
f5
NodeToken f5
f6
Program f6
f7
NodeToken f7
f0
NodeToken f0
f0
NodeToken f0
f1
Expression f1
f2
NodeToken f2
f0
NodeChoice f0
f0
BitwiseOrExpression f0
f1
NodeListOptional f1
f0
LogicalAndExpression f0
f1
NodeListOptional f1
f0
NodeToken f0
f1
Expression f1
f2
NodeToken f2
f0
UnaryExpression f0
f1
NodeListOptional f1
choice
Node choice
which
int which
nodes
java.util.Vector<E> nodes
nodes
java.util.Vector<E> nodes
node
Node node
nodes
java.util.Vector<E> nodes
tokenImage
java.lang.String tokenImage
otokenImage
OString otokenImage
cachedValue
Value cachedValue
specialTokens
java.util.Vector<E> specialTokens
off
int off
beginLine
int beginLine
beginColumn
int beginColumn
beginOffset
int beginOffset
endLine
int endLine
endColumn
int endColumn
endOffset
int endOffset
actualBeginOffset
int actualBeginOffset
desc
java.lang.String desc
kind
int kind
f0
NodeToken f0
f1
Expression f1
f2
NodeToken f2
f0
NodeListOptional f0
f0
TypeExpression f0
f1
NodeOptional f1
f0
NodeChoice f0
f0
PrimaryPrefix f0
f1
NodeListOptional f1
f0
PrimaryPrefixNotFunction f0
f1
NodeListOptional f1
f0
PrimaryPrefix f0
f1
NodeListOptional f1
f0
NodeChoice f0
f0
NodeChoice f0
f0
NodeChoice f0
f0
NodeChoice f0
f0
NodeListOptional f0
staticNodes
Program staticNodes
nodeEvaluator
NodeEvaluator nodeEvaluator
f0
NodeOptional f0
f1
Program f1
f2
NodeToken f2
nodeEvaluator
NodeEvaluator nodeEvaluator
f0
NodeToken f0
f1
NodeToken f1
f0
ShiftExpression f0
f1
NodeListOptional f1
f0
NodeToken f0
f1
NodeOptional f1
f2
NodeToken f2
f0
NodeToken f0
f1
Program f1
f2
NodeToken f2
hasVarInScope
boolean hasVarInScope
hasFxnInScope
boolean hasFxnInScope
f0
AdditiveExpression f0
f1
NodeListOptional f1
translated
Node translated
hasVarInScope
boolean hasVarInScope
hasFxnInScope
boolean hasFxnInScope
f0
NodeToken f0
f1
Program f1
f2
NodeToken f2
f0
NodeToken f0
f0
NodeToken f0
f1
NodeToken f1
f2
Expression f2
f3
NodeToken f3
f4
EvaluationUnit f4
f0
NodeToken f0
f0
NodeToken f0
f1
NodeToken f1
f0
NodeToken f0
f1
Expression f1
f2
NodeToken f2
f0
NodeToken f0
f1
EvaluationUnit f1
f2
NodeListOptional f2
f3
NodeOptional f3
f4
NodeOptional f4
f0
NodeChoice f0
f0
NodeOptional f0
f1
PostfixExpression f1
f0
Permissions f0
f1
NodeToken f1
f2
NodeToken f2
f3
NodeOptional f3
f0
VariableDeclaration f0
f1
NodeToken f1
f0
NodeToken f0
f1
NodeToken f1
f2
Expression f2
f3
NodeToken f3
f4
EvaluationUnit f4
is
java.io.InputStream is
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException
- Throws:
java.io.IOException
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Throws:
java.io.IOException