TranslatingState

com.ossuminc.riddl.passes.translate.TranslatingState

Base class for the state of a TranslatingState so it can do its work. This class just takes care of managing the output files.

Type parameters

OF

The type of the OutputFile that should be used to do the translation.

Attributes

Source
TranslatingState.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class HugoPass

Members list

Value members

Abstract methods

Concrete methods

def addDir(name: String): Path

Attributes

Source
TranslatingState.scala
def addFile(file: OF): this.type

Attributes

Source
TranslatingState.scala
def generatedFiles: Seq[Path]

Attributes

Source
TranslatingState.scala
def parentDirs: Path

Attributes

Source
TranslatingState.scala

Concrete fields

val dirs: Stack[Path]

Attributes

Source
TranslatingState.scala
val files: ListBuffer[OF]

Attributes

Source
TranslatingState.scala