edu.ksu.cis.kdd.data.converter.text
Class TextParser

java.lang.Object
  extended byedu.ksu.cis.kdd.data.converter.text.TextParser
All Implemented Interfaces:
Converter, TextParserConstants, TextParserTreeConstants

public class TextParser
extends java.lang.Object
implements TextParserTreeConstants, Converter, TextParserConstants


Field Summary
 Token jj_nt
           
protected  edu.ksu.cis.kdd.data.converter.text.JJTTextParserState jjtree
           
 Token token
           
 TextParserTokenManager token_source
           
 
Fields inherited from interface edu.ksu.cis.kdd.data.converter.text.TextParserTreeConstants
jjtNodeName, JJTVOID
 
Fields inherited from interface edu.ksu.cis.kdd.data.converter.text.TextParserConstants
ANDASSIGN, ASG_OPR, ASSIGN, BANG, BIT_AND, BIT_OR, BIT_XOR, COLON, COMMA, DECIMAL_LITERAL, DECR, DEFAULT, DIGIT, DOT, EOF, EQ, EXPONENT, FLOATING_POINT_LITERAL, FORMAL_COMMENT, GE, GT, HEX_LITERAL, HOOK, IDENTIFIER, IN_FORMAL_COMMENT, IN_MULTI_LINE_COMMENT, IN_SINGLE_LINE_COMMENT, INCR, INTEGER_LITERAL, LBRACE, LBRACKET, LE, LETTER, LPAREN, LSHIFT, LSHIFTASSIGN, LT, MINUS, MINUSASSIGN, MULTI_LINE_COMMENT, NE, OCTAL_LITERAL, ORASSIGN, PLUS, PLUSASSIGN, RBRACE, RBRACKET, REMASSIGN, RPAREN, RSIGNEDSHIFT, RSIGNEDSHIFTASSIGN, RUNSIGNEDSHIFT, RUNSIGNEDSHIFTASSIGN, SC_AND, SC_OR, SC_XOR, SEMICOLON, SINGLE_LINE_COMMENT, SLASH, SLASHASSIGN, STAR, STARASSIGN, STRING_LITERAL, TILDE, tokenImage, TOWARD, XORASSIGN
 
Constructor Summary
TextParser()
           
TextParser(java.io.InputStream stream)
           
TextParser(java.io.Reader stream)
           
TextParser(TextParserTokenManager tm)
           
 
Method Summary
 Table CompilationUnit()
           
 void disable_tracing()
           
 void enable_tracing()
           
 ParseException generateParseException()
           
 Token getNextToken()
           
 Token getToken(int index)
           
static void help()
           
 void initialize()
           
 Database load(java.io.InputStream r)
           
static void main(java.lang.String[] args)
           
 void ReInit(java.io.InputStream stream)
           
 void ReInit(java.io.Reader stream)
           
 void ReInit(TextParserTokenManager tm)
           
 void save(java.io.OutputStream r, Database t)
           
 void setTextProperty(TextProperty tp)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

jjtree

protected edu.ksu.cis.kdd.data.converter.text.JJTTextParserState jjtree

token_source

public TextParserTokenManager token_source

token

public Token token

jj_nt

public Token jj_nt
Constructor Detail

TextParser

public TextParser()

TextParser

public TextParser(java.io.InputStream stream)

TextParser

public TextParser(java.io.Reader stream)

TextParser

public TextParser(TextParserTokenManager tm)
Method Detail

setTextProperty

public void setTextProperty(TextProperty tp)

initialize

public void initialize()
Specified by:
initialize in interface Converter

load

public Database load(java.io.InputStream r)
Specified by:
load in interface Converter

save

public void save(java.io.OutputStream r,
                 Database t)
Specified by:
save in interface Converter

help

public static void help()

main

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

CompilationUnit

public final Table CompilationUnit()
                            throws ParseException
Throws:
ParseException

ReInit

public void ReInit(java.io.InputStream stream)

ReInit

public void ReInit(java.io.Reader stream)

ReInit

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