scala.xml.dtd
class Scanner

[source: `scala/xml/dtd/Scanner.scala`]

`` `class` Scanner
  `extends` Tokens `with` TokenTests

  Scanner for regexps (content models in DTD element declarations) todo: cleanup

Direct Known Subclasses:
  ContentModelParser

Value Summary
`final val` | ENDCH : Char = '\00'
`var` | token : Int
`var` | value : String

Values and Variables inherited from Tokens
TOKEN_PCDATA, NAME, LPAREN, RPAREN, COMMA, STAR, PLUS, OPT, CHOICE, END, S

Method Summary
`final def` | acc (d : Char) : Unit
`final def` | accS (ds : Seq[Char]) : Unit
`final def` | initScanner (s : String) : Unit initializes the scanner on input s
`final def` | isIdentChar : Boolean
`final def` | name : Int
`final def` | next : Unit
`final def` | nextToken : Unit scans the next token
`final def` | readToken : Int

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

Value Details

`final` `val` ENDCH : Char

`` `var` token : Int

`` `var` value : String

Method Details

`final` `def` initScanner(s : String) : Unit

  initializes the scanner on input s

`final` `def` nextToken : Unit

  scans the next token

`final` `def` isIdentChar : Boolean

`final` `def` next : Unit

`final` `def` acc(d : Char) : Unit

`final` `def` accS(ds : Seq[Char]) : Unit

`final` `def` readToken : Int

`final` `def` name : Int