|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.quattor.pan.parser.PanParser
public class PanParser
| Field Summary | |
|---|---|
Token |
jj_nt
Next token. |
protected JJTPanParserState |
jjtree
|
Token |
token
Current token. |
PanParserTokenManager |
token_source
Generated Token Manager. |
| Fields inherited from interface org.quattor.pan.parser.PanParserConstants |
|---|
AND, ANNOTATION, ASSIGN, ASSIGN_DEFAULT, ASTERISK, BIND, BIT_AND, BIT_IOR, BIT_NOT, BIT_XOR, COMMA, COMMENT, DECIMAL_LITERAL, DECLARATION, DEFAULT, DIV, DOUBLE_LITERAL, DOUBLE_QUOTED_STRING, ELSE, EOF, EQ, ERROR, EXPONENT, EXTENSIBLE, FALSE, FINAL, FOR, FOREACH, FUNCTION, GE, GT, HD_MARKER, HEREDOC, HEREDOC_STRING, HEX_LITERAL, IDENTIFIER, IF, INCLUDE, LBRACE, LBRACKET, LE, LPAREN, LT, MINUS, MOD, NAMESPACE, NE, NOT, NS_IDENTIFIER, NULL_LITERAL, OBJECT, OCTAL_LITERAL, OPTIONAL, OR, PLUS, PREFIX, RANGE, RBRACE, RBRACKET, REQUIRED, RPAREN, SEMICOLON, SINGLE_QUOTED_STRING, STRUCTURE, TEMPLATE, tokenImage, TRUE, TYPE, UNDEF_LITERAL, UNIQUE, VALID, VARIABLE, WHILE, WITH |
| Constructor Summary | |
|---|---|
PanParser(java.io.InputStream stream)
Constructor with InputStream. |
|
PanParser(java.io.InputStream stream,
java.lang.String encoding)
Constructor with InputStream and supplied encoding |
|
PanParser(PanParserTokenManager tm)
Constructor with generated Token Manager. |
|
PanParser(java.io.Reader stream)
Constructor. |
|
| Method Summary | |
|---|---|
void |
additiveExpression()
|
void |
assignmentExpression()
|
SourceRange |
baseTypeSpec()
|
void |
bitAndExpression()
|
void |
booleanLiteral()
|
SourceRange |
defaultValue()
|
void |
deprecated(java.lang.String message,
Token token,
int level)
Write deprecation message to standard output. |
void |
disable_tracing()
Disable tracing. |
ASTOperation |
dml()
|
void |
dmlSequence()
Expressions. |
void |
dmlVariable()
|
void |
doubleLiteral()
|
void |
emptyStatement()
|
void |
enable_tracing()
Enable tracing. |
void |
endOfFile()
End-of-file processing. |
void |
equalityExpression()
|
void |
exclusiveOrExpression()
|
void |
expression()
|
void |
fieldSpec()
|
void |
foreachStatement()
|
void |
forStatement()
|
ASTFullTypeSpec |
fullTypeSpec()
Type declarations. |
void |
functionalExpression()
|
ParseException |
generateParseException()
Generate ParseException. |
java.io.File |
getFile()
Get the file name |
Token |
getNextToken()
Get the next Token. |
Token |
getToken(int index)
Get the specific Token. |
SourceRange |
hashClause()
|
void |
ifStatement()
|
void |
inclusiveOrExpression()
|
SourceRange |
linkClause()
|
SourceRange |
listClause()
|
void |
logicalAndExpression()
|
void |
logicalOrExpression()
|
java.lang.String |
longLiteral()
|
void |
multiplicativeExpression()
|
void |
nullLiteral()
|
Token |
path()
Path. |
void |
primaryExpression()
|
Range |
range()
|
void |
ReInit(java.io.InputStream stream)
Reinitialise. |
void |
ReInit(java.io.InputStream stream,
java.lang.String encoding)
Reinitialise. |
void |
ReInit(PanParserTokenManager tm)
Reinitialise. |
void |
ReInit(java.io.Reader stream)
Reinitialise. |
void |
relationalExpression()
|
void |
setCompilerOptions(CompilerOptions options)
Set the compiler options. |
boolean |
setDebugSuppressedFlag(java.lang.String templateName)
Get the debugging pattern. |
void |
setFile(java.io.File file)
Set the file name. |
void |
statement()
Statements--assignments, declarations, and includes. |
void |
statementSequence()
|
void |
stringLiteral()
Literals. |
ASTTemplate |
template()
Template syntax. |
Token |
templateName()
This is separated in order to set a flag to indicate if debugging calls should be included in this template. |
SourceRange |
typeSpec()
|
void |
unaryExpression()
|
void |
undefLiteral()
|
void |
whileStatement()
|
SourceRange |
with()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected JJTPanParserState jjtree
public PanParserTokenManager token_source
public Token token
public Token jj_nt
| Constructor Detail |
|---|
public PanParser(java.io.InputStream stream)
public PanParser(java.io.InputStream stream,
java.lang.String encoding)
public PanParser(java.io.Reader stream)
public PanParser(PanParserTokenManager tm)
| Method Detail |
|---|
public void setFile(java.io.File file)
public java.io.File getFile()
public boolean setDebugSuppressedFlag(java.lang.String templateName)
public void setCompilerOptions(CompilerOptions options)
public void deprecated(java.lang.String message,
Token token,
int level)
public final void endOfFile()
throws ParseException
ParseException
public final void stringLiteral()
throws ParseException
ParseException
public final java.lang.String longLiteral()
throws ParseException
ParseException
public final void doubleLiteral()
throws ParseException
ParseException
public final void booleanLiteral()
throws ParseException
ParseException
public final void nullLiteral()
throws ParseException
ParseException
public final void undefLiteral()
throws ParseException
ParseException
public final Token path()
throws ParseException
ParseException
public final ASTTemplate template()
throws ParseException
ParseException
public final Token templateName()
throws ParseException
ParseException
public final void statement()
throws ParseException
ParseException
public final void statementSequence()
throws ParseException
ParseException
public final ASTFullTypeSpec fullTypeSpec()
throws ParseException
ParseException
public final SourceRange defaultValue()
throws ParseException
ParseException
public final SourceRange with()
throws ParseException
ParseException
public final SourceRange typeSpec()
throws ParseException
ParseException
public final SourceRange baseTypeSpec()
throws ParseException
ParseException
public final void fieldSpec()
throws ParseException
ParseException
public final SourceRange linkClause()
throws ParseException
ParseException
public final SourceRange listClause()
throws ParseException
ParseException
public final SourceRange hashClause()
throws ParseException
ParseException
public final Range range()
throws ParseException
ParseException
public final void dmlSequence()
throws ParseException
ParseException
public final void dmlVariable()
throws ParseException
ParseException
public final ASTOperation dml()
throws ParseException
ParseException
public final void ifStatement()
throws ParseException
ParseException
public final void whileStatement()
throws ParseException
ParseException
public final void foreachStatement()
throws ParseException
ParseException
public final void forStatement()
throws ParseException
ParseException
public final void emptyStatement()
throws ParseException
ParseException
public final void expression()
throws ParseException
ParseException
public final void assignmentExpression()
throws ParseException
ParseException
public final void logicalOrExpression()
throws ParseException
ParseException
public final void logicalAndExpression()
throws ParseException
ParseException
public final void inclusiveOrExpression()
throws ParseException
ParseException
public final void exclusiveOrExpression()
throws ParseException
ParseException
public final void bitAndExpression()
throws ParseException
ParseException
public final void equalityExpression()
throws ParseException
ParseException
public final void relationalExpression()
throws ParseException
ParseException
public final void additiveExpression()
throws ParseException
ParseException
public final void multiplicativeExpression()
throws ParseException
ParseException
public final void unaryExpression()
throws ParseException
ParseException
public final void functionalExpression()
throws ParseException
ParseException
public final void primaryExpression()
throws ParseException
ParseExceptionpublic void ReInit(java.io.InputStream stream)
public void ReInit(java.io.InputStream stream,
java.lang.String encoding)
public void ReInit(java.io.Reader stream)
public void ReInit(PanParserTokenManager 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 | |||||||||