|
9 | 9 | import com.jcabi.xml.XMLDocument; |
10 | 10 | import com.yegor256.xsline.Shift; |
11 | 11 | import com.yegor256.xsline.TrClasspath; |
| 12 | +import com.yegor256.xsline.TrDefault; |
| 13 | +import com.yegor256.xsline.TrJoined; |
12 | 14 | import com.yegor256.xsline.Train; |
13 | 15 | import com.yegor256.xsline.Xsline; |
14 | 16 | import java.io.IOException; |
@@ -78,22 +80,25 @@ public final class EoSyntax implements Syntax { |
78 | 80 | */ |
79 | 81 | private static final Function<XML, XML> CANONICAL = new Xsline( |
80 | 82 | new TrFull( |
81 | | - new TrClasspath<>( |
82 | | - "/org/eolang/parser/parse/move-voids-up.xsl", |
83 | | - "/org/eolang/parser/parse/validate-before-stars.xsl", |
84 | | - "/org/eolang/parser/parse/resolve-before-stars.xsl", |
85 | | - "/org/eolang/parser/parse/wrap-method-calls.xsl", |
86 | | - "/org/eolang/parser/parse/const-to-dataized.xsl", |
87 | | - "/org/eolang/parser/parse/stars-to-tuples.xsl", |
88 | | - "/org/eolang/parser/parse/vars-float-up.xsl", |
89 | | - "/org/eolang/parser/parse/build-fqns.xsl", |
90 | | - "/org/eolang/parser/parse/expand-qqs.xsl", |
91 | | - "/org/eolang/parser/parse/expand-aliases.xsl", |
92 | | - "/org/eolang/parser/parse/resolve-aliases.xsl", |
93 | | - "/org/eolang/parser/parse/add-default-package.xsl", |
94 | | - "/org/eolang/parser/parse/explicit-data.xsl", |
95 | | - "/org/eolang/parser/parse/roll-bases.xsl" |
96 | | - ).back() |
| 83 | + new TrJoined<>( |
| 84 | + new TrClasspath<>( |
| 85 | + "/org/eolang/parser/parse/move-voids-up.xsl", |
| 86 | + "/org/eolang/parser/parse/validate-before-stars.xsl", |
| 87 | + "/org/eolang/parser/parse/resolve-before-stars.xsl", |
| 88 | + "/org/eolang/parser/parse/wrap-method-calls.xsl", |
| 89 | + "/org/eolang/parser/parse/const-to-dataized.xsl", |
| 90 | + "/org/eolang/parser/parse/stars-to-tuples.xsl", |
| 91 | + "/org/eolang/parser/parse/vars-float-up.xsl", |
| 92 | + "/org/eolang/parser/parse/build-fqns.xsl", |
| 93 | + "/org/eolang/parser/parse/expand-qqs.xsl", |
| 94 | + "/org/eolang/parser/parse/expand-aliases.xsl", |
| 95 | + "/org/eolang/parser/parse/resolve-aliases.xsl", |
| 96 | + "/org/eolang/parser/parse/add-default-package.xsl", |
| 97 | + "/org/eolang/parser/parse/explicit-data.xsl", |
| 98 | + "/org/eolang/parser/parse/roll-bases.xsl" |
| 99 | + ).back(), |
| 100 | + new TrDefault<>(new StHex()) |
| 101 | + ) |
97 | 102 | ) |
98 | 103 | )::pass; |
99 | 104 |
|
|
0 commit comments