HugoTranslatorState

com.reactific.riddl.hugo.HugoTranslatorState
case class HugoTranslatorState(result: PassesResult, options: Options, commonOptions: CommonOptions, logger: Logger) extends TranslatingState[MarkdownWriter]

The processing state for the Hugo Translator

Value parameters

commonOptions

The common options all commands use

options

The options specific to Hugo Translator

root

RootContainer that was parsed

symbolTable

A symbolTable for the names of things

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def addFile(parents: Seq[String], fileName: String): MarkdownWriter
def close(root: RootContainer): Seq[Path]
def makeFilePath(definition: Definition): Option[String]

Generate a string that is the file path portion of a url including the line number.

Generate a string that is the file path portion of a url including the line number.

Attributes

def makeFullName(definition: Definition): String
def pathRelativeToRepo(path: Path): Option[String]

Inherited methods

def addDir(name: String): Path

Attributes

Inherited from:
TranslatingState

Attributes

Inherited from:
TranslatingState
def close: Seq[Path]

Attributes

Inherited from:
TranslatingState
def generatedFiles: Seq[Path]

Attributes

Inherited from:
TranslatingState
def parentDirs: Path

Attributes

Inherited from:
TranslatingState

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Concrete fields

final val refMap: ReferenceMap
final val root: RootContainer

Inherited fields

val dirs: Stack[Path]

Attributes

Inherited from:
TranslatingState

Attributes

Inherited from:
TranslatingState