|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.cilib.type.parser.DomainParser
public class DomainParser
Nested Class Summary | |
---|---|
static class |
DomainParser.DomainNode
|
Field Summary | |
---|---|
Token |
jj_nt
Next token. |
protected JJTDomainParserState |
jjtree
|
Token |
token
Current token. |
DomainParserTokenManager |
token_source
Generated Token Manager. |
Fields inherited from interface net.sourceforge.cilib.type.parser.DomainParserTreeConstants |
---|
JJTDIMENSION, JJTDOMAINELEMENT, JJTELEMENT, JJTEXPONENT, JJTLOWERDIM, jjtNodeName, JJTNUMBER, JJTREPEAT, JJTROOTELEMENT, JJTTYPE, JJTUPPERDIM, JJTVALUE |
Fields inherited from interface net.sourceforge.cilib.type.parser.DomainParserConstants |
---|
DEFAULT, DIGIT, EOF, EXPONENT, MINUS, NUMBER, POSITIVE_INTEGER, tokenImage, TYPE |
Constructor Summary | |
---|---|
DomainParser(DomainParserTokenManager tm)
Constructor with generated Token Manager. |
|
DomainParser(InputStream stream)
Constructor with InputStream. |
|
DomainParser(InputStream stream,
String encoding)
Constructor with InputStream and supplied encoding |
|
DomainParser(Reader stream)
Constructor. |
Method Summary | |
---|---|
void |
dimension()
|
void |
disable_tracing()
Disable tracing. |
void |
domainElement()
|
void |
element()
|
void |
enable_tracing()
Enable tracing. |
void |
exponent()
|
ParseException |
generateParseException()
Generate ParseException. |
Token |
getNextToken()
Get the next Token. |
Token |
getToken(int index)
Get the specific Token. |
void |
lowerDim()
|
void |
number()
|
static StructuredType |
parse(String domainString)
|
void |
ReInit(DomainParserTokenManager tm)
Reinitialise. |
void |
ReInit(InputStream stream)
Reinitialise. |
void |
ReInit(InputStream stream,
String encoding)
Reinitialise. |
void |
ReInit(Reader stream)
Reinitialise. |
void |
repeat()
|
ASTrootElement |
rootElement()
|
void |
type()
|
void |
upperDim()
|
void |
value()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected JJTDomainParserState jjtree
public DomainParserTokenManager token_source
public Token token
public Token jj_nt
Constructor Detail |
---|
public DomainParser(InputStream stream)
public DomainParser(InputStream stream, String encoding)
public DomainParser(Reader stream)
public DomainParser(DomainParserTokenManager tm)
Method Detail |
---|
public static StructuredType parse(String domainString) throws ParseException
ParseException
public final ASTrootElement rootElement() throws ParseException
ParseException
public final void element() throws ParseException
ParseException
public final void domainElement() throws ParseException
ParseException
public final void type() throws ParseException
ParseException
public final void exponent() throws ParseException
ParseException
public final void dimension() throws ParseException
ParseException
public final void lowerDim() throws ParseException
ParseException
public final void upperDim() throws ParseException
ParseException
public final void value() throws ParseException
ParseException
public final void repeat() throws ParseException
ParseException
public final void number() throws ParseException
ParseException
public void ReInit(InputStream stream)
public void ReInit(InputStream stream, String encoding)
public void ReInit(Reader stream)
public void ReInit(DomainParserTokenManager tm)
public final Token getNextToken()
public final Token getToken(int index)
public ParseException generateParseException()
public final void enable_tracing()
public final void disable_tracing()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |