Scala/Compiler: Parts of NFA/DFA