Class DefaultOperatorLast
java.lang.Object
org.ek9lang.compiler.repair.DefaultOperatorLast
E01086 - a bare
default operator with something after it in the body. The grammar fixes its place: an
aggregate's body is properties, methods, operators, then at most one bare default operator as the LAST
item (aggregateParts). Moving the line to the end of its body is therefore the only reading; what the
body holds is untouched. Measured: 5 of the 9 Q and A quads that do not parse, and 24 harness events.-
Method Summary
Modifier and TypeMethodDescription(package private) static TextRule.Rewriteapply(List<String> lines, SyntaxProbe.SyntaxError failure)
-
Method Details
-
apply
-