class ProgramFragment extends AnyRef
Represents a partially compiled TokenPattern.
Helps the compiler by keeping track of the input and output instructions of a partially compiled TokenPattern.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ProgramFragment
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def capture(name: String): ProgramFragment
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def greedyOptional: ProgramFragment
- def greedyPlus: ProgramFragment
-
def
greedyRange(from: Option[Int], to: Option[Int]): ProgramFragment
Returns a new ProgramFragment that matches the current fragment between
from
andto
times greedily. - def greedyStar: ProgramFragment
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val in: Inst
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def lazyOptional: ProgramFragment
- def lazyPlus: ProgramFragment
-
def
lazyRange(from: Option[Int], to: Option[Int]): ProgramFragment
Returns a new ProgramFragment that matches the current fragment between
from
andto
times lazily. - def lazyStar: ProgramFragment
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val out: List[Inst]
-
def
repeatPattern(n: Int): ProgramFragment
Repeats and concatenates the current fragment
n
times. -
def
setOut(inst: Inst): Unit
Connects a new instruction to the output instructions.
Connects a new instruction to the output instructions.
Calling this invalidates the ProgramFragment because the
out
sequence is no longer up to date. -
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )