We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f26466 commit 4a40500Copy full SHA for 4a40500
readme/WritingParsers.scalatex
@@ -22,10 +22,10 @@
22
@p
23
The @code{P(...)} lets you write mutually recursive parsers, without
24
running into circular initialization problems, and gives the parser a
25
- nice, human-readable name (from the @hl.scala{val}
+ nice, human-readable name (from the @hl.scala{def}
26
it is being assigned to) which appears in parse error messages.
27
In general, every time you assign a parser
28
- to a @hl.scala{val}, you should wrap it in @code{P(...)}.
+ to a @hl.scala{def}, you should wrap it in @code{P(...)}.
29
30
@sect{Failures}
31
@hl.ref(tests/"ExampleTests.scala", Seq("'failures", ""))
0 commit comments