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.

}<br />

F.2. VISITOR MODULES<br />

i n f i n i t e L i s t T y p e E x p r . i_type_expr ( ) . accept ( this ) ;<br />

public void visitFiniteMapTypeExpr ( FiniteMapTypeExpr<br />

finiteMapTypeExpr ) {<br />

finiteMapTypeExpr . type_expr_dom ( ) . accept ( this ) ;<br />

finiteMapTypeExpr . type_expr_range ( ) . accept ( this ) ;<br />

}<br />

public void visitInfiniteMapTypeExpr ( InfiniteMapTypeExpr<br />

infiniteMapTypeExpr ) {<br />

infiniteMapTypeExpr . i_type_expr_dom ( ) . accept ( this ) ;<br />

infiniteMapTypeExpr . i_type_expr_range ( ) . accept ( this ) ;<br />

}<br />

public void visitTOTAL_FUNCTION_ARROW(TOTAL_FUNCTION_ARROW<br />

totalFunctionArrow ) {}<br />

public void visitPARTIAL_FUNCTION_ARROW(PARTIAL_FUNCTION_ARROW<br />

partialFunctionArrow ) {}<br />

public void v i s i t R e s u l t D e s c ( ResultDesc r e s u l t D e s c ) {<br />

r e s u l t D e s c . read_access_desc ( ) . accept ( this ) ;<br />

r e s u l t D e s c . write_access_desc ( ) . accept ( this ) ;<br />

r e s u l t D e s c . type_expr ( ) . accept ( this ) ;<br />

}<br />

public void visitReadAccessDesc ( ReadAccessDesc readAccessDesc ) {<br />

}<br />

for ( Access ac : readAccessDesc . a c c e s s _ l i s t ( ) . g e t L i s t ( ) ) {<br />

ac . accept ( this ) ;<br />

}<br />

public void visitNoReadAccessMode ( NoReadAccessMode<br />

noReadAccessMode ) {}<br />

public void v i s i t W r i t e A c c e s s D e s c ( WriteAccessDesc<br />

writeAccessDesc ) {<br />

for ( Access ac : writeAccessDesc . a c c e s s _ l i s t ( ) . g e t L i s t ( ) ) {<br />

ac . accept ( this ) ;<br />

}<br />

}<br />

public void visitNoWriteAccessMode ( NoWriteAccessMode<br />

noWriteAccessMode ) {}<br />

521

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

Saved successfully!

Ooh no, something went wrong!