dregex.SynteticRegex.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dregex_2.11 Show documentation
Show all versions of dregex_2.11 Show documentation
Deterministic Regular Expression Engine
package dregex
import dregex.impl.Dfa
/**
* A regular expression that was generated by an operation between others (not parsing a string), so it lacks a
* literal expression or NFA.
*/
class SynteticRegex private[dregex] (val dfa: Dfa, val universe: Universe) extends Regex {
override def toString = s"[synthetic] (DFA states: ${dfa.stateCount})"
}