dods.dap.parser
Class DDSParser

java.lang.Object
  extended by dods.dap.parser.DDSParser
All Implemented Interfaces:
DDSParserConstants

public class DDSParser
extends Object
implements DDSParserConstants


Field Summary
 Token jj_nt
           
 boolean lookingAhead
           
 Token token
           
 DDSParserTokenManager token_source
           
 
Fields inherited from interface dods.dap.parser.DDSParserConstants
BYTE, DATASET, DEFAULT, EOF, FLOAT32, FLOAT64, GRID, INT16, INT32, LIST, SEQUENCE, STRING, STRUCTURE, tokenImage, UINT16, UINT32, URL, WORD
 
Constructor Summary
DDSParser(DDSParserTokenManager tm)
           
DDSParser(InputStream stream)
           
DDSParser(Reader stream)
           
 
Method Summary
 void ArrayDecl()
           
 String BaseType()
           
 void Dataset(dods.dap.DDS dds, dods.dap.BaseTypeFactory factory)
           
 void Declaration()
           
 void Declarations()
           
 void disable_tracing()
           
 void enable_tracing()
           
 ParseException generateParseException()
           
 Token getNextToken()
           
 Token getToken(int index)
           
 String Grid()
           
 String List()
           
 void Name()
           
 String NonListDecl()
           
 void ReInit(DDSParserTokenManager tm)
           
 void ReInit(InputStream stream)
           
 void ReInit(Reader stream)
           
 String Sequence()
           
 String Structure()
           
 String Var()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

token_source

public DDSParserTokenManager token_source

token

public Token token

jj_nt

public Token jj_nt

lookingAhead

public boolean lookingAhead
Constructor Detail

DDSParser

public DDSParser(InputStream stream)

DDSParser

public DDSParser(Reader stream)

DDSParser

public DDSParser(DDSParserTokenManager tm)
Method Detail

Dataset

public final void Dataset(dods.dap.DDS dds,
                          dods.dap.BaseTypeFactory factory)
                   throws ParseException,
                          dods.dap.DDSException
Throws:
ParseException
dods.dap.DDSException

Declarations

public final void Declarations()
                        throws ParseException,
                               dods.dap.DDSException
Throws:
ParseException
dods.dap.DDSException

Declaration

public final void Declaration()
                       throws ParseException,
                              dods.dap.DDSException
Throws:
ParseException
dods.dap.DDSException

NonListDecl

public final String NonListDecl()
                         throws ParseException,
                                dods.dap.DDSException
Throws:
ParseException
dods.dap.DDSException

List

public final String List()
                  throws ParseException
Throws:
ParseException

Structure

public final String Structure()
                       throws ParseException
Throws:
ParseException

Sequence

public final String Sequence()
                      throws ParseException
Throws:
ParseException

Grid

public final String Grid()
                  throws ParseException
Throws:
ParseException

BaseType

public final String BaseType()
                      throws ParseException
Throws:
ParseException

Var

public final String Var()
                 throws ParseException,
                        dods.dap.DDSException
Throws:
ParseException
dods.dap.DDSException

ArrayDecl

public final void ArrayDecl()
                     throws ParseException,
                            dods.dap.DDSException
Throws:
ParseException
dods.dap.DDSException

Name

public final void Name()
                throws ParseException,
                       dods.dap.DDSException
Throws:
ParseException
dods.dap.DDSException

ReInit

public void ReInit(InputStream stream)

ReInit

public void ReInit(Reader stream)

ReInit

public void ReInit(DDSParserTokenManager tm)

getNextToken

public final Token getNextToken()

getToken

public final Token getToken(int index)

generateParseException

public final ParseException generateParseException()

enable_tracing

public final void enable_tracing()

disable_tracing

public final void disable_tracing()