edu.ksu.cis.kdd.data.converter.libb
Class LibBDataParser
java.lang.Object
edu.ksu.cis.kdd.data.converter.libb.LibBDataParser
- All Implemented Interfaces:
- Converter, LibBDataParserConstants, LibBDataParserTreeConstants
- public class LibBDataParser
- extends java.lang.Object
- implements LibBDataParserTreeConstants, Converter, LibBDataParserConstants
Fields inherited from interface edu.ksu.cis.kdd.data.converter.libb.LibBDataParserConstants |
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, GE, GT, HEX_LITERAL, HOOK, IDENTIFIER, IN_SINGLE_LINE_COMMENT, INCR, INTEGER_LITERAL, LBRACE, LBRACKET, LE, LETTER, LPAREN, LSHIFT, LSHIFTASSIGN, LT, MINUS, MINUSASSIGN, NE, NETWORK, OCTAL_LITERAL, ORASSIGN, PARENTS, PLUS, PLUSASSIGN, PROBABILITY, 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, VAR, XORASSIGN |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
jjtree
protected edu.ksu.cis.kdd.data.converter.libb.JJTLibBDataParserState jjtree
tuples
protected Table tuples
ln
protected static java.lang.String ln
token_source
public LibBDataParserTokenManager token_source
token
public Token token
jj_nt
public Token jj_nt
lookingAhead
public boolean lookingAhead
LibBDataParser
public LibBDataParser()
LibBDataParser
public LibBDataParser(java.io.InputStream stream)
LibBDataParser
public LibBDataParser(java.io.Reader stream)
LibBDataParser
public LibBDataParser(LibBDataParserTokenManager tm)
load
public Database load(java.io.InputStream r)
throws ParseException
- Specified by:
load
in interface Converter
- Throws:
ParseException
save
public void save(java.io.OutputStream os,
Database db)
- Specified by:
save
in interface Converter
initialize
public void initialize()
- Specified by:
initialize
in interface Converter
resetCache
protected void resetCache()
- This is to reset cache. Not used here.
help
public static void help()
main
public static void main(java.lang.String[] args)
CompilationUnit
public final Database CompilationUnit()
throws ParseException
- THE LibB DATA LANGUAGE GRAMMAR STARTS HERE *
- Throws:
ParseException
Nodes
public final void Nodes()
throws ParseException
- Throws:
ParseException
Data
public final void Data()
throws ParseException
- Throws:
ParseException
StringList
public final java.util.List StringList()
throws ParseException
- Throws:
ParseException
ReInit
public void ReInit(java.io.InputStream stream)
ReInit
public void ReInit(java.io.Reader stream)
ReInit
public void ReInit(LibBDataParserTokenManager 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()