|
Scala 2.3.0
|
abstract
class
BaseBerrySethi
extends
java.lang.Object
with
scala.ScalaObject
Constructor Summary | |
def
this
|
Val Summary | |
final
|
val
emptySet
: scala.collection.immutable.Set[scala.Int]
|
abstract
|
val
lang
: scala.util.regexp.Base
|
Var Summary | |
protected
|
var
finalTag
: scala.Int
|
protected
|
var
finals
: scala.collection.immutable.TreeMap[scala.Int, scala.Int]
|
protected
|
var
follow
: scala.collection.mutable.HashMap[scala.Int, scala.collection.immutable.Set[scala.Int]]
|
protected
|
var
globalFirst
: scala.collection.immutable.Set[scala.Int]
|
protected
|
var
pos
: scala.Int
|
Def Summary | |
protected
|
def
compFirst
(r: BaseBerrySethi.this.lang.RegExp)
: scala.collection.immutable.Set[scala.Int]
computes first( r ) for the word regexp r |
protected
|
def
compFollow
(r: scala.Seq[BaseBerrySethi.this.lang.RegExp])
: scala.collection.immutable.Set[scala.Int]
Starts from the right-to-left precondition: pos is final pats are successor patterns of a Sequence node |
protected
|
def
compFollow1
(fol1: scala.collection.immutable.Set[scala.Int], r: BaseBerrySethi.this.lang.RegExp)
: scala.collection.immutable.Set[scala.Int]
returns the first set of an expression, setting the follow set along the way. |
protected
|
def
compLast
(r: BaseBerrySethi.this.lang.RegExp)
: scala.collection.immutable.Set[scala.Int]
computes last( r ) for the regexp r |
protected
|
def
traverse
(r: BaseBerrySethi.this.lang.RegExp)
: scala.Unit
returns "Sethi-length" of a pattern, creating the set of position along the way. |
Constructor Detail |
Val Detail |
final
val
emptySet
: scala.collection.immutable.Set[scala.Int]
abstract
val
lang
: scala.util.regexp.Base
Var Detail |
protected
var
finalTag
: scala.Int
protected
var
finals
: scala.collection.immutable.TreeMap[scala.Int, scala.Int]
protected
var
follow
: scala.collection.mutable.HashMap[scala.Int, scala.collection.immutable.Set[scala.Int]]
protected
var
globalFirst
: scala.collection.immutable.Set[scala.Int]
protected
var
pos
: scala.Int
Def Detail |
protected
def
compFirst
(r: BaseBerrySethi.this.lang.RegExp): scala.collection.immutable.Set[scala.Int]
protected
def
compFollow
(r: scala.Seq[BaseBerrySethi.this.lang.RegExp]): scala.collection.immutable.Set[scala.Int]
r -
...
protected
def
compFollow1
(fol1: scala.collection.immutable.Set[scala.Int], r: BaseBerrySethi.this.lang.RegExp): scala.collection.immutable.Set[scala.Int]
fol1 -
...
r -
...
protected
def
compLast
(r: BaseBerrySethi.this.lang.RegExp): scala.collection.immutable.Set[scala.Int]
protected
def
traverse
(r: BaseBerrySethi.this.lang.RegExp): scala.Unit
r -
...