Returns string formatted according to given format string.
Returns string formatted according to given format string.
Format strings are as for String.format
(@see java.lang.String.format).
Scans a String (using a syntactic.lexical.Scanner), parses it using
phrase(parser), and prints the input and the parsed result to the
console.
Facilitates testing a given parser on various input strings.
Example use:
and
val parser = syntactic.term(If
MyParsersextends scala.util.parsing.combinator.syntactical.TokenParsers with a parser calledterm.)(Since version 2.10.0) This class will be removed