Expression expr = null;
symbol = jj_consume_token(SYMBOL);
Location location = toLocation(symbol);
String name = symbol.image;
DefinitionStatement target = flowPeek().getDefinitionStatement();
VariableStatement var = null;
if (target.lookupDeclaration(name) == null && !target.isEntityReserved(name)) {
var = target.declare(location, name, expr, document, statik);
} else {
error(location, "Entity '" + name + "' is already declared");
}
if (var != null) {
flowPush(var);
}
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case ASSIGN:
jj_consume_token(ASSIGN);
ValueExpression();
expr = (Expression)pop();
break;
default:
jj_la1[46] = jj_gen;
;
}
if (var != null) {
var.setExpression(expr);
flowPop();
}
}