org.apache.derby.impl.tools.ij
Class mtGrammar

java.lang.Object
  extended byorg.apache.derby.impl.tools.ij.mtGrammar
All Implemented Interfaces:
mtGrammarConstants

public class mtGrammar
extends java.lang.Object
implements mtGrammarConstants


Nested Class Summary
(package private) static class mtGrammar.JJCalls
           
 
Field Summary
private  LocalizedInput currIn
           
private  LocalizedOutput currOut
           
private  mtGrammar.JJCalls[] jj_2_rtns
           
private  int jj_endpos
           
private  java.util.Vector jj_expentries
           
private  int[] jj_expentry
           
private  int jj_gc
           
private  int jj_gen
           
(package private)  SimpleCharStream jj_input_stream
           
private  int jj_kind
           
private  int jj_la
           
private  int[] jj_la1
           
private static int[] jj_la1_0
           
private  Token jj_lastpos
           
private  int[] jj_lasttokens
           
 Token jj_nt
           
private  boolean jj_rescan
           
private  Token jj_scanpos
           
private  boolean jj_semLA
           
 boolean lookingAhead
           
 Token token
           
 mtGrammarTokenManager token_source
           
 
Fields inherited from interface org.apache.derby.impl.tools.ij.mtGrammarConstants
CASE, COLON, COMMA, DEFAULT, DESCRIPTION, EOF, FILE, IGNOREERRORS, INIT, INT, LAST, PROPERTIES, RUNTIME, SINGLE_LINE_COMMENT, SINGLE_LINE_COMMENT2, SINGLE_LINE_SQLCOMMENT, STRING, THREADS, tokenImage, WEIGHT, WORD
 
Constructor Summary
(package private) mtGrammar()
           
  mtGrammar(java.io.InputStream stream)
           
  mtGrammar(mtGrammarTokenManager tm)
           
  mtGrammar(java.io.Reader stream)
           
 
Method Summary
 void caseInfo(mtTestCase testCase)
           
 java.util.Vector cases()
           
 java.lang.String description()
           
 void disable_tracing()
           
 void enable_tracing()
           
 ParseException generateParseException()
           
 void getError(java.util.Hashtable errorList)
           
 Token getNextToken()
           
 Token getToken(int index)
           
 mtTestSuite grammarStatement()
           
 java.util.Hashtable ignoreErrors()
           
 java.util.Vector init()
           
 void initCase(java.util.Vector testCases)
           
private  boolean jj_2_1(int xla)
           
private  boolean jj_2_2(int xla)
           
private  boolean jj_3_1()
           
private  boolean jj_3_2()
           
private  void jj_add_error_token(int kind, int pos)
           
private  Token jj_consume_token(int kind)
           
private static void jj_la1_0()
           
private  void jj_rescan_token()
           
private  void jj_save(int index, int xla)
           
private  boolean jj_scan_token(int kind)
           
 java.util.Vector last()
           
 void lastCase(java.util.Vector testCases)
           
 int numThreads()
           
 java.lang.String propFile()
           
 void ReInit(java.io.InputStream stream)
           
 void ReInit(mtGrammarTokenManager tm)
           
 void ReInit(java.io.Reader stream)
           
 mtTime runTime()
           
 java.lang.String scriptFile()
           
 void testCase(java.util.Vector testCases)
           
 mtTime time()
           
 int weight()
           
 java.lang.String word_or_int()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

currOut

private LocalizedOutput currOut

currIn

private LocalizedInput currIn

token_source

public mtGrammarTokenManager token_source

jj_input_stream

SimpleCharStream jj_input_stream

token

public Token token

jj_nt

public Token jj_nt

jj_scanpos

private Token jj_scanpos

jj_lastpos

private Token jj_lastpos

jj_la

private int jj_la

lookingAhead

public boolean lookingAhead

jj_semLA

private boolean jj_semLA

jj_gen

private int jj_gen

jj_la1

private final int[] jj_la1

jj_la1_0

private static int[] jj_la1_0

jj_2_rtns

private final mtGrammar.JJCalls[] jj_2_rtns

jj_rescan

private boolean jj_rescan

jj_gc

private int jj_gc

jj_expentries

private java.util.Vector jj_expentries

jj_expentry

private int[] jj_expentry

jj_kind

private int jj_kind

jj_lasttokens

private int[] jj_lasttokens

jj_endpos

private int jj_endpos
Constructor Detail

mtGrammar

mtGrammar()

mtGrammar

public mtGrammar(java.io.InputStream stream)

mtGrammar

public mtGrammar(java.io.Reader stream)

mtGrammar

public mtGrammar(mtGrammarTokenManager tm)
Method Detail

grammarStatement

public final mtTestSuite grammarStatement()
                                   throws ParseException
Throws:
ParseException

numThreads

public final int numThreads()
                     throws ParseException
Throws:
ParseException

runTime

public final mtTime runTime()
                     throws ParseException
Throws:
ParseException

cases

public final java.util.Vector cases()
                             throws ParseException
Throws:
ParseException

testCase

public final void testCase(java.util.Vector testCases)
                    throws ParseException
Throws:
ParseException

init

public final java.util.Vector init()
                            throws ParseException
Throws:
ParseException

initCase

public final void initCase(java.util.Vector testCases)
                    throws ParseException
Throws:
ParseException

last

public final java.util.Vector last()
                            throws ParseException
Throws:
ParseException

lastCase

public final void lastCase(java.util.Vector testCases)
                    throws ParseException
Throws:
ParseException

caseInfo

public final void caseInfo(mtTestCase testCase)
                    throws ParseException
Throws:
ParseException

scriptFile

public final java.lang.String scriptFile()
                                  throws ParseException
Throws:
ParseException

propFile

public final java.lang.String propFile()
                                throws ParseException
Throws:
ParseException

weight

public final int weight()
                 throws ParseException
Throws:
ParseException

description

public final java.lang.String description()
                                   throws ParseException
Throws:
ParseException

ignoreErrors

public final java.util.Hashtable ignoreErrors()
                                       throws ParseException
Throws:
ParseException

getError

public final void getError(java.util.Hashtable errorList)
                    throws ParseException
Throws:
ParseException

word_or_int

public final java.lang.String word_or_int()
                                   throws ParseException
Throws:
ParseException

time

public final mtTime time()
                  throws ParseException
Throws:
ParseException

jj_2_1

private final boolean jj_2_1(int xla)

jj_2_2

private final boolean jj_2_2(int xla)

jj_3_1

private final boolean jj_3_1()

jj_3_2

private final boolean jj_3_2()

jj_la1_0

private static void jj_la1_0()

ReInit

public void ReInit(java.io.InputStream stream)

ReInit

public void ReInit(java.io.Reader stream)

ReInit

public void ReInit(mtGrammarTokenManager tm)

jj_consume_token

private final Token jj_consume_token(int kind)
                              throws ParseException
Throws:
ParseException

jj_scan_token

private final boolean jj_scan_token(int kind)

getNextToken

public final Token getNextToken()

getToken

public final Token getToken(int index)

jj_add_error_token

private void jj_add_error_token(int kind,
                                int pos)

generateParseException

public ParseException generateParseException()

enable_tracing

public final void enable_tracing()

disable_tracing

public final void disable_tracing()

jj_rescan_token

private final void jj_rescan_token()

jj_save

private final void jj_save(int index,
                           int xla)

Built on Mon 2007-06-04 09:58:47+0400, from revision ???

Apache Derby V10.1 Engine Documentation - Copyright © 1997,2005 The Apache Software Foundation or its licensors, as applicable.