Class Summary | |
trait
|
BindingParsers
extends Parsers with Binders
This component augments the generic parsers with support for variable binding.
Use
For example, here's how you'd write a parser ( "val" ~! bind(name, b) ~ ":" ~ typeP ~ "=" ~ term ~ "in" ~ in(term, b),
This can be read as ``The parser that matches
The result of this parser is a nested tuple of depth 3, containing a
Type, a
newScope[Name] into { b => p }
Finally, |
trait
|
StdTokenParsers
extends TokenParsers
This component provides primitive parsers for the standard tokens defined in `StdTokens'.
|
trait
|
TokenParsers
extends Parsers
This is the core component for token-based parsers. @requires lexical a component providing the tokens consumed by the parsers in this component. |