Uses of Record Class
org.ek9lang.compiler.repair.TextRule.Rewrite
Packages that use TextRule.Rewrite
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.Rewrite in org.ek9lang.compiler.repair
Methods in org.ek9lang.compiler.repair that return TextRule.RewriteModifier and TypeMethodDescription(package private) static TextRule.RewriteDefaultOperatorLast.apply(List<String> lines, SyntaxProbe.SyntaxError failure) (package private) static TextRule.RewriteDefinesPlacement.apply(List<String> lines, SyntaxProbe.SyntaxError failure) (package private) static TextRule.RewriteDirectiveAfterDeclaration.apply(List<String> lines, SyntaxProbe.SyntaxError failure) (package private) static TextRule.RewriteOperatorDeclarationForm.apply(List<String> lines, SyntaxProbe.SyntaxError failure) (package private) static TextRule.RewriteQuestionMarkForms.apply(List<String> lines, SyntaxProbe.SyntaxError failure) TextRule.apply(List<String> lines, SyntaxProbe.SyntaxError failure) The rewrite oflinesansweringfailure, or null.(package private) static TextRule.RewriteTrailingBracket.apply(List<String> lines, SyntaxProbe.SyntaxError failure) The text rule: the line the parser stopped on, when the parser stopped on its trailing bracket.(package private) static TextRule.RewriteForeignSyntax.blockComment(List<String> lines, SyntaxProbe.SyntaxError failure) A C block comment (slash-star ...(package private) static TextRule.RewriteUnclosedBacktickString.closedOnALine(List<String> lines, SyntaxProbe.SyntaxError failure) The text rule for a WHOLE source, whatever the parser said: the first line, at or before the failure, whose backtick String is still open at its end and holds exactly one"after the backtick - closed there.(package private) static TextRule.RewriteParameterDeclarations.commaSeparated(List<String> lines, SyntaxProbe.SyntaxError failure) -> a as Integer, b as String- one parameter per line under a bare->.(package private) static TextRule.RewriteForeignSyntax.genericType(List<String> lines, SyntaxProbe.SyntaxError failure) List<String>()-List() of String;as List<String>-as List of String.(package private) static TextRule.RewriteForeignSyntax.hashComment(List<String> lines, SyntaxProbe.SyntaxError failure) # note-// note.(package private) static TextRule.RewriteParameterDeclarations.inParentheses(List<String> lines, SyntaxProbe.SyntaxError failure) add(name as String) as pure- the parameters moved under->, the parentheses left empty.(package private) static TextRule.RewriteForeignSyntax.logicalOperators(List<String> lines, SyntaxProbe.SyntaxError failure) a && b/a || b-a and b/a or b.(package private) static TextRule.RewriteForeignSyntax.trailingColon(List<String> lines, SyntaxProbe.SyntaxError failure) if total > 1:- the trailing colon dropped.