io.eezo.core.Parser
See theParser companion object
How text from outside becomes a value of one Scala type, and what a missing text means for it.
It lives in core because more than forms read text. A form field and a configuration value are the same question, "is this text an Int", asked from two modules that cannot see each other, and answering it twice is how the two would come to disagree about what a number is. http's Field is composed over one of these and adds only what a browser input needs, so the reading itself has one home.
A message is shown to whoever typed the text, a form's user or an operator at boot, so it reads as a predicate about the value and never repeats the text: the text may be a secret.
Attributes
- Companion
- object
- Source
- Parser.scala
- Graph
-
- Supertypes
- Known subtypes
-
object given_Parser_Boolean
Members list
In this article