org.apache.hadoop.record.compiler.generated
Class Rcc

java.lang.Object
  extended by org.apache.hadoop.record.compiler.generated.Rcc
All Implemented Interfaces:
RccConstants

public class Rcc
extends java.lang.Object
implements RccConstants


Field Summary
 Token jj_nt
          Next token.
 Token token
          Current token.
 RccTokenManager token_source
          Generated Token Manager.
 
Fields inherited from interface org.apache.hadoop.record.compiler.generated.RccConstants
BOOLEAN_TKN, BUFFER_TKN, BYTE_TKN, COMMA_TKN, CSTRING_TKN, DEFAULT, DOT_TKN, DOUBLE_TKN, EOF, FLOAT_TKN, GT_TKN, IDENT_TKN, INCLUDE_TKN, INT_TKN, LBRACE_TKN, LONG_TKN, LT_TKN, MAP_TKN, MODULE_TKN, RBRACE_TKN, RECORD_TKN, SEMICOLON_TKN, tokenImage, USTRING_TKN, VECTOR_TKN, WithinMultiLineComment, WithinOneLineComment
 
Constructor Summary
Rcc(java.io.InputStream stream)
          Constructor with InputStream.
Rcc(java.io.InputStream stream, java.lang.String encoding)
          Constructor with InputStream and supplied encoding
Rcc(RccTokenManager tm)
          Constructor with generated Token Manager.
Rcc(java.io.Reader stream)
          Constructor.
 
Method Summary
 void disable_tracing()
          Disable tracing.
static int driver(java.lang.String[] args)
           
 void enable_tracing()
          Enable tracing.
 JField<JType> Field()
           
 ParseException generateParseException()
          Generate ParseException.
 Token getNextToken()
          Get the next Token.
 Token getToken(int index)
          Get the specific Token.
 JFile Include()
           
 JFile Input()
           
static void main(java.lang.String[] args)
           
 JMap Map()
           
 java.util.ArrayList<JRecord> Module()
           
 java.lang.String ModuleName()
           
 JRecord Record()
           
 java.util.ArrayList<JRecord> RecordList()
           
 void ReInit(java.io.InputStream stream)
          Reinitialise.
 void ReInit(java.io.InputStream stream, java.lang.String encoding)
          Reinitialise.
 void ReInit(RccTokenManager tm)
          Reinitialise.
 void ReInit(java.io.Reader stream)
          Reinitialise.
 JType Type()
           
static void usage()
           
 JVector Vector()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

token_source

public RccTokenManager token_source
Generated Token Manager.


token

public Token token
Current token.


jj_nt

public Token jj_nt
Next token.

Constructor Detail

Rcc

public Rcc(java.io.InputStream stream)
Constructor with InputStream.


Rcc

public Rcc(java.io.InputStream stream,
           java.lang.String encoding)
Constructor with InputStream and supplied encoding


Rcc

public Rcc(java.io.Reader stream)
Constructor.


Rcc

public Rcc(RccTokenManager tm)
Constructor with generated Token Manager.

Method Detail

main

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

usage

public static void usage()

driver

public static int driver(java.lang.String[] args)

Input

public final JFile Input()
                  throws ParseException
Throws:
ParseException

Include

public final JFile Include()
                    throws ParseException
Throws:
ParseException

Module

public final java.util.ArrayList<JRecord> Module()
                                          throws ParseException
Throws:
ParseException

ModuleName

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

RecordList

public final java.util.ArrayList<JRecord> RecordList()
                                              throws ParseException
Throws:
ParseException

Record

public final JRecord Record()
                     throws ParseException
Throws:
ParseException

Field

public final JField<JType> Field()
                          throws ParseException
Throws:
ParseException

Type

public final JType Type()
                 throws ParseException
Throws:
ParseException

Map

public final JMap Map()
               throws ParseException
Throws:
ParseException

Vector

public final JVector Vector()
                     throws ParseException
Throws:
ParseException

ReInit

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


ReInit

public void ReInit(java.io.InputStream stream,
                   java.lang.String encoding)
Reinitialise.


ReInit

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


ReInit

public void ReInit(RccTokenManager tm)
Reinitialise.


getNextToken

public final Token getNextToken()
Get the next Token.


getToken

public final Token getToken(int index)
Get the specific Token.


generateParseException

public ParseException generateParseException()
Generate ParseException.


enable_tracing

public final void enable_tracing()
Enable tracing.


disable_tracing

public final void disable_tracing()
Disable tracing.



Copyright © 2009 The Apache Software Foundation