MetaTF API

MetaTF.Parser
Class MetaTFParser

java.lang.Object
  |
  +--MetaTF.Parser.MetaTFParser
All Implemented Interfaces:
MetaTFParserConstants, MetaTFParserTreeConstants

public class MetaTFParser
extends java.lang.Object
implements MetaTFParserTreeConstants, MetaTFParserConstants


Inner Class Summary
(package private) static class MetaTFParser.JJCalls
           
 
Field Summary
(package private) static ASCII_CharStream jj_input_stream
           
static Token jj_nt
           
protected static JJTMetaTFParserState jjtree
           
static boolean lookingAhead
           
static Token token
           
static MetaTFParserTokenManager token_source
           
 
Fields inherited from interface MetaTF.Parser.MetaTFParserTreeConstants
JJTBASEOFFSET, JJTDEFAULT, JJTDELTA, JJTDTD, JJTNAME, JJTNAMEDFIELD, jjtNodeName, JJTNONE, JJTNUMBER, JJTNUMBERVALUE, JJTPROPERTY, JJTRECORD, JJTRPTFIELD, JJTSECTION, JJTSECTION0, JJTSECTIONOFFSET, JJTSECTIONSTRIDE, JJTSTRIDE, JJTSTRINGDEFAULT, JJTTRACESTRING, JJTTUPLEFIELD, JJTVOID
 
Fields inherited from interface MetaTF.Parser.MetaTFParserConstants
CACHED, DECIMAL_LITERAL, DEFAULT, DIGIT, EOF, HEX_LITERAL, IBASEOFFSET, IDEFAULT, IDELTA, IDENTIFIER, IN_SINGLE_LINE_COMMENT, INONE, ISECTIONOFFSET, ISECTIONSTRIDE, ISTRIDE, LETTER, SECTION, SINGLE_LINE_COMMENT, STRING_LITERAL, tokenImage
 
Constructor Summary
MetaTFParser(java.io.InputStream stream)
           
MetaTFParser(MetaTFParserTokenManager tm)
           
MetaTFParser(java.io.Reader stream)
           
 
Method Summary
static void AnyDefault()
           
static void BaseOffset()
           
static void Def()
           
static void Default()
           
static void Delta()
           
static void disable_tracing()
           
static ASTDTD DTD()
          THE METATF LANGUAGE GRAMMAR STARTS HERE *
static void enable_tracing()
           
static void Field()
           
static ParseException generateParseException()
           
static Token getNextToken()
           
static Token getToken(int index)
           
static void Name()
           
static void NamedField()
           
static void None()
           
static void Number()
           
static void NumberValue()
           
static void Property()
           
static void Record()
           
static void ReInit(java.io.InputStream stream)
           
 void ReInit(MetaTFParserTokenManager tm)
           
static void ReInit(java.io.Reader stream)
           
static void RptField()
           
static void Section()
           
static void Section0()
           
static void SectionOffset()
           
static void SectionStride()
           
static void SimpleField()
           
static void Stride()
           
static void StringDefault()
           
static void TraceString()
           
static void TupleField()
           
static void Value()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

jjtree

protected static JJTMetaTFParserState jjtree

token_source

public static MetaTFParserTokenManager token_source

jj_input_stream

static ASCII_CharStream jj_input_stream

token

public static Token token

jj_nt

public static Token jj_nt

lookingAhead

public static boolean lookingAhead
Constructor Detail

MetaTFParser

public MetaTFParser(java.io.InputStream stream)

MetaTFParser

public MetaTFParser(java.io.Reader stream)

MetaTFParser

public MetaTFParser(MetaTFParserTokenManager tm)
Method Detail

DTD

public static final ASTDTD DTD()
                        throws ParseException
THE METATF LANGUAGE GRAMMAR STARTS HERE *

Section0

public static final void Section0()
                           throws ParseException

Def

public static final void Def()
                      throws ParseException

Section

public static final void Section()
                          throws ParseException

Record

public static final void Record()
                         throws ParseException

Field

public static final void Field()
                        throws ParseException

RptField

public static final void RptField()
                           throws ParseException

SimpleField

public static final void SimpleField()
                              throws ParseException

TupleField

public static final void TupleField()
                             throws ParseException

Property

public static final void Property()
                           throws ParseException

Value

public static final void Value()
                        throws ParseException

None

public static final void None()
                       throws ParseException

BaseOffset

public static final void BaseOffset()
                             throws ParseException

Delta

public static final void Delta()
                        throws ParseException

AnyDefault

public static final void AnyDefault()
                             throws ParseException

Default

public static final void Default()
                          throws ParseException

StringDefault

public static final void StringDefault()
                                throws ParseException

SectionOffset

public static final void SectionOffset()
                                throws ParseException

Stride

public static final void Stride()
                         throws ParseException

SectionStride

public static final void SectionStride()
                                throws ParseException

Name

public static final void Name()
                       throws ParseException

NamedField

public static final void NamedField()
                             throws ParseException

Number

public static final void Number()
                         throws ParseException

NumberValue

public static final void NumberValue()
                              throws ParseException

TraceString

public static final void TraceString()
                              throws ParseException

ReInit

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

ReInit

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

ReInit

public void ReInit(MetaTFParserTokenManager 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()

MetaTF API

Copyright © 2001 - Richard Jones     MetaTF