Translator

scala.xml.dtd.ContentModel.Translator
See theTranslator companion object
trait Translator

Attributes

Companion
object
Deprecated
[Since version 2.10]
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Translator

Members list

Value members

Inherited methods

def automatonFrom(pat: lang.RegExp, finalTag: Int): NondetWordAutom[this.lang._labelT]

Attributes

Inherited from:
WordBerrySethi (hidden)
protected def collectTransitions(): Unit

Attributes

Inherited from:
WordBerrySethi (hidden)
override protected def compFirst(r: lang.RegExp): Set[Int]

Computes first(r) where the word regexp r.

Computes first(r) where the word regexp r.

Value parameters

r

the regular expression

Attributes

Returns

the computed set first(r)

Definition Classes
WordBerrySethi -> BaseBerrySethi
Inherited from:
WordBerrySethi (hidden)
protected def compFollow(rs: Seq[lang.RegExp]): Set[Int]

Starts from the right-to-left precondition: pos is final pats are successor patterns of a Sequence node

Starts from the right-to-left precondition: pos is final pats are successor patterns of a Sequence node

Attributes

Inherited from:
BaseBerrySethi (hidden)
override protected def compFollow1(fol1: Set[Int], r: lang.RegExp): Set[Int]

Returns the first set of an expression, setting the follow set along the way.

Returns the first set of an expression, setting the follow set along the way.

Value parameters

r

the regular expression

Attributes

Returns

the computed set

Definition Classes
WordBerrySethi -> BaseBerrySethi
Inherited from:
WordBerrySethi (hidden)
override protected def compLast(r: lang.RegExp): Set[Int]

Computes last(r) where the word regexp r.

Computes last(r) where the word regexp r.

Value parameters

r

the regular expression

Attributes

Returns

the computed set last(r)

Definition Classes
WordBerrySethi -> BaseBerrySethi
Inherited from:
WordBerrySethi (hidden)
protected def initialize(subexpr: Seq[lang.RegExp]): Unit

Attributes

Inherited from:
WordBerrySethi (hidden)
protected def initializeAutom(): Unit

Attributes

Inherited from:
WordBerrySethi (hidden)
protected def makeTransition(src: Int, dest: Int, label: lang._labelT): Unit

Attributes

Inherited from:
WordBerrySethi (hidden)
protected def seenLabel(r: lang.RegExp, label: lang._labelT): Int

Attributes

Inherited from:
WordBerrySethi (hidden)
protected def seenLabel(r: lang.RegExp, i: Int, label: lang._labelT): Unit

Called at the leaves of the regexp

Called at the leaves of the regexp

Attributes

Inherited from:
WordBerrySethi (hidden)
override def traverse(r: lang.RegExp): Unit

Returns the "Sethi-length" of a pattern, creating the set of position along the way.

Returns the "Sethi-length" of a pattern, creating the set of position along the way.

Attributes

Definition Classes
WordBerrySethi -> BaseBerrySethi
Inherited from:
WordBerrySethi (hidden)

Inherited fields

protected var defaultq: Array[List[Int]]

Attributes

Inherited from:
WordBerrySethi (hidden)
protected var deltaq: Array[HashMap[lang._labelT, List[Int]]]

Attributes

Inherited from:
WordBerrySethi (hidden)
final val emptySet: Set[Int]

Attributes

Inherited from:
BaseBerrySethi (hidden)
protected var finalTag: Int

Attributes

Inherited from:
BaseBerrySethi (hidden)
protected var finals: Map[Int, Int]

Attributes

Inherited from:
BaseBerrySethi (hidden)
protected var follow: HashMap[Int, Set[Int]]

Attributes

Inherited from:
BaseBerrySethi (hidden)
protected var initials: Set[Int]

Attributes

Inherited from:
WordBerrySethi (hidden)
protected var labelAt: Map[Int, lang._labelT]

Attributes

Inherited from:
WordBerrySethi (hidden)
protected var labels: HashSet[lang._labelT]

Attributes

Inherited from:
WordBerrySethi (hidden)
override val lang: WordExp

Attributes

Inherited from:
WordBerrySethi (hidden)
protected var pos: Int

Attributes

Inherited from:
BaseBerrySethi (hidden)