File | implode.str |
Author | unknown |
Since | unknown |
Implosion of AsFix to an AST.
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 | ||||||||||||
Replace applications by application of sort symbol |
|||||||||||||
ATerm | asfix-flat-alt | ||||||||||||
Flatten Alternatives: appl(alt(a,alt(b,alt(c,d))),[d]) -> alt(4,d) |
|||||||||||||
ATerm | asfix-flat-injections | ||||||||||||
Flatten injections in a parse tree |
|||||||||||||
ATerm | asfix-flat-lex | ||||||||||||
Flatten lexical sub trees in the parse tree |
|||||||||||||
ATerm | asfix-flat-list | ||||||||||||
Flatten list constructs |
|||||||||||||
ATerm | asfix-remove-layout | ||||||||||||
Remove layout nodes from the parse tree |
|||||||||||||
ATerm | asfix-remove-lit | ||||||||||||
Remove literal nodes from the parse tree |
|||||||||||||
ATerm | asfix-remove-seq | ||||||||||||
Replace sequence by tuples |
|||||||||||||
ATerm | asfix-replace-appl | ||||||||||||
Replace appl nodes with their cons attribute if available. |
|||||||||||||
ATerm | implode-asfix(Strategy implode-concrete) | ||||||||||||
No information available. |
|||||||||||||
ATerm | implode-parsetree | ||||||||||||
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. |
|||||||||||||