Uses of Interface
org.ek9lang.compiler.repair.TextRule

Packages that use TextRule
Package
Description
THE automatic source repairs - one engine for every door (ek9 -ff, ek9_format, the MCP editors, ek9_write_file, ek9_edit_file, ek9_compile).
  • Uses of TextRule in org.ek9lang.compiler.repair

    Classes in org.ek9lang.compiler.repair that implement TextRule
    Modifier and Type
    Class
    Description
    (package private) final class 
    Parameters declared the way other languages declare them (was ParameterDeclarations.commaSeparated): -> a as Integer, b as String - several parameters on one -> line.
    (package private) final class 
    E01086 - a bare default operator with something after it in the body.
    (package private) final class 
    A defines <block> line (class, function, program, ...) at any indent but two.
    (package private) final class 
    Main() @Test - an annotation written after the declaration it marks, Java-and-Kotlin style.
    (package private) final class 
    A foreign spelling (was ForeignSyntax.trailingColon): a trailing : on a control line (if x:, else:, while x:) - Python's block colon; EK9 blocks are opened by indentation alone.
    (package private) final class 
    A foreign spelling (was ForeignSyntax.blockComment): a C block comment (slash-star ...
    (package private) final class 
    A foreign spelling (was ForeignSyntax.genericType): List<String>() / as List<String> / Dict<K, V> - EK9's List() of String / List of String / Dict of (K, V).
    (package private) final class 
    A foreign spelling (was ForeignSyntax.hashComment): a # note comment line - EK9's // note.
    (package private) final class 
    A foreign spelling (was ForeignSyntax.logicalOperators): a && b / a || b - EK9's a and b / a or b.
    (package private) final class 
    An operator declaration written in another order than the grammar's [override|default] operator <symbol> [as] [pure] [abstract] (operatorDeclaration).
    (package private) final class 
    Parameters declared the way other languages declare them (was ParameterDeclarations.inParentheses): add(name as String) / label(first: String, last: String) - Java's parameter list on a DECLARATION line.
    (package private) final class 
    The two ? spellings beside QuestionMarkWithValue's Type?: value that never parse: <- rtn as String?? - a declaration's ? written twice (a tool rendering '<- rtn as T?' around a T? it was given, or a model doing the same): one ? is meant.