Serialized Form


Package oops.parser

Class oops.parser.Alt implements Serializable

Serialized Fields

nodes

java.util.Vector nodes
subtrees with alternatives.
nodes subtrees with alternatives.

Class oops.parser.Id implements Serializable

Serialized Fields

name

java.lang.String name
name of Token or Rule.
name Token or Rule name for display.

peer

Node peer
Token or Rule.
refers to Token or Rule.

Class oops.parser.Lit implements Serializable

Serialized Fields

body

java.lang.String body
content.
body content, not transient to simplify debugging.

Class oops.parser.Many implements Serializable

Serialized Fields

node

Node node
subtree to be repeated.
node subtree to be repeated.

Class oops.parser.Node implements Serializable

Serialized Fields

lookahead

Set lookahead
lookahead symbols.
lookahead lookahead symbols.

Class oops.parser.Opt implements Serializable

Class oops.parser.Parser implements Serializable

Serialized Fields

errorOk

int errorOk

ids

java.util.Hashtable ids
maps Id.name to Token or Rule; kept for scanner.
ids maps Id.name to Token or Rule; kept for scanner.

lits

java.util.Hashtable lits
maps Lit.body to Set containing token; kept for scanner.
lits maps Lit.body to Set containing token; kept for scanner.

numberOfErrors

int numberOfErrors

rules

java.util.Vector rules
contains rules in input order; kept to display grammar.
rules contains rules in input order; kept to display grammar.

start

Rule start
rules.elementAt(0) is start symbol.
start rules.elementAt(0) is start symbol.

tokens

java.util.Vector tokens
maps token number to token name; kept to symbolically display tokens in sets.
tokens maps token number to token name; kept to symbolically display tokens in sets.

Class oops.parser.Rule implements Serializable

Serialized Fields

firstGoalWarning

boolean firstGoalWarning

gm

GoalMaker gm

marked

boolean marked

nt

java.lang.String nt
nonterminal name.
nt nonterminal name, not transient to simplify debugging.

rhs

Node rhs
right hand side subtree.
rhs right hand side subtree.

Class oops.parser.Seq implements Serializable

Serialized Fields

nodes

java.util.Vector nodes
sequence of subtrees.
nodes sequence of subtrees.

Class oops.parser.Set implements Serializable

Serialized Fields

empty

boolean empty
true if empty input is acceptable.
empty true if empty input is acceptable.

set

java.util.BitSet set
if != null: many elements.
set if != null: many elements.

token

int token
else if >= 0: single element.
token else if >= 0: single element.

Class oops.parser.Some implements Serializable

Class oops.parser.Token implements Serializable

Serialized Fields

name

java.lang.String name
identifies input token class.
name identifies input token class.