Class OperatorDeclarationForm
java.lang.Object
org.ek9lang.compiler.repair.OperatorDeclarationForm
An operator declaration written in another order than the grammar's
[override|default] operator <symbol>
[as] [pure] [abstract] (operatorDeclaration). Three shapes, each with one reading:
operator $ override as pure- theoverridemoved to the front;operator$()/operator $()- an operator is declared without parentheses;default operator default operator ?- the duplicated prefix dropped.
OperatorMap knows is treated as an operator.-
Method Summary
Modifier and TypeMethodDescription(package private) static TextRule.Rewriteapply(List<String> lines, SyntaxProbe.SyntaxError failure)
-
Method Details
-
apply
-