CommentedText

class Object
trait Matchable
class Any

Value members

Concrete methods

def braces[A](p: => Parser[A]): Parser[A]

Turns a parser into one that consumes surrounding curly braces {}

Turns a parser into one that consumes surrounding curly braces {}

def comment: Parser[Unit]

Parser that consumes a comment

Parser that consumes a comment

def parens[A](p: => Parser[A]): Parser[A]

Turns a parser into one that consumes surrounding parentheses ()

Turns a parser into one that consumes surrounding parentheses ()

def skipWhitespace: Parser[Unit]
def squareBrackets[A](p: => Parser[A]): Parser[A]

Turns a parser into one that consumes surrounding square brackets []

Turns a parser into one that consumes surrounding square brackets []

def token[A](p: Parser[A]): Parser[A]

Turns a parser into one that skips trailing whitespace and comments

Turns a parser into one that skips trailing whitespace and comments