public class Rcc extends Object implements RccConstants
Modifier and Type | Field and Description |
---|---|
Token |
jj_nt
Next token.
|
Token |
token
Current token.
|
RccTokenManager |
token_source
Generated Token Manager.
|
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 and Description |
---|
Rcc(InputStream stream)
Constructor with InputStream.
|
Rcc(InputStream stream,
String encoding)
Constructor with InputStream and supplied encoding
|
Rcc(RccTokenManager tm)
Constructor with generated Token Manager.
|
Rcc(Reader stream)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
disable_tracing()
Disable tracing.
|
void |
enable_tracing()
Enable tracing.
|
JField |
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(String[] args) |
JMap |
Map() |
ArrayList<JRecord> |
Module() |
String |
ModuleName() |
static JFile |
parseFile(File file) |
JRecord |
Record() |
ArrayList<JRecord> |
RecordList() |
void |
ReInit(InputStream stream)
Reinitialise.
|
void |
ReInit(InputStream stream,
String encoding)
Reinitialise.
|
void |
ReInit(RccTokenManager tm)
Reinitialise.
|
void |
ReInit(Reader stream)
Reinitialise.
|
JType |
Type() |
JVector |
Vector() |
public RccTokenManager token_source
public Token token
public Token jj_nt
public Rcc(InputStream stream)
public Rcc(InputStream stream, String encoding)
public Rcc(Reader stream)
public Rcc(RccTokenManager tm)
public static void main(String[] args)
public static JFile parseFile(File file) throws FileNotFoundException, ParseException
FileNotFoundException
ParseException
public final JFile Input() throws ParseException
ParseException
public final JFile Include() throws ParseException
ParseException
public final ArrayList<JRecord> Module() throws ParseException
ParseException
public final String ModuleName() throws ParseException
ParseException
public final ArrayList<JRecord> RecordList() throws ParseException
ParseException
public final JRecord Record() throws ParseException
ParseException
public final JField Field() throws ParseException
ParseException
public final JType Type() throws ParseException
ParseException
public final JMap Map() throws ParseException
ParseException
public final JVector Vector() throws ParseException
ParseException
public void ReInit(InputStream stream)
public void ReInit(InputStream stream, String encoding)
public void ReInit(Reader stream)
public void ReInit(RccTokenManager tm)
public final Token getNextToken()
public final Token getToken(int index)
public ParseException generateParseException()
public final void enable_tracing()
public final void disable_tracing()
Copyright © 2008–2020 The Apache Software Foundation. All rights reserved.