scala.util.parsing.combinator

trait RegexParsers

[source: scala/util/parsing/combinator/RegexParsers.scala]

trait RegexParsers
extends Parsers
Direct Known Subclasses:
JavaTokenParsers, RegexTest

Type Summary
type Elem
the type of input elements
Value Summary
protected val whiteSpace : Regex
Values and Variables inherited from Parsers
lastNoSuccess
Method Summary
protected def handleWhiteSpace (source : java.lang.CharSequence, offset : Int) : Int
implicit def literal (s : java.lang.String) : Parser[java.lang.String]
A parser that matches a literal string
def parse [T](p : Parser[T], in : java.io.Reader) : ParseResult[T]
Parse some prefix of reader `in' with parser `p'
def parse [T](p : Parser[T], in : Reader[Char]) : ParseResult[T]
Parse some prefix of reader `in' with parser `p'
def parse [T](p : Parser[T], in : java.lang.CharSequence) : ParseResult[T]
Parse some prefix of character sequence `in' with parser `p'
def parseAll [T](p : Parser[T], in : Reader[Char]) : ParseResult[T]
Parse all of reader `in' with parser `p'
def parseAll [T](p : Parser[T], in : java.io.Reader) : ParseResult[T]
Parse all of reader `in' with parser `p'
def parseAll [T](p : Parser[T], in : java.lang.CharSequence) : ParseResult[T]
Parse all of character sequence `in' with parser `p'
implicit def regex (r : Regex) : Parser[java.lang.String]
A parser that matches a regex string
def skipWhitespace : Boolean
Methods inherited from Parsers
Parser, OnceParser, commit, elem, elem, accept, accept, accept, acceptIf, acceptMatch, acceptSeq, failure, err, success, log, rep, repsep, rep1, rep1, repN, rep1sep, chainl1, chainl1, chainr1, opt, not, positioned, phrase, mkList
Methods inherited from AnyRef
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Type Details
type Elem
the type of input elements

Value Details
protected val whiteSpace : Regex

Method Details
def skipWhitespace : Boolean

protected def handleWhiteSpace(source : java.lang.CharSequence, offset : Int) : Int

implicit def literal(s : java.lang.String) : Parser[java.lang.String]
A parser that matches a literal string

implicit def regex(r : Regex) : Parser[java.lang.String]
A parser that matches a regex string

def parse[T](p : Parser[T], in : Reader[Char]) : ParseResult[T]
Parse some prefix of reader `in' with parser `p'

def parse[T](p : Parser[T], in : java.lang.CharSequence) : ParseResult[T]
Parse some prefix of character sequence `in' with parser `p'

def parse[T](p : Parser[T], in : java.io.Reader) : ParseResult[T]
Parse some prefix of reader `in' with parser `p'

def parseAll[T](p : Parser[T], in : Reader[Char]) : ParseResult[T]
Parse all of reader `in' with parser `p'

def parseAll[T](p : Parser[T], in : java.io.Reader) : ParseResult[T]
Parse all of reader `in' with parser `p'

def parseAll[T](p : Parser[T], in : java.lang.CharSequence) : ParseResult[T]
Parse all of character sequence `in' with parser `p'