MarkdownWriter

com.ossuminc.riddl.hugo.writers.MarkdownWriter

Base

Attributes

Source
MarkdownWriter.scala
Graph
Supertypes
trait ModuleWriter
trait SagaWriter
trait EpicWriter
trait EntityWriter
trait DomainWriter
trait ThemeWriter
trait OutputFile
trait FileBuilder
class Object
trait Matchable
class Any
Show all
Known subtypes

Members list

Value members

Abstract methods

Concrete methods

protected def emitAuthorInfo(authors: Seq[Author], level: Int): this.type

Attributes

Source
MarkdownWriter.scala
protected def emitDefDoc(definition: Definition, parents: Parents, level: Int): this.type

Attributes

Source
MarkdownWriter.scala
protected def emitFields(fields: Seq[Field]): Unit

Attributes

Source
MarkdownWriter.scala
protected def emitInlets(inlets: Seq[Inlet], parents: Parents): Unit

Attributes

Source
MarkdownWriter.scala

Attributes

Source
MarkdownWriter.scala
protected def emitInvariants(invariants: Seq[Invariant]): this.type

Attributes

Source
MarkdownWriter.scala
protected def emitOptions[OT <: OptionValue](options: Seq[OT], level: Int): this.type

Attributes

Source
MarkdownWriter.scala

Attributes

Source
MarkdownWriter.scala
protected def emitShortDefDoc(definition: Definition): this.type

Attributes

Source
MarkdownWriter.scala

Attributes

Source
MarkdownWriter.scala
protected def emitTypes(types: Seq[Type], parents: Parents, level: Int): Unit

Attributes

Source
MarkdownWriter.scala

Inherited methods

def add(str: String): FileBuilder.this.type

Append a string without indent or suffix

Append a string without indent or suffix

Value parameters

str

The string to append

Attributes

Returns

This object for call chaining

Inherited from:
FileBuilder
Source
FileBuilder.scala
def addIndent(line: String): FileBuilder.this.type

Append an indented line with newline at the end and a level width indent prefix.

Append an indented line with newline at the end and a level width indent prefix. The indent will be done with level * spaces-per-level space characters.

Value parameters

line

The text of the line to be indented

Attributes

Returns

This object for call chaining

Inherited from:
FileBuilder
Source
FileBuilder.scala
def addIndent(): FileBuilder.this.type

Add just the indent spaces

Add just the indent spaces

Attributes

Returns

This object for call chaining

Inherited from:
FileBuilder
Source
FileBuilder.scala
def addLine(line: String): FileBuilder.this.type

Append a line to the buffer with a terminating newline.

Append a line to the buffer with a terminating newline. No prefix is inserted

Value parameters

line

The line to be appended

Attributes

Returns

This object for call chaining

Inherited from:
FileBuilder
Source
FileBuilder.scala
def append(text: String): FileBuilder.this.type

Append a line to the buffer without newlines or indentation

Append a line to the buffer without newlines or indentation

Value parameters

text

The text to be appended

Attributes

Returns

This object for call chaining

Inherited from:
FileBuilder
Source
FileBuilder.scala

Attributes

Inherited from:
MarkdownBasics
Source
MarkdownBasics.scala
def clear(): Unit

Completely erase the internal buffer

Completely erase the internal buffer

Attributes

Inherited from:
FileBuilder
Source
FileBuilder.scala
def decr: FileBuilder.this.type

Decrement the indent by one level

Decrement the indent by one level

Attributes

Returns
Inherited from:
FileBuilder
Source
FileBuilder.scala

Attributes

Inherited from:
AdaptorWriter
Source
AdaptorWriter.scala

Attributes

Inherited from:
SummariesWriter
Source
SummariesWriter.scala

Attributes

Inherited from:
ContextWriter
Source
ContextWriter.scala

Attributes

Inherited from:
DomainWriter
Source
DomainWriter.scala

Attributes

Inherited from:
EntityWriter
Source
EntityWriter.scala

Attributes

Inherited from:
EpicWriter
Source
EpicWriter.scala

Attributes

Inherited from:
EntityWriter
Source
EntityWriter.scala

Attributes

Inherited from:
ModuleWriter
Source
ModuleWriter.scala

Attributes

Inherited from:
SagaWriter
Source
SagaWriter.scala

Attributes

Inherited from:
RepositoryWriter
Source
RepositoryWriter.scala

Attributes

Inherited from:
SummariesWriter
Source
SummariesWriter.scala

Attributes

Inherited from:
MarkdownBasics
Source
MarkdownBasics.scala

Attributes

Inherited from:
SummariesWriter
Source
SummariesWriter.scala

Attributes

Inherited from:
EpicWriter
Source
EpicWriter.scala
def emitUser(u: User, parents: Parents): EpicWriter.this.type

Attributes

Inherited from:
EpicWriter
Source
EpicWriter.scala

Attributes

Inherited from:
SummariesWriter
Source
SummariesWriter.scala
def h1(heading: String): MarkdownBasics.this.type

Attributes

Inherited from:
MarkdownBasics
Source
MarkdownBasics.scala
def h2(heading: String): MarkdownBasics.this.type

Attributes

Inherited from:
MarkdownBasics
Source
MarkdownBasics.scala
def h3(heading: String): MarkdownBasics.this.type

Attributes

Inherited from:
MarkdownBasics
Source
MarkdownBasics.scala
def h4(heading: String): MarkdownBasics.this.type

Attributes

Inherited from:
MarkdownBasics
Source
MarkdownBasics.scala
def h5(heading: String): MarkdownBasics.this.type

Attributes

Inherited from:
MarkdownBasics
Source
MarkdownBasics.scala
def h6(heading: String): MarkdownBasics.this.type

Attributes

Inherited from:
MarkdownBasics
Source
MarkdownBasics.scala

Attributes

Inherited from:
MarkdownBasics
Source
MarkdownBasics.scala
def incr: FileBuilder.this.type

Increment the indent by one level

Increment the indent by one level

Attributes

Returns
Inherited from:
FileBuilder
Source
FileBuilder.scala

Attributes

Inherited from:
MarkdownBasics
Source
MarkdownBasics.scala

Attributes

Inherited from:
MarkdownBasics
Source
MarkdownBasics.scala
def list[T](items: Seq[T]): Unit

Attributes

Inherited from:
MarkdownBasics
Source
MarkdownBasics.scala

Attributes

Inherited from:
MarkdownBasics
Source
MarkdownBasics.scala

Attributes

Inherited from:
MarkdownBasics
Source
MarkdownBasics.scala
def nl: FileBuilder.this.type

Append a newline character

Append a newline character

Attributes

Returns

This object for call chaining

Inherited from:
FileBuilder
Source
FileBuilder.scala
def p(paragraph: String): MarkdownBasics.this.type

Attributes

Inherited from:
MarkdownBasics
Source
MarkdownBasics.scala
protected def spc: String

The number of spaces at the current indent level

The number of spaces at the current indent level

Attributes

Inherited from:
FileBuilder
Source
FileBuilder.scala
protected def tbd(definition: Definition): Unit

Attributes

Inherited from:
MarkdownBasics
Source
MarkdownBasics.scala

Convert the buffer to a sequence of strings, one line per string

Convert the buffer to a sequence of strings, one line per string

Attributes

Returns
Inherited from:
FileBuilder
Source
FileBuilder.scala
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
FileBuilder -> Any
Inherited from:
FileBuilder
Source
FileBuilder.scala

Attributes

Inherited from:
MarkdownBasics
Source
MarkdownBasics.scala
def write(): Unit

Attributes

Inherited from:
OutputFile
Source
OutputFile.scala
def write(writer: PrintWriter): Unit

Attributes

Inherited from:
OutputFile
Source
OutputFile.scala

Inherited and Abstract methods

Attributes

Inherited from:
ThemeWriter
Source
ThemeWriter.scala

Attributes

Inherited from:
ThemeWriter
Source
ThemeWriter.scala

Attributes

Inherited from:
ThemeWriter
Source
ThemeWriter.scala

Attributes

Inherited from:
ThemeWriter
Source
ThemeWriter.scala
def filePath: Path

Attributes

Inherited from:
OutputFile
Source
OutputFile.scala

Attributes

Inherited from:
ThemeWriter
Source
ThemeWriter.scala

Attributes

Inherited from:
ThemeWriter
Source
ThemeWriter.scala

Attributes

Inherited from:
ThemeWriter
Source
ThemeWriter.scala

Inherited fields

protected val containerWeight: Int

Attributes

Inherited from:
MarkdownBasics
Source
MarkdownBasics.scala
protected val new_line: String

Attributes

Inherited from:
FileBuilder
Source
FileBuilder.scala
protected val spaces_per_level: Int

Attributes

Inherited from:
FileBuilder
Source
FileBuilder.scala