Class QuestionMarkForms
java.lang.Object
org.ek9lang.compiler.repair.QuestionMarkForms
- All Implemented Interfaces:
TextRule
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 aT?it was given, or a model doing the same): one?is meant. Only at the END of a declaration -a ?? belsewhere is E01096;total ?:= 0- "assign only if unset" with its two halves transposed: EK9 spells it:=?, and?:=is no token (the lexer reads Elvis?:then=). A declaration'sname as T?:= visQuestionMarkWithValue's.
-
Nested Class Summary
Nested classes/interfaces inherited from interface TextRule
TextRule.Rewrite -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(List<String> lines, SyntaxProbe.SyntaxError failure) The rewrite oflinesansweringfailure, or null.
-
Constructor Details
-
QuestionMarkForms
QuestionMarkForms()
-
-
Method Details