Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- EXPRESION::=EXPRESION:e1 OPE_ASIG COND:e2{://System.out.println(e1.getValue()+"+"+e2.getValue());:}
- |COND:e{:RESULT=e;:};
- OPE_ASIG::=igual
- |mas_igual
- |menos_igual
- |por_igual
- |div_igual
- |per_igual;
- COND::=OREXP:e{:RESULT=e;:};
- OREXP::=OREXP or_simbolo ANDEXP
- |ANDEXP:e{:RESULT=e;:};
- ANDEXP::=ANDEXP and_simbolo IGEXP
- |IGEXP:e{:RESULT=e;:};
- IGEXP::=IGEXP doble_igual CMP
- |IGEXP not_igual CMP
- |CMP:e{:RESULT=e;:};
- SIMBOLOS_COMPARAR::=mayor
- |menor
- |mayor_igual
- |menor_igual;
- CMP::=CMP SIMBOLOS_COMPARAR SUM
- |SUM:e{:RESULT=e;:};
- SUM::=SUM MAS_SIM MUL
- |MUL:e{:RESULT=e;:};
- MAS_SIM::= mas
- |menos;
- MUL::= MUL MUL_SIM UNARIO
- |UNARIO:e{:RESULT=e;
- :};
- MUL_SIM::=por
- |div
- |per;
- UNARIO::=not UNARIO
- |mas UNARIO
- |menos UNARIO
- |par_abre EXPRESION par_cierra
- |AUX:e{:
- System.out.println(e.toString());
- :};
- AUX::=phpid{::}
- |real{::}
- |entero:e{:
- token tok=new token();
- tok=e;
- RESULT= new token(e.getValue(),e.getX(),e.getY()):}
- |cadena{::}
- |ttrue{::}
- |tfalse{::}
- |tnull
- |tthis punto id
- |tthis FUNCALL
- |REQUEST
- |sphp flecha seleccion DBPAR ;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement