public class ShadyParser extends Object implements ShadyParserConstants
| Modifier and Type | Field and Description |
|---|---|
Token |
jj_nt
Next token.
|
Token |
token
Current token.
|
ShadyParserTokenManager |
token_source
Generated Token Manager.
|
DECIMAL_LITERAL, DEFAULT, EOF, EQ, EXPONENT, FLOATING_POINT_LITERAL, GE, GT, CHARACTER_LITERAL, IDENTIFIER, LE, LETTER, LT, NE, PART_LETTER, STRING_LITERAL, tokenImage| Constructor and Description |
|---|
ShadyParser(InputStream stream)
Constructor with InputStream.
|
ShadyParser(InputStream stream,
String encoding)
Constructor with InputStream and supplied encoding
|
ShadyParser(Reader stream)
Constructor.
|
ShadyParser(ShadyParserTokenManager tm)
Constructor with generated Token Manager.
|
| Modifier and Type | Method and Description |
|---|---|
IArgument |
arg() |
List<IArgument> |
args() |
NodeCall |
call() |
void |
disable_tracing()
Disable tracing.
|
NodeElement |
element() |
void |
enable_tracing()
Enable tracing.
|
ParseException |
generateParseException()
Generate ParseException.
|
Token |
getNextToken()
Get the next Token.
|
Token |
getToken(int index)
Get the specific Token.
|
String |
name() |
ShadeNode |
node() |
ShadeTree |
plan() |
IQuery |
priority() |
QueryCall |
queryCall() |
void |
ReInit(InputStream stream)
Reinitialise.
|
void |
ReInit(InputStream stream,
String encoding)
Reinitialise.
|
void |
ReInit(Reader stream)
Reinitialise.
|
void |
ReInit(ShadyParserTokenManager tm)
Reinitialise.
|
IQuery |
trigger() |
IQuery |
value() |
public ShadyParserTokenManager token_source
public Token token
public Token jj_nt
public ShadyParser(InputStream stream)
public ShadyParser(InputStream stream, String encoding)
public ShadyParser(Reader stream)
public ShadyParser(ShadyParserTokenManager tm)
public final ShadeTree plan() throws ParseException
ParseExceptionpublic final ShadeNode node() throws ParseException
ParseExceptionpublic final NodeElement element() throws ParseException
ParseExceptionpublic final IQuery priority() throws ParseException
ParseExceptionpublic final IQuery trigger() throws ParseException
ParseExceptionpublic final IQuery value() throws ParseException
ParseExceptionpublic final QueryCall queryCall() throws ParseException
ParseExceptionpublic final NodeCall call() throws ParseException
ParseExceptionpublic final List<IArgument> args() throws ParseException
ParseExceptionpublic final IArgument arg() throws ParseException
ParseExceptionpublic final String name() throws ParseException
ParseExceptionpublic void ReInit(InputStream stream)
public void ReInit(InputStream stream, String encoding)
public void ReInit(Reader stream)
public void ReInit(ShadyParserTokenManager 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 © 2018 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All rights reserved.