|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectJaCoP.fz.Parser
public class Parser
| Field Summary | |
|---|---|
Token |
jj_nt
Next token. |
Token |
token
Current token. |
ParserTokenManager |
token_source
Generated Token Manager. |
| Fields inherited from interface JaCoP.fz.ParserTreeConstants |
|---|
JJTANNEXPR, JJTANNOTATION, JJTARRAYLITERAL, JJTBOOLTIEXPRTAIL, JJTCONSTELEM, JJTCONSTRAINT, JJTCONSTRAINTITEMS, JJTINTFLATEXPR, JJTINTLITERALS, JJTINTTIEXPRTAIL, JJTMODEL, JJTMODELEND, jjtNodeName, JJTSCALARFLATEXPR, JJTSETLITERAL, JJTSETTIEXPRTAIL, JJTSOLVEEXPR, JJTSOLVEITEM, JJTSOLVEKIND, JJTVARDECLITEM, JJTVARDECLITEMS, JJTVARIABLEEXPR, JJTVOID |
| Fields inherited from interface JaCoP.fz.ParserConstants |
|---|
ARRAY, ASGN, BOOL, COLON, COLONCOLON, COMMA, CONSTRAINT, DEFAULT, DOTDOT, EOF, FALSE, FLOAT, FLOAT_LITERAL, IDENT, INT, INT_LITERAL, LB, LBOX, LP, MAXIMIZE, MINIMIZE, OF, OUTPUT, PREDICATE, RB, RBOX, RP, SATISFY, SC, SET, SHOW, SHOW_COND, SINGLE_LINE_COMMENT, SOLVE, STRING_LITERAL, tokenImage, TRUE, VAR |
| Constructor Summary | |
|---|---|
Parser(java.io.InputStream stream)
Constructor with InputStream. |
|
Parser(java.io.InputStream stream,
java.lang.String encoding)
Constructor with InputStream and supplied encoding |
|
Parser(ParserTokenManager tm)
Constructor with generated Token Manager. |
|
Parser(java.io.Reader stream)
Constructor. |
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public ParserTokenManager token_source
public Token token
public Token jj_nt
| Constructor Detail |
|---|
public Parser(java.io.InputStream stream)
public Parser(java.io.InputStream stream,
java.lang.String encoding)
public Parser(java.io.Reader stream)
public Parser(ParserTokenManager tm)
| Method Detail |
|---|
public final void model()
throws ParseException
ParseException
public final void pred_decl_items()
throws ParseException
ParseException
public final void var_decl_items()
throws ParseException
ParseException
public final void constraint_items()
throws ParseException
ParseException
public final void model_end()
throws ParseException
ParseException
public final void pred_decl_item()
throws ParseException
ParseException
public final void var_decl_item()
throws ParseException
ParseException
public final void array_decl_tail(ASTVarDeclItem v)
throws ParseException
ParseException
public final Token ident_anns()
throws ParseException
ParseException
public final void constraint_item()
throws ParseException
ParseException
public final void constraint_elem()
throws ParseException
ParseException
public final void solve_item()
throws ParseException
ParseException
public final void solve_kind()
throws ParseException
ParseException
public final void output_item()
throws ParseException
ParseException
public final void output_elems()
throws ParseException
ParseException
public final void output_elem()
throws ParseException
ParseException
public final void pred_decl_args()
throws ParseException
ParseException
public final void pred_decl_arg()
throws ParseException
ParseException
public final void pred_arg_array_index()
throws ParseException
ParseException
public final void pred_arg_array_tail()
throws ParseException
ParseException
public final void non_array_ti_expr_tail()
throws ParseException
ParseException
public final void scalar_ti_expr_tail()
throws ParseException
ParseException
public final void bool_ti_expr_tail()
throws ParseException
ParseException
public final void int_ti_expr_tail()
throws ParseException
ParseException
public final void float_ti_expr_tail()
throws ParseException
ParseException
public final void set_ti_expr_tail()
throws ParseException
ParseException
public final void ann_exprs()
throws ParseException
ParseException
public final void ann_expr()
throws ParseException
ParseException
public final void flat_exprs()
throws ParseException
ParseException
public final void flat_expr()
throws ParseException
ParseException
public final void non_array_flat_exprs()
throws ParseException
ParseException
public final void non_array_flat_expr()
throws ParseException
ParseException
public final void scalar_flat_exprs()
throws ParseException
ParseException
public final void scalar_flat_expr()
throws ParseException
ParseException
public final void int_flat_expr()
throws ParseException
ParseException
public final void variable_expr()
throws ParseException
ParseException
public final void solve_expr()
throws ParseException
ParseException
public final ArrayAccess array_access_expr()
throws ParseException
ParseException
public final int int_index_expr()
throws ParseException
ParseException
public final Token bool_literal()
throws ParseException
ParseException
public final void int_literals()
throws ParseException
ParseException
public final void set_literal()
throws ParseException
ParseException
public final void array_literal()
throws ParseException
ParseException
public final void annotations()
throws ParseException
ParseException
public final void annotation()
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(ParserTokenManager 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 | ||||||||