edu.umd.cs.jazz.io
Class ZInternalParser

java.lang.Object
  |
  +--edu.umd.cs.jazz.io.ZInternalParser
All Implemented Interfaces:
ZInternalParserConstants

public class ZInternalParser
extends java.lang.Object
implements ZInternalParserConstants


Field Summary
protected  ZExtendedInputStream data
           
static Token jj_nt
           
static boolean lookingAhead
           
protected static java.lang.Class[] NULL_ARGS
           
protected  java.util.Hashtable objectTable
           
 java.io.FileInputStream realStream
           
 java.util.Hashtable stringTranslations
           
static Token token
           
static ZInternalParserTokenManager token_source
           
 
Fields inherited from interface edu.umd.cs.jazz.io.ZInternalParserConstants
APPDATA, BINARY, BOOLEAN, BUILT_IN_OBJECT_TYPE, BYTE, CHAR, CHARACTER_LITERAL, DEFAULT, DIGIT, DOUBLE, DOUBLE_FLOATING_POINT_LITERAL, EOF, EXPONENT, FALSE, FLOAT, FLOATING_POINT_LITERAL, IDENTIFIER, IN_SINGLE_LINE_COMMENT, INT, INTEGER_LITERAL, LBRACE, LBRACKET, LETTER, LONG, NULL, OBJECT, RBRACE, RBRACKET, RETURN, SHORT, SINGLE_LINE_COMMENT, STRING_LITERAL, tokenImage, TRUE
 
Constructor Summary
ZInternalParser(java.io.InputStream stream)
           
ZInternalParser(java.io.Reader stream)
           
ZInternalParser(ZInternalParserTokenManager tm)
           
 
Method Summary
static java.lang.Object Array(ZInternalParser p)
           
 void createObjectTable()
           
static void Declaration(ZInternalParser p)
           
static void disable_tracing()
           
static void enable_tracing()
           
static java.lang.String FieldName()
           
static java.lang.String FieldType()
           
static ParseException generateParseException()
           
 ZExtendedInputStream getDataStream()
           
static java.io.FileInputStream getInputStream(java.lang.String[] args)
           
static Token getNextToken()
           
 java.lang.Object getObject(java.lang.String key)
           
 java.util.Hashtable getObjectTable()
           
static Token getToken(int index)
           
static void main(java.lang.String[] args)
           
static void ObjectState(ZInternalParser p, java.lang.String forObject)
           
static void ObjectStateBinaryItem(ZInternalParser p, java.lang.String forObject)
           
static void ObjectStateBuiltInItem(ZInternalParser p, java.lang.String forObject)
           
static void ObjectStateItem(ZInternalParser p, java.lang.String forObject)
           
static void ObjectStateSimpleItem(ZInternalParser p, java.lang.String forObject)
           
static java.lang.String ObjectType()
           
static void Prolog(ZInternalParser p)
           
static void PrologItem(ZInternalParser p)
           
 void putObject(java.lang.String key, java.lang.Object val)
           
static void ReInit(java.io.InputStream stream)
           
static void ReInit(java.io.Reader stream)
           
 void ReInit(ZInternalParserTokenManager tm)
           
static java.lang.Object ReturnClause(ZInternalParser p)
           
static java.lang.Object Scene(ZInternalParser p)
           
 void setDataStream(ZExtendedInputStream data)
           
static java.lang.Object ValueObject(ZInternalParser p)
           
static void writeTesterFile(java.lang.String filename)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NULL_ARGS

protected static final java.lang.Class[] NULL_ARGS

objectTable

protected java.util.Hashtable objectTable

data

protected ZExtendedInputStream data

realStream

public java.io.FileInputStream realStream

stringTranslations

public java.util.Hashtable stringTranslations

token_source

public static ZInternalParserTokenManager token_source

token

public static Token token

jj_nt

public static Token jj_nt

lookingAhead

public static boolean lookingAhead
Constructor Detail

ZInternalParser

public ZInternalParser(java.io.InputStream stream)

ZInternalParser

public ZInternalParser(java.io.Reader stream)

ZInternalParser

public ZInternalParser(ZInternalParserTokenManager tm)
Method Detail

createObjectTable

public void createObjectTable()

getObjectTable

public java.util.Hashtable getObjectTable()

setDataStream

public void setDataStream(ZExtendedInputStream data)

getDataStream

public ZExtendedInputStream getDataStream()

putObject

public void putObject(java.lang.String key,
                      java.lang.Object val)

getObject

public java.lang.Object getObject(java.lang.String key)

writeTesterFile

public static void writeTesterFile(java.lang.String filename)

getInputStream

public static java.io.FileInputStream getInputStream(java.lang.String[] args)

main

public static void main(java.lang.String[] args)

Scene

public static final java.lang.Object Scene(ZInternalParser p)
                                    throws ParseException

ReturnClause

public static final java.lang.Object ReturnClause(ZInternalParser p)
                                           throws ParseException

Declaration

public static final void Declaration(ZInternalParser p)
                              throws ParseException

ObjectState

public static final void ObjectState(ZInternalParser p,
                                     java.lang.String forObject)
                              throws ParseException

ObjectStateItem

public static final void ObjectStateItem(ZInternalParser p,
                                         java.lang.String forObject)
                                  throws ParseException

ObjectStateBuiltInItem

public static final void ObjectStateBuiltInItem(ZInternalParser p,
                                                java.lang.String forObject)
                                         throws ParseException

ObjectStateSimpleItem

public static final void ObjectStateSimpleItem(ZInternalParser p,
                                               java.lang.String forObject)
                                        throws ParseException

FieldType

public static final java.lang.String FieldType()
                                        throws ParseException

FieldName

public static final java.lang.String FieldName()
                                        throws ParseException

ValueObject

public static final java.lang.Object ValueObject(ZInternalParser p)
                                          throws ParseException

Array

public static final java.lang.Object Array(ZInternalParser p)
                                    throws ParseException

ObjectStateBinaryItem

public static final void ObjectStateBinaryItem(ZInternalParser p,
                                               java.lang.String forObject)
                                        throws ParseException

Prolog

public static final void Prolog(ZInternalParser p)
                         throws ParseException

PrologItem

public static final void PrologItem(ZInternalParser p)
                             throws ParseException

ObjectType

public static final java.lang.String ObjectType()
                                         throws ParseException

ReInit

public static void ReInit(java.io.InputStream stream)

ReInit

public static void ReInit(java.io.Reader stream)

ReInit

public void ReInit(ZInternalParserTokenManager tm)

getNextToken

public static final Token getNextToken()

getToken

public static final Token getToken(int index)

generateParseException

public static final ParseException generateParseException()

enable_tracing

public static final void enable_tracing()

disable_tracing

public static final void disable_tracing()


Copyright © 2001 by University of Maryland, College Park, MD 20742, USA All rights reserved.