26.09.2013 Views

Transformation of Applicative Specifications into Imperative ...

Transformation of Applicative Specifications into Imperative ...

Transformation of Applicative Specifications into Imperative ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

APPENDIX F. SOURCE CODE<br />

public void visitOVERRIDE (OVERRIDE r s l _ o v e r r i d e ) {<br />

r e s u l t . append ( " ! ! " ) ;<br />

}<br />

public void visitCOMPOSITION(COMPOSITION rsl_composition ) {<br />

r e s u l t . append ( "#" ) ;<br />

}<br />

public void visitIMPLIES (IMPLIES i m p l i e s ) {<br />

r e s u l t . append ( "=>" ) ;<br />

}<br />

public void visitOR (OR or ) {<br />

r e s u l t . append ( " \ \ / " ) ;<br />

}<br />

public void visitAND (AND and ) {<br />

r e s u l t . append ( " / \ \ " ) ;<br />

}<br />

public void visitABS (ABS rsl_abs ) {<br />

r e s u l t . append ( " abs " ) ;<br />

}<br />

public void visitINTCAST (INTCAST r s l _ i n t c a s t ) {<br />

r e s u l t . append ( " i n t " ) ;<br />

}<br />

public void visitREALCAST (REALCAST r s l _ r e a l c a s t ) {<br />

r e s u l t . append ( " r e a l " ) ;<br />

}<br />

public void visitLEN (LEN r s l _ l e n ) {<br />

r e s u l t . append ( " l e n " ) ;<br />

}<br />

public void visitINDS (INDS r s l _ i n d s ) {<br />

r e s u l t . append ( " inds " ) ;<br />

}<br />

public void visitELEMS (ELEMS rsl_elems ) {<br />

r e s u l t . append ( " elems " ) ;<br />

}<br />

public void visitHD (HD rsl_hd ) {<br />

r e s u l t . append ( "hd " ) ;<br />

}<br />

public void visitTL (TL r s l _ t l ) {<br />

548

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!