forked from JavaTX/JavaCompilerCore
Java Parser an umbenennung anpassen
This commit is contained in:
parent
6cc0d462ab
commit
3bb2153b6a
@ -1693,7 +1693,7 @@ assignment :lefthandside assignmentoperator assignmentexpr
|
|||||||
{
|
{
|
||||||
de.dhbwstuttgart.logger.Logger.getLogger("parser").debug("\nParser --> Zuweisung1!\n", Section.PARSER);
|
de.dhbwstuttgart.logger.Logger.getLogger("parser").debug("\nParser --> Zuweisung1!\n", Section.PARSER);
|
||||||
Assign Ass = new Assign($1.getOffset(),$1.getVariableLength());
|
Assign Ass = new Assign($1.getOffset(),$1.getVariableLength());
|
||||||
LocalOrFieldVar LOFV = new LocalOrFieldVar($1.getOffset(),$1.getVariableLength());
|
LocalOrFieldVarOrClassname LOFV = new LocalOrFieldVarOrClassname($1.getOffset(),$1.getVariableLength());
|
||||||
LOFV.set_UsedId($1);
|
LOFV.set_UsedId($1);
|
||||||
//auskommentiert von Andreas Stadelmeier (a10023) LOFV.setType(TypePlaceholder.fresh());
|
//auskommentiert von Andreas Stadelmeier (a10023) LOFV.setType(TypePlaceholder.fresh());
|
||||||
//auskommentiert von Andreas Stadelmeier (a10023) Ass.setType(TypePlaceholder.fresh());
|
//auskommentiert von Andreas Stadelmeier (a10023) Ass.setType(TypePlaceholder.fresh());
|
||||||
@ -1717,7 +1717,7 @@ assignment :lefthandside assignmentoperator assignmentexpr
|
|||||||
| lefthandside assignmentoperator classinstancecreationexpression
|
| lefthandside assignmentoperator classinstancecreationexpression
|
||||||
{
|
{
|
||||||
Assign Ass =new Assign($1.getOffset(),$1.getVariableLength());
|
Assign Ass =new Assign($1.getOffset(),$1.getVariableLength());
|
||||||
LocalOrFieldVar LOFV = new LocalOrFieldVar($1.getOffset(),$1.getVariableLength());
|
LocalOrFieldVarOrClassname LOFV = new LocalOrFieldVarOrClassname($1.getOffset(),$1.getVariableLength());
|
||||||
LOFV.set_UsedId($1);
|
LOFV.set_UsedId($1);
|
||||||
//auskommentiert von Andreas Stadelmeier (a10023) LOFV.setType(TypePlaceholder.fresh());
|
//auskommentiert von Andreas Stadelmeier (a10023) LOFV.setType(TypePlaceholder.fresh());
|
||||||
//auskommentiert von Andreas Stadelmeier (a10023) Ass.setType(TypePlaceholder.fresh());
|
//auskommentiert von Andreas Stadelmeier (a10023) Ass.setType(TypePlaceholder.fresh());
|
||||||
@ -1939,7 +1939,7 @@ methodinvocation:
|
|||||||
rec = new Receiver(INSTVA);
|
rec = new Receiver(INSTVA);
|
||||||
}
|
}
|
||||||
else if ($1.get_Name().size() == 2) {
|
else if ($1.get_Name().size() == 2) {
|
||||||
LocalOrFieldVar LOFV = new LocalOrFieldVar($1.getOffset(),$1.getVariableLength());
|
LocalOrFieldVarOrClassname LOFV = new LocalOrFieldVarOrClassname($1.getOffset(),$1.getVariableLength());
|
||||||
$1.removeLast();
|
$1.removeLast();
|
||||||
LOFV.set_UsedId($1);
|
LOFV.set_UsedId($1);
|
||||||
//auskommentiert von Andreas Stadelmeier (a10023) LOFV.setType(TypePlaceholder.fresh());
|
//auskommentiert von Andreas Stadelmeier (a10023) LOFV.setType(TypePlaceholder.fresh());
|
||||||
@ -1969,7 +1969,7 @@ methodinvocation:
|
|||||||
rec = new Receiver(INSTVA);
|
rec = new Receiver(INSTVA);
|
||||||
}
|
}
|
||||||
else if ($1.get_Name().size() == 2) {
|
else if ($1.get_Name().size() == 2) {
|
||||||
LocalOrFieldVar LOFV = new LocalOrFieldVar($1.getOffset(),$1.getVariableLength());
|
LocalOrFieldVarOrClassname LOFV = new LocalOrFieldVarOrClassname($1.getOffset(),$1.getVariableLength());
|
||||||
$1.removeLast();
|
$1.removeLast();
|
||||||
LOFV.set_UsedId($1);
|
LOFV.set_UsedId($1);
|
||||||
//auskommentiert von Andreas Stadelmeier (a10023) LOFV.setType(TypePlaceholder.fresh());
|
//auskommentiert von Andreas Stadelmeier (a10023) LOFV.setType(TypePlaceholder.fresh());
|
||||||
@ -2105,7 +2105,7 @@ postfixexpression :primary
|
|||||||
$$ = INSTVA;
|
$$ = INSTVA;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
LocalOrFieldVar Postincexpr = new LocalOrFieldVar($1.getOffset(),$1.getVariableLength());
|
LocalOrFieldVarOrClassname Postincexpr = new LocalOrFieldVarOrClassname($1.getOffset(),$1.getVariableLength());
|
||||||
Postincexpr.set_UsedId($1);
|
Postincexpr.set_UsedId($1);
|
||||||
//auskommentiert von Andreas Stadelmeier (a10023) Postincexpr.setType(TypePlaceholder.fresh());
|
//auskommentiert von Andreas Stadelmeier (a10023) Postincexpr.setType(TypePlaceholder.fresh());
|
||||||
$$=Postincexpr;
|
$$=Postincexpr;
|
||||||
|
Loading…
Reference in New Issue
Block a user