Translator

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

Attributes

Companion
trait
Graph
Supertypes
trait Translator
class Object
trait Matchable
class Any
Self type
Translator.type

Members list

Value members

Inherited methods

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

Attributes

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

Attributes

Inherited from:
WordBerrySethi (hidden)
override protected def compFirst(r: 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[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: 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: 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[RegExp]): Unit

Attributes

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

Attributes

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

Attributes

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

Attributes

Inherited from:
WordBerrySethi (hidden)
protected def seenLabel(r: RegExp, i: Int, label: _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: 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)

Concrete fields

override val lang: ContentModel.type.this.type

Inherited fields

protected var defaultq: Array[List[Int]]

Attributes

Inherited from:
WordBerrySethi (hidden)
protected var deltaq: Array[HashMap[_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, _labelT]

Attributes

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

Attributes

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

Attributes

Inherited from:
BaseBerrySethi (hidden)