implode

File implode.str
Author unknown
Since unknown

Implosion of AsFix to an AST.




Statistics


General
Lines of code 120
Stratego
Module number 1 (100% documented)
Constructor number 0
Overlay number 0
Strategy number 13 (84% documented)
Rule number 0
DynamicRule number 0



Strategy summary


asfix-appl-to-sort Replace applications by application of sort symbol implode.str
asfix-flat-alt Flatten Alternatives: appl(alt(a,alt(b,alt(c,d))),[d]) -> alt(4,d) implode.str
asfix-flat-injections Flatten injections in a parse tree implode.str
asfix-flat-lex Flatten lexical sub trees in the parse tree implode.str
asfix-flat-list Flatten list constructs implode.str
asfix-remove-layout Remove layout nodes from the parse tree implode.str
asfix-remove-lit Remove literal nodes from the parse tree implode.str
asfix-remove-seq Replace sequence by tuples implode.str
asfix-replace-appl Replace appl nodes with their cons attribute if available implode.str
implode-asfix n/a implode.str
implode-asfix(Strategy implode-concrete) n/a implode.str
implode-asfix-skip-concrete-syntax n/a implode.str
implode-parsetree Implodes a slight variant of the asfix format, similar to the command-line implodePT tool implode.str



Strategy details


ATerm asfix-appl-to-sort
File implode.str
Author unknown
Since unknown
 

Replace applications by application of sort symbol



 
ATerm asfix-flat-alt
File implode.str
Author unknown
Since unknown
 

Flatten Alternatives: appl(alt(a,alt(b,alt(c,d))),[d]) -> alt(4,d)



 
ATerm asfix-flat-injections
File implode.str
Author unknown
Since unknown
 

Flatten injections in a parse tree



 
ATerm asfix-flat-lex
File implode.str
Author unknown
Since unknown
 

Flatten lexical sub trees in the parse tree



 
ATerm asfix-flat-list
File implode.str
Author unknown
Since unknown
 

Flatten list constructs



 
ATerm asfix-remove-layout
File implode.str
Author unknown
Since unknown
 

Remove layout nodes from the parse tree



 
ATerm asfix-remove-lit
File implode.str
Author unknown
Since unknown
 

Remove literal nodes from the parse tree



 
ATerm asfix-remove-seq
File implode.str
Author unknown
Since unknown
 

Replace sequence by tuples



 
ATerm asfix-replace-appl
File implode.str
Author unknown
Since unknown
 

Replace appl nodes with their cons attribute if available.



 
ATerm implode-asfix(Strategy implode-concrete)
File implode.str
Author unknown
Since unknown
 
Parameters
Strategy implode-concrete Succeed if concrete syntax must be imploded.

No information available.



 
ATerm implode-parsetree
File implode.str
Author unknown
Since unknown
 

Implodes a slight variant of the asfix format, similar tothe command-line implodePT tool. Don't use this imploder,unless you know you need it.