Class DirectiveAfterDeclaration
java.lang.Object
org.ek9lang.compiler.repair.DirectiveAfterDeclaration
Main() @Test - an annotation written after the declaration it marks, Java-and-Kotlin style. In EK9 a
directive (@Test, @Test: group) is a line of its own BEFORE the declaration, at the same indent
(directive? methodDeclaration in the grammar), so moving it to the line above is the only reading. A
directive followed by anything else (a requirement String, @Test "REQ:x") is left alone.-
Method Summary
Modifier and TypeMethodDescription(package private) static TextRule.Rewriteapply(List<String> lines, SyntaxProbe.SyntaxError failure)
-
Method Details
-
apply
-