scala.xml.dtd

object ContentModelParser

[source: scala/xml/dtd/ContentModelParser.scala]

object ContentModelParser
extends Scanner
Parser for regexps (content models in DTD element declarations)
Values and Variables inherited from Scanner
ENDCH, token, value
Values and Variables inherited from Tokens
TOKEN_PCDATA, NAME, LPAREN, RPAREN, COMMA, STAR, PLUS, OPT, CHOICE, END, S
Method Summary
def accept (tok : Int) : Unit
def atom : Letter
def choiceRest (p : RegExp) : Alt
def contentspec : ContentModel
def maybeSuffix (s : RegExp) : RegExp
def parse (s : String) : ContentModel
parses the argument to a regexp
def particle : RegExp
def regexp : RegExp
def sOpt : Unit
def seqRest (p : RegExp) : Sequ
Methods inherited from Scanner
initScanner, nextToken, isIdentChar, next, acc, accS, readToken, name
Methods inherited from TokenTests
isSpace, isSpace, isNameChar, isNameStart, isName, isPubIDChar, isValidIANAEncoding, checkSysID, checkPubID
Methods inherited from Tokens
token2string
Methods inherited from AnyRef
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Method Details
def parse(s : String) : ContentModel
parses the argument to a regexp

def accept(tok : Int) : Unit

def maybeSuffix(s : RegExp) : RegExp

def contentspec : ContentModel

def sOpt : Unit

def regexp : RegExp

def seqRest(p : RegExp) : Sequ

def choiceRest(p : RegExp) : Alt

def particle : RegExp

def atom : Letter