PrintIR

org.finos.morphir.ir.printing.PrintIR
See thePrintIR companion object
case class PrintIR(detailLevel: DetailLevel, defaultWidth: Int) extends Walker

Attributes

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

Members list

Type members

Classlikes

object AstNode

Extractor for any MorphirIR we want to treat specially for naming/depth limiting. Returns a prefix used to clarify which nodes are which, for help with duplicate names.

Extractor for any MorphirIR we want to treat specially for naming/depth limiting. Returns a prefix used to clarify which nodes are which, for help with duplicate names.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
AstNode.type

Value members

Concrete methods

override def additionalHandlers: PartialFunction[Any, Tree]

Attributes

Definition Classes
Walker
def apply(x: Any, verbose: Boolean): Str
def fqnv(fqn: FQName): String
def simplifyName(full: String): String
def tokenize(x: Any): Iterator[Str]
def treeify(x: Any): Tree
override def treeify(x: Any, escapeUnicode: Boolean, showFieldNames: Boolean): Tree

Attributes

Definition Classes
Walker
def treeifyHelper(x: Any): Tree
def treeifyNoDepth(x: Any): Tree
def treeifyWithDepth(x: Any, depth: Int): Tree
def withDepth(depth: Int): PrintIR

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

val colorApplyPrefix: Attrs
val colorLiteral: Attrs
val defaultHeight: Int
val defaultIndent: Int
val escapeUnicode: Boolean
var verbose: Boolean

Inherited fields

val tuplePrefix: String

Attributes

Inherited from:
Walker