Serialized Form


Package Rainbow

Class Rainbow.AuthorizedSessionHandler implements Serializable

Class Rainbow.ChannelEvent implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream stream)
                 throws IOException,
                        ClassNotFoundException
Serialized Fields

type

String type
What sort of event was it. Will be one of ChannelEvent.REQUEST, ChannelEvent.ACKNOWLEDGE, ChannelEvent.TRANSITION or ChannelEvent.BLOCKED and may be compared safely by pointer.

label

String label
Which channel was it.

data

Object data
What value was passed on the channel.

time

long time
When did the event happen.

Class Rainbow.DeadlockResult implements Serializable

Serialized Fields

deadlocked

boolean deadlocked
Was a deadlock found.

elapsedTime

long elapsedTime
How long did the search take in milliseconds.

maximumPathLength

int maximumPathLength
How deep did the search venture.

statesFound

int statesFound
How many unique states were found.

actionsPerformed

long actionsPerformed
How many transitions between states were performed.

minorActionsPerformed

long minorActionsPerformed
How many transitions from state to state (including self-loops) were performed.

deadlockTrace

ChannelEvent[][] deadlockTrace
The path to a deadlock. Each subarray describes the events that happened on a channel in a particular step of the execution. NB: is null if DeadlockResult.deadlocked is false.

Class Rainbow.ModelcheckResult implements Serializable

Serialized Fields

satisfied

boolean satisfied
Was the model satisfied.

elapsedTime

long elapsedTime
How long did the search take in milliseconds.

maximumPathLength

int maximumPathLength
How deep did the search venture.

statesFound

int statesFound
How many unique states were found.

actionsPerformed

long actionsPerformed
How many transitions between states were performed.

minorActionsPerformed

long minorActionsPerformed
How many transitions from state to state (including self-loops) were performed.

loopingPoint

int loopingPoint
At what depth did the Büchi Automaton start looking for a loop.

failureTrace

ChannelEvent[][] failureTrace
The path to a failure state. Each subarray describes the events that happened on a channel in a particular step of the execution. NB: is null if ModelcheckResult.satisfied is false, and the path is not guaranteed to be useful if there are existential path quantifiers in the temporal formula.

automataTrace

ModelcheckResult.AutomataState[] automataTrace
The automata states on the path to a failure state. Each subarray describes the state during a particular step of the execution. NB: is null if ModelcheckResult.satisfied is false, and the details is not guaranteed to be useful if there are existential path quantifiers in the temporal formula.

Class Rainbow.ModelcheckResult.AutomataState implements Serializable

Serialized Fields

propositionValuation

int propositionValuation
What is the (bit-coded) proposition valuation.
See Also:
ModelCheck.Evaluator

operator

String operator
What is the current temporal operator.

loopType

String loopType
What kind of loop is currently expected.

Class Rainbow.SessionHandler implements Serializable

Serialized Fields

sessionNumber

int sessionNumber

Class Rainbow.SimServer implements Serializable

Class Rainbow.Status implements Serializable

Serialized Fields

time

long time
What is the simulator time.

events

ChannelEvent[] events
What events happened in this simulator step.


Package uk.ac.man.cs.rainbow

Class uk.ac.man.cs.rainbow.Compiler.Error implements Serializable

Serialized Fields

line

int line
Where did this error happen. This is an approximate location.
The line number of this particular error.

message

String message
What was the error. The standard error handler in the client will format this string differently from the detail field.
The body of the message.

detail

String[] detail
Anything else of interest relating to the error. You might wish to put details of how you are recovering from the problem (if at all) in this. You may expect that each of the strings in the array will be formatted as a separate line.
Additional information.

Class uk.ac.man.cs.rainbow.Compiler.Errors implements Serializable

Serialized Fields

errors

Compiler.Error[] errors
Information about the semantic errors.

Class uk.ac.man.cs.rainbow.Compiler.Exception implements Serializable

Class uk.ac.man.cs.rainbow.Compiler.ParseError implements Serializable

Class uk.ac.man.cs.rainbow.Compiler.PreciseError implements Serializable

Serialized Fields

column

int column
Narrow the location of the error to the exact column.
What column triggered the error?

Class uk.ac.man.cs.rainbow.Compiler.SemanticError implements Serializable

Class uk.ac.man.cs.rainbow.Compiler.Warning implements Serializable

Class uk.ac.man.cs.rainbow.RainbowError implements Serializable

Class uk.ac.man.cs.rainbow.RainbowException implements Serializable

Serialized Fields

detail

Throwable detail
Where this exception was triggered by another, this is what that exception was...

augment

String augment
Used to fill in extra details not available in the throwing context.

Class uk.ac.man.cs.rainbow.TclFormatException implements Serializable


Package uk.ac.man.cs.rainbow.compiler.expressions

Class uk.ac.man.cs.rainbow.compiler.expressions.BinaryOp implements Serializable

Serialized Fields

op

String op

left

Expression left

right

Expression right

Class uk.ac.man.cs.rainbow.compiler.expressions.BoolConst implements Serializable

Serialized Fields

value

boolean value

Class uk.ac.man.cs.rainbow.compiler.expressions.CallExp implements Serializable

Serialized Fields

fId

Identifier fId

argList

Expression argList

Class uk.ac.man.cs.rainbow.compiler.expressions.CastExp implements Serializable

Serialized Fields

casted_exp

Expression casted_exp

casted_to

CompilerType casted_to

Class uk.ac.man.cs.rainbow.compiler.expressions.CondExp implements Serializable

Serialized Fields

tguardList

TagGuard tguardList

if_exp

Expression if_exp

then_exp

Expression then_exp

else_exp

Expression else_exp

Class uk.ac.man.cs.rainbow.compiler.expressions.Constant implements Serializable

Class uk.ac.man.cs.rainbow.compiler.expressions.DummyConstant implements Serializable

Class uk.ac.man.cs.rainbow.compiler.expressions.EmptyExp implements Serializable

Class uk.ac.man.cs.rainbow.compiler.expressions.EnumConst implements Serializable

Serialized Fields

nm

String nm

ordinal_value

int ordinal_value

Class uk.ac.man.cs.rainbow.compiler.expressions.Expression implements Serializable

Serialized Fields

spec

CompilerType spec

Class uk.ac.man.cs.rainbow.compiler.expressions.GuardExp implements Serializable

Serialized Fields

tguardList

TagGuard tguardList

exp

Expression exp

Class uk.ac.man.cs.rainbow.compiler.expressions.IdExp implements Serializable

Serialized Fields

id

Identifier id

isRegister

boolean isRegister

isVariable

boolean isVariable

Class uk.ac.man.cs.rainbow.compiler.expressions.IntConst implements Serializable

Serialized Fields

value

int value

Class uk.ac.man.cs.rainbow.compiler.expressions.RecordConst implements Serializable

Serialized Fields

components

Constant components

Class uk.ac.man.cs.rainbow.compiler.expressions.RecordConstructor implements Serializable

Serialized Fields

fieldList

Expression fieldList

Class uk.ac.man.cs.rainbow.compiler.expressions.RecordFieldSelect implements Serializable

Serialized Fields

record

Expression record

fieldname

String fieldname

Class uk.ac.man.cs.rainbow.compiler.expressions.RepeatedExp implements Serializable

Serialized Fields

repeated

Expression repeated

count

Expression count

countval

int countval

Class uk.ac.man.cs.rainbow.compiler.expressions.UnaryOp implements Serializable

Serialized Fields

op

String op

exp

Expression exp

Class uk.ac.man.cs.rainbow.compiler.expressions.UnionConstructor implements Serializable

Serialized Fields

tag

String tag

exp

Expression exp

Class uk.ac.man.cs.rainbow.compiler.expressions.VectorConst implements Serializable

Serialized Fields

elems

Constant elems

Class uk.ac.man.cs.rainbow.compiler.expressions.VectorConstructor implements Serializable

Serialized Fields

elemList

Expression elemList

Class uk.ac.man.cs.rainbow.compiler.expressions.VectorSelector implements Serializable

Serialized Fields

vec

Expression vec

index

Expression index


Package uk.ac.man.cs.rainbow.compiler.parser

Class uk.ac.man.cs.rainbow.compiler.parser.ParseException implements Serializable

Serialized Fields

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

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

String eol
The end of line string for this machine.

Class uk.ac.man.cs.rainbow.compiler.parser.TokenMgrError implements Serializable

Serialized Fields

errorCode

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


Package uk.ac.man.cs.rainbow.datamodel

Class uk.ac.man.cs.rainbow.datamodel.Data implements Serializable

Serialized Fields

type

Type type
The type of the data value.

Class uk.ac.man.cs.rainbow.datamodel.Data.List implements Serializable

Serialized Fields

contents

Expression[] contents
The contents of the list type.

Class uk.ac.man.cs.rainbow.datamodel.Data.Union implements Serializable

Serialized Fields

contents

Expression contents
The contents of the union.

index

int index
The discriminator for the union. Or, in other words, which tag does the union have.

Class uk.ac.man.cs.rainbow.datamodel.Data.Untyped implements Serializable

Class uk.ac.man.cs.rainbow.datamodel.Data.Word implements Serializable

Serialized Fields

value

int value
The value that this word represents.

Class uk.ac.man.cs.rainbow.datamodel.StringData implements Serializable

Serialized Fields

contents

String contents
The contents of the string.

Class uk.ac.man.cs.rainbow.datamodel.Type implements Serializable

Class uk.ac.man.cs.rainbow.datamodel.Type.Boolean implements Serializable

Class uk.ac.man.cs.rainbow.datamodel.Type.Enum implements Serializable

Serialized Fields

idents

String[] idents
The (ordered) list of identifiers that make up the members of the enumeration.
The identifiers making up the enumeration.

Class uk.ac.man.cs.rainbow.datamodel.Type.Integer implements Serializable

Class uk.ac.man.cs.rainbow.datamodel.Type.Tuple implements Serializable

Serialized Fields

types

Type[] types
The types of the tuple fields.

tags

String[] tags
The tags on the tuple fields.

Class uk.ac.man.cs.rainbow.datamodel.Type.Union implements Serializable

Serialized Fields

types

Type[] types
The types of the union members.

tags

String[] tags
The tags for the union members.

Class uk.ac.man.cs.rainbow.datamodel.Type.Vector implements Serializable

Serialized Fields

memberType

Type memberType
The type of the members of the vector.

memberCount

int memberCount
How many members does the vector have.

Class uk.ac.man.cs.rainbow.datamodel.TypeData implements Serializable

Serialized Fields

contents

Type contents
The type that the data value represents.

Class uk.ac.man.cs.rainbow.datamodel.TypeException implements Serializable

Class uk.ac.man.cs.rainbow.datamodel.UnknownData implements Serializable


Package uk.ac.man.cs.rainbow.deadlock

Class uk.ac.man.cs.rainbow.deadlock.ModelCheck.AutoState implements Serializable

Serialized Fields

this$0

ModelCheck this$0

propositions

int propositions
This state's proposition descriptor

Class uk.ac.man.cs.rainbow.deadlock.ParseException implements Serializable

Serialized Fields

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

uk.ac.man.cs.rainbow.deadlock.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

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

String eol
The end of line string for this machine.

Class uk.ac.man.cs.rainbow.deadlock.Propositions implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException
Rebuild the internal representations of everything upon deserialization.
Serialized Fields

exprs

String[] exprs
The string version of the propositions.

lookup

Hashtable lookup
The hashtable used to convert device names to register ids, or null if the introspector field is non-null.

sched

Scheduler sched
The scheduler to look up registers in, or null if the introspector field is non-null.

introspector

Introspector introspector
The introspector to look up registers in, or null if the lookup and sched fields are non-null.

Class uk.ac.man.cs.rainbow.deadlock.StateEngine.AlreadyInitialisedException implements Serializable

Class uk.ac.man.cs.rainbow.deadlock.StateEngine.ChannelEvent implements Serializable

Serialized Fields

isReq

boolean isReq
Is this a request?

time

long time
When did this happen?

val

Data val
What was the data being passed?

label

String label
Which channel was it?

Class uk.ac.man.cs.rainbow.deadlock.StateEngine.ExecuteResult implements Serializable

Class uk.ac.man.cs.rainbow.deadlock.StateEngine.ExecuteResult.End implements Serializable

Class uk.ac.man.cs.rainbow.deadlock.StateEngine.ExecuteResult.Loop implements Serializable

Serialized Fields

depth

int depth
Depth on stack of the loop state.

Class uk.ac.man.cs.rainbow.deadlock.StateEngine.ExecuteResult.New implements Serializable

Class uk.ac.man.cs.rainbow.deadlock.StateEngine.ExecuteResult.Old implements Serializable

Serialized Fields

flag

boolean flag
The valuation of the previously seen state.

Class uk.ac.man.cs.rainbow.deadlock.TokenMgrError implements Serializable

Serialized Fields

errorCode

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


Package uk.ac.man.cs.rainbow.rapa

Class uk.ac.man.cs.rainbow.rapa.Alpha implements Serializable

Serialized Fields

action

Action[] action

body

ProcessTerm body

Class uk.ac.man.cs.rainbow.rapa.Assign implements Serializable

Serialized Fields

reg

Register reg

exp

Value exp

Class uk.ac.man.cs.rainbow.rapa.Call implements Serializable

Serialized Fields

definition

NamingContext.Mapping definition

arguments

Argument[] arguments

inputs

Channel[] inputs

outputs

Channel[] outputs

Class uk.ac.man.cs.rainbow.rapa.Call.Named implements Serializable

Serialized Fields

kind

String kind

propositionName

String propositionName

Class uk.ac.man.cs.rainbow.rapa.Call.SignatureMismatch implements Serializable

Serialized Fields

call

Call call

definition

NamingContext.Mapping definition

Class uk.ac.man.cs.rainbow.rapa.Choice implements Serializable

Serialized Fields

p1

ProcessTerm p1

p2

ProcessTerm p2

Class uk.ac.man.cs.rainbow.rapa.GreenDefinitions.ConstructorFailure implements Serializable

Class uk.ac.man.cs.rainbow.rapa.Guard implements Serializable

Serialized Fields

guard

Value guard

proc

ProcessTerm proc

Class uk.ac.man.cs.rainbow.rapa.Hide implements Serializable

Serialized Fields

proc

ProcessTerm proc

hide

Channel[] hide

Class uk.ac.man.cs.rainbow.rapa.Loop implements Serializable

Serialized Fields

bool

Value[] bool

proc

ProcessTerm[] proc

Class uk.ac.man.cs.rainbow.rapa.NamingContext.Mapping implements Serializable

Serialized Fields

body

ProcessTerm body

name

String name

parameters

Argument[] parameters

inputs

Channel[] inputs

outputs

Channel[] outputs

Class uk.ac.man.cs.rainbow.rapa.Out implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream stream)
                 throws IOException,
                        ClassNotFoundException
Serialized Fields

action

Action[] action

Class uk.ac.man.cs.rainbow.rapa.Parallel implements Serializable

Serialized Fields

proc

ProcessTerm[] proc

Class uk.ac.man.cs.rainbow.rapa.ProcessTerm implements Serializable

Class uk.ac.man.cs.rainbow.rapa.RegDef implements Serializable

Serialized Fields

reg

Register reg

type

Type type

proc

ProcessTerm proc

Class uk.ac.man.cs.rainbow.rapa.Sequence implements Serializable

Serialized Fields

p1

ProcessTerm p1

p2

ProcessTerm p2

Class uk.ac.man.cs.rainbow.rapa.Skip implements Serializable

Class uk.ac.man.cs.rainbow.rapa.Synch implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream stream)
                 throws IOException,
                        ClassNotFoundException
Serialized Fields

action

Action[] action

body

ProcessTerm body

Class uk.ac.man.cs.rainbow.rapa.VarDef implements Serializable

Serialized Fields

var

Variable.Named var

type

Type type

proc

ProcessTerm proc

Class uk.ac.man.cs.rainbow.rapa.Zero implements Serializable


Package uk.ac.man.cs.rainbow.rapa.abstraction

Class uk.ac.man.cs.rainbow.rapa.abstraction.NAry.LengthMismatchException implements Serializable

Class uk.ac.man.cs.rainbow.rapa.abstraction.ParseException implements Serializable

Serialized Fields

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

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

String eol
The end of line string for this machine.

Class uk.ac.man.cs.rainbow.rapa.abstraction.TokenMgrError implements Serializable

Serialized Fields

errorCode

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


Package uk.ac.man.cs.rainbow.rapa.data

Class uk.ac.man.cs.rainbow.rapa.data.AbstractFunction.UnsupportedTopException implements Serializable

Class uk.ac.man.cs.rainbow.rapa.data.AbstractFunction.WrongNumberOfArgumentsException implements Serializable

Class uk.ac.man.cs.rainbow.rapa.data.AbstractType implements Serializable

Serialized Fields

name

String name

names

String[] names

values

Value[] values

top

Value top

nametoval

Map nametoval

Class uk.ac.man.cs.rainbow.rapa.data.Action implements Serializable

Serialized Fields

chan

Channel chan

value

Value value

kind

int kind

Class uk.ac.man.cs.rainbow.rapa.data.Application implements Serializable

Serialized Fields

args

Value[] args

name

String name

resultType

Type resultType

Class uk.ac.man.cs.rainbow.rapa.data.Binary implements Serializable

Serialized Fields

e1

Value e1

e2

Value e2

Class uk.ac.man.cs.rainbow.rapa.data.Binary.Add implements Serializable

Class uk.ac.man.cs.rainbow.rapa.data.Binary.Conj implements Serializable

Class uk.ac.man.cs.rainbow.rapa.data.Binary.Disj implements Serializable

Class uk.ac.man.cs.rainbow.rapa.data.Binary.Div implements Serializable

Class uk.ac.man.cs.rainbow.rapa.data.Binary.Equal implements Serializable

Class uk.ac.man.cs.rainbow.rapa.data.Binary.GT implements Serializable

Class uk.ac.man.cs.rainbow.rapa.data.Binary.LT implements Serializable

Class uk.ac.man.cs.rainbow.rapa.data.Binary.Mul implements Serializable

Class uk.ac.man.cs.rainbow.rapa.data.Binary.Sub implements Serializable

Class uk.ac.man.cs.rainbow.rapa.data.Bool implements Serializable

Serialized Fields

isTrue

boolean isTrue

Class uk.ac.man.cs.rainbow.rapa.data.BooleanType implements Serializable

Class uk.ac.man.cs.rainbow.rapa.data.Channel implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream stream)
                 throws IOException,
                        ClassNotFoundException
Serialized Fields

name

String name

uid

int uid

Class uk.ac.man.cs.rainbow.rapa.data.CompatabilityFailure implements Serializable

Serialized Fields

from

Argument from

to

Argument to

Class uk.ac.man.cs.rainbow.rapa.data.Constant implements Serializable

Serialized Fields

name

String name

type

Type type

Class uk.ac.man.cs.rainbow.rapa.data.Expression implements Serializable

Class uk.ac.man.cs.rainbow.rapa.data.IntegerType implements Serializable

Class uk.ac.man.cs.rainbow.rapa.data.NamedType implements Serializable

Serialized Fields

name

String name

Class uk.ac.man.cs.rainbow.rapa.data.NotUnifiable implements Serializable

Class uk.ac.man.cs.rainbow.rapa.data.Number implements Serializable

Serialized Fields

num

int num

Class uk.ac.man.cs.rainbow.rapa.data.Register implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream stream)
                 throws IOException,
                        ClassNotFoundException
Serialized Fields

uid

int uid

name

String name

type

Type type

Class uk.ac.man.cs.rainbow.rapa.data.Register.NotFoundException implements Serializable

Class uk.ac.man.cs.rainbow.rapa.data.Register.Subscripted implements Serializable

Serialized Fields

i

int i

n

int n

Class uk.ac.man.cs.rainbow.rapa.data.TupleExpression implements Serializable

Serialized Fields

exprs

Value[] exprs

Class uk.ac.man.cs.rainbow.rapa.data.Unary implements Serializable

Serialized Fields

e

Value e

Class uk.ac.man.cs.rainbow.rapa.data.Unary.Abs implements Serializable

Class uk.ac.man.cs.rainbow.rapa.data.Unary.Neg implements Serializable

Class uk.ac.man.cs.rainbow.rapa.data.Unary.Not implements Serializable

Class uk.ac.man.cs.rainbow.rapa.data.Unifier implements Serializable

Serialized Fields

subst

Map subst

Class uk.ac.man.cs.rainbow.rapa.data.Variable implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream stream)
                 throws IOException,
                        ClassNotFoundException
Serialized Fields

uid

int uid

type

Type type

Class uk.ac.man.cs.rainbow.rapa.data.Variable.Named implements Serializable

Serialized Fields

name

String name


Package uk.ac.man.cs.rainbow.rapa.gcl

Class uk.ac.man.cs.rainbow.rapa.gcl.Assignment implements Serializable

Serialized Fields

reg

Register reg

exp

Value exp

Class uk.ac.man.cs.rainbow.rapa.gcl.Assignment.StateVar implements Serializable

Serialized Fields

i

int i

n

int n

Class uk.ac.man.cs.rainbow.rapa.gcl.CompareStateVar implements Serializable

Serialized Fields

i

int i

n

int n

Class uk.ac.man.cs.rainbow.rapa.gcl.Rule implements Serializable

Serialized Fields

guards

Value[] guards

actions

Action[] actions

updates

Assignment[] updates

Class uk.ac.man.cs.rainbow.rapa.gcl.Rules implements Serializable

Serialized Fields

rules

Rule[] rules

namingMap

Map namingMap


Package uk.ac.man.cs.rainbow.simulator

Class uk.ac.man.cs.rainbow.simulator.Channel implements Serializable

Serialized Fields

activated

boolean activated
Is the channel actiated?

writer

RainbowThread writer
What thread wrote to the channel?

reader

RainbowThread reader
What thread is interested in writes to the channel?

name

String name
What is the name of the channel?

contents

Data contents
What value is being passed along the channel?

listeners

Vector listeners
What objects are interested in events on this channel?

Class uk.ac.man.cs.rainbow.simulator.Channel.Data implements Serializable

Serialized Fields

chan

Channel chan
The channel referred to by this data value.

Class uk.ac.man.cs.rainbow.simulator.Instruction implements Serializable

Class uk.ac.man.cs.rainbow.simulator.Instruction.MACRO implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RainbowThread.IllegalChannelStateException implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RainbowThread.IllegalThreadTerminationException implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RainbowThread.SavedRainbowThreadState implements Serializable

Serialized Fields

reverseAtSleep

boolean reverseAtSleep
Do we change direction when we hit a sleep?

isActive

boolean isActive
Are we active?

activeChildren

int activeChildren
How many children are active?

choice

int choice
What choice have we had made?

choiceRange

int choiceRange
Over what range was the choice made?

saver

RainbowThread saver
What thread saved this state?

Class uk.ac.man.cs.rainbow.simulator.RASM.Abs implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.Add implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.And implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.BinaryIntFunction implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.BinaryLogicFunction implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.BranchFalse implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.BranchTrue implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.BuildList implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.Call implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.ChannelBox implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.Comment implements Serializable

Serialized Fields

comment

String comment
Deprecated. 
The body of the comment

Class uk.ac.man.cs.rainbow.simulator.RASM.Comparison implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.Concat implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.Connect implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.DeclareDeviceWithState implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.Delay implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.Div implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.Dup implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.Eql implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.Error implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.Exch implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.Exit implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.Geq implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.Get implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.GetArg implements Serializable

Serialized Fields

i

Integer i
Deprecated. 
When an argument was passed to the instruction at creation time, this is where the argument is stored.

Class uk.ac.man.cs.rainbow.simulator.RASM.GetType implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.Gt implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.Index implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.Insert implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.IsAvailable implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.Jump implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.KillStackRange implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.LabelChannel implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.LabelDevice implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.Length implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.Leq implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.Line implements Serializable

Serialized Fields

where

String where
Deprecated. 
The line identification info.

Class uk.ac.man.cs.rainbow.simulator.RASM.Load implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.Lt implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.MakeChannel implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.MakeList implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.MakeRegister implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.MakeUnion implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.Mod implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.Mult implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.NDChoice implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.NDValue implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.Neg implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.Neq implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.Noop implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.Not implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.OpenUnion implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.Or implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.Parallel implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.Pop implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.PopAll implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.Project implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.Push implements Serializable

Serialized Fields

value

Data value
Deprecated. 
The value to push.

Class uk.ac.man.cs.rainbow.simulator.RASM.Put implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.PutArg implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.PutForward implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.Read implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.Release implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.Return implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.Roll implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.SetType implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.Shl implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.Shr implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.Shrz implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.SignalForward implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.Sleep implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.Split implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.StatelessDevice implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.StaticStackBase implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.Store implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.Sub implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.TclExec implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.WaitFor implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.WaitGet implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.WaitRelease implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.Write implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASM.Xor implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASMCode implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException

writeObject

private void writeObject(ObjectOutputStream out)
                  throws IOException,
                         RASMCode.Exception
Serialized Fields

instrs

Stack instrs
The list of instructions that make up the code block.

labels

Hashtable labels
The labels in the code block

name

String name
The name of this code block.

nameContext

Hashtable nameContext
A context for looking names up in when parsing values relating to this code block

Class uk.ac.man.cs.rainbow.simulator.RASMCode.Exception implements Serializable

Serialized Fields

block

String block
The name of the block where the exception occurred.

label

String label
The name of the label which triggered the exception.

Class uk.ac.man.cs.rainbow.simulator.RASMCode.Label implements Serializable

Serialized Fields

code

RASMCode code
Which block of code does the label lie within?

location

int location
Where in that block of code does the label point to?

name

String name
What is the name of the label?

Class uk.ac.man.cs.rainbow.simulator.RASMCode.Label.Data implements Serializable

Serialized Fields

label

RASMCode.Label label
The label referred to by this data value.

Class uk.ac.man.cs.rainbow.simulator.RASMList implements Serializable

Serialized Fields

s

Stack s
We're implemented using a stack for convenience.

Class uk.ac.man.cs.rainbow.simulator.RASMThread.CallChain implements Serializable

Serialized Fields

this$0

RASMThread this$0

codes

RASMCode[] codes
What code blocks does this call chain pass through?

pcs

int[] pcs
What locations does this call chain pass through?

hashcode

int hashcode
What is the hashCode? Easier to store than to recalc.

Class uk.ac.man.cs.rainbow.simulator.RASMThread.Characterisation implements Serializable

Serialized Fields

where

RASMThread.CallChain where
Where the thread is working...

registerContents

Data[] registerContents
What is in the thread's registers...

children

Data[] children
What are the characterisations of the thread's kids...

Class uk.ac.man.cs.rainbow.simulator.RASMThread.Exception implements Serializable

Serialized Fields

idx

Integer idx
The stack index that triggered the exception, if known.

Class uk.ac.man.cs.rainbow.simulator.RASMThread.InvokationException implements Serializable

Serialized Fields

t

Throwable t
The exception or error that really ocurred.

Class uk.ac.man.cs.rainbow.simulator.RASMThread.PopFailureException implements Serializable

Class uk.ac.man.cs.rainbow.simulator.RASMThread.ReaderWriter implements Serializable

Serialized Fields

reader

RainbowThread reader
What thread is trying to read from this channel?

writer

RainbowThread writer
What thread is trying to write to this channel?

contents

Data contents
What value is on the channel?

active

boolean active
Is the channel active?

Class uk.ac.man.cs.rainbow.simulator.RASMThread.SavedRASMThreadState implements Serializable

Serialized Fields

self

RASMThread.SavedRASMThreadState.This self
The easily cacheable parts of the state of this thread; i.e. those parts that can only be changed by the execution of the thread, and not any of its children.

children

SavedState[] children
The state of the descendents of this thread.

regContents

Data[] regContents
The state of the registers created by this thread. Note that we assume that registers are never changed by non-sibling threads, an assumption that is correct for programs that are compiled from Rainbow source.

chanwatchers

RASMThread.ReaderWriter[] chanwatchers
What is going on on the channels.

Class uk.ac.man.cs.rainbow.simulator.RASMThread.SavedRASMThreadState.This implements Serializable

Serialized Fields

code

RASMCode code
The code block we're executing in.

pc

int pc
The program counter.

stackFrame

int stackFrame
The index of the base of the current stack frame.

stack

Object[] stack
The stack.

context

Object context
The temporary context. Used to implement restartable instructions.

superState

SavedState superState
The state of our superclass.

Class uk.ac.man.cs.rainbow.simulator.ReclaimableSavedState implements Serializable

Class uk.ac.man.cs.rainbow.simulator.ReclaimableSavedState.StateReloadException implements Serializable

Serialized Fields

exn

Exception exn
The exception that caused the problem.

Class uk.ac.man.cs.rainbow.simulator.Register implements Serializable

Serialized Fields

name

String name
The name of the register.

contents

Data contents
The contents of the register.

Class uk.ac.man.cs.rainbow.simulator.Register.Data implements Serializable

Serialized Fields

reg

Register reg
The register represented by this data value.

Class uk.ac.man.cs.rainbow.simulator.Simulator implements Serializable

Serialized Fields

initialised

boolean initialised
Has the simulator been initialised yet?

forward

ThreadSet forward
Threads to schedule in the forward direction.

backward

ThreadSet backward
Threads to schedule in the backward direction.

thisWay

ThreadSet thisWay
Either forward or backward!

thatWay

ThreadSet thatWay
Either backward or forward!

timer

Simulator.Timer timer
Threads that are delayed, waiting for some future time.

now

long now
The current time.

chooser

Random chooser
The random number generator.

schedulingStyle

int schedulingStyle
The style of scheduling used.

Class uk.ac.man.cs.rainbow.simulator.Simulator.DeadlockedException implements Serializable

Class uk.ac.man.cs.rainbow.simulator.Simulator.Timer implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException
Rebuild the fast access hash tables and the tail pointer during deserialization.
Serialized Fields

chain

Simulator.Timer.timeBucket chain
The list of buckets holding threads to be woken.

Class uk.ac.man.cs.rainbow.simulator.Simulator.Timer.timeBucket implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException
Serialized Fields

time

long time
The wakeup time of the threads in this bucket.

threads

ThreadSet threads
The collection of threads in this bucket.

next

Simulator.Timer.timeBucket next
The next (later) bucket.

Class uk.ac.man.cs.rainbow.simulator.StateEnumerator implements Serializable

Serialized Fields

initialised

boolean initialised
Has the simulator been initialised yet?

toplevelThreads

Stack toplevelThreads
All the initial threads so that the whole system can be properly serialized, and not just the active parts.

forward

ThreadSet forward
Threads to schedule in the forward direction.

backward

ThreadSet backward
Threads to schedule in the backward direction.

transitions

ThreadSet transitions
Threads that can start a transition (which might be an empty transition, of course.)

thisWay

ThreadSet thisWay
Forward, backward or transitions.

thatWay

ThreadSet thatWay
Forward, backward or transitions.

choiceThread

RainbowThread choiceThread
Which threads are undergoing non-deterministic choice.

seqNum

long seqNum
A "time" substitute.

characterisationThreads

RainbowThread[] characterisationThreads
Which threads are to be characterised.

Class uk.ac.man.cs.rainbow.simulator.StateEnumerator.NDData implements Serializable

Serialized Fields

t

RainbowThread t

Class uk.ac.man.cs.rainbow.simulator.StateEnumerator.SavedEnumeratorState implements Serializable

Serialized Fields

allThreads

SavedState[] allThreads
The state of the threads.

runnableThreads

ThreadSet runnableThreads
The state of the scheduler. Excludes the thread that is in the throes of non-deterministic choice.

choosingThread

RainbowThread choosingThread
What thread is non-deterministic now.

time

long time
The timestamp.

generator

StateEnumerator generator
Stamp with the generator. A saved state can only be reloaded into the scheduler that generated it.

Class uk.ac.man.cs.rainbow.simulator.ThreadSet implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException
Rebuilds an internal hashtable used for fast identification of the presence and location of a thread.
Serialized Fields

v

Vector v
Make sure you only ever access this vector read-only from outside this class.
We use a vector to implement the storage scheme.


Package uk.ac.man.cs.rainbow.simulator.rasm

Class uk.ac.man.cs.rainbow.simulator.rasm.Abs implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.Add implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.And implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.BranchFalse implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.BranchTrue implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.BuildList implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.Call implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.Comment implements Serializable

Serialized Fields

comment

String comment
The body of the comment

Class uk.ac.man.cs.rainbow.simulator.rasm.Concat implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.Connect implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.DeclareDeviceWithState implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.Delay implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.Div implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.Dup implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.Eql implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.Error implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.Exch implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.Exit implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.Geq implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.Get implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.GetArg implements Serializable

Serialized Fields

i

Integer i
When an argument was passed to the instruction at creation time, this is where the argument is stored.

Class uk.ac.man.cs.rainbow.simulator.rasm.GetType implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.Gt implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.Index implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.Insert implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.IsAvailable implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.Jump implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.KillStackRange implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.LabelChannel implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.LabelDevice implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.Length implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.Leq implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.Line implements Serializable

Serialized Fields

where

String where
The line identification info.

Class uk.ac.man.cs.rainbow.simulator.rasm.Load implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.Lt implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.MakeChannel implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.MakeList implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.MakeRegister implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.MakeUnion implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.Mod implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.Mult implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.NDChoice implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.NDValue implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.Neg implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.Neq implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.Noop implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.Not implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.OpenUnion implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.Or implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.Parallel implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.Pop implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.PopAll implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.Project implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.Push implements Serializable

Serialized Fields

value

Data value
The value to push.

Class uk.ac.man.cs.rainbow.simulator.rasm.Put implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.PutArg implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.PutForward implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.Read implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.Release implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.Return implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.Roll implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.SetType implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.Shl implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.Shr implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.Shrz implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.SignalForward implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.Sleep implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.Split implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.StatelessDevice implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.StaticStackBase implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.Store implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.Sub implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.TclExec implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.WaitFor implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.WaitGet implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.WaitRelease implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.Write implements Serializable

Class uk.ac.man.cs.rainbow.simulator.rasm.Xor implements Serializable


Package uk.ac.man.cs.rainbow.temp

Class uk.ac.man.cs.rainbow.temp.JSCompiler.JSSemanticErrors implements Serializable

Class uk.ac.man.cs.rainbow.temp.LogConsole implements Serializable

Serialized Fields

text

TextArea text
The text area to put log messages into.


Package uk.ac.man.cs.rainbow.wvmc

Class uk.ac.man.cs.rainbow.wvmc.RMIServer implements Serializable

Class uk.ac.man.cs.rainbow.wvmc.StateEngine.CannotBacktrack implements Serializable

Class uk.ac.man.cs.rainbow.wvmc.StateEngine.Popped implements Serializable

Serialized Fields

op

int op
Temporal operator index.

quantifier

int quantifier
Path quantifier.

gb

int gb
Loop kind indicator.

B_depth

int B_depth
Point of entry to bad loop.

G_depth

int G_depth
Point of entry to good loop.

ctl

boolean ctl
CTL flag.

dfs

boolean dfs
Search mode.

Class uk.ac.man.cs.rainbow.wvmc.WVMCException implements Serializable


Package uk.ac.man.cs.rainbow.wvmc.parser

Class uk.ac.man.cs.rainbow.wvmc.parser.ParseException implements Serializable

Serialized Fields

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).
Do we have proper parse info available?

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.
The last successfully consumed 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.
The expected token sequences.

tokenImage

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.
Used for rendering the expected token sequences.

Class uk.ac.man.cs.rainbow.wvmc.parser.Token implements Serializable

Serialized Fields

kind

int kind
An integer that describes the kind of this token. This numbering system is determined by JavaCCParser, and a table of these numbers is stored in the file ...Constants.java.

beginLine

int beginLine
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.

beginColumn

int beginColumn
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.

endLine

int endLine
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.

endColumn

int endColumn
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.

image

String image
The string image of the token.

next

Token next
A reference to the next regular (non-special) token from the input stream. If this is the last token from the input stream, or if the token manager has not read tokens beyond this one, this field is set to null. This is true only if this token is also a regular token. Otherwise, see below for a description of the contents of this field.

specialToken

Token specialToken
This field is used to access special tokens that occur prior to this token, but after the immediately preceding regular (non-special) token. If there are no such special tokens, this field is set to null. When there are more than one such special token, this field refers to the last of these special tokens, which in turn refers to the next previous special token through its specialToken field, and so on until the first special token (whose specialToken field is null). The next fields of special tokens refer to other special tokens that immediately follow it (without an intervening regular token). If there is no such token, this field is null.

Class uk.ac.man.cs.rainbow.wvmc.parser.TokenMgrError implements Serializable

Serialized Fields

errorCode

int errorCode
Indicates the reason why the exception is thrown. It will have one of the above 4 values.
Why did the error occur?