package pretty
- Source
- package.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- pretty
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- implicit def FieldPretty(implicit E: Pretty[Expr]): Pretty[Field]
- implicit def InstPretty(implicit E: Pretty[Expr]): Pretty[Inst]
- implicit def ModulePretty(implicit E: Pretty[Expr]): Pretty[Module]
- def binop(op: Inst, d1: Doc, d2: Doc)(implicit E: Pretty[Expr]): Doc
- def fold(fst: Doc, rest: Doc): Doc
- def foldedblock(b: Block)(implicit E: Pretty[Expr]): Doc
- def foldedif(i: If, cond: Doc)(implicit E: Pretty[Expr]): Doc
- def foldedloop(l: Loop)(implicit E: Pretty[Expr]): Doc
- def unop(op: Inst, d: Doc)(implicit E: Pretty[Expr]): Doc
- implicit object BytePretty extends Pretty[Byte]
- implicit object ElemTypePretty extends Pretty[ElemType]
- implicit object ExportDescPretty extends Pretty[ExportDesc]
- implicit object GlobalTypePretty extends Pretty[GlobalType]
- implicit object IdPretty extends Pretty[Id]
- implicit object ImportDescPretty extends Pretty[ImportDesc]
- implicit object IndexPretty extends Pretty[Index]
- implicit object LimitsPretty extends Pretty[Limits]
- implicit object LocalPretty extends Pretty[Local]
- implicit object MemTypePretty extends Pretty[MemType]
- implicit object ResultTypePretty extends Pretty[ResultType]
- implicit object TableTypePretty extends Pretty[TableType]
- implicit object TypeUsePretty extends Pretty[TypeUse]
- implicit object ValTypePretty extends Pretty[ValType]
- object simple
Simple expression rendering with not folding at all.
- object untyped
Untyped folded-like pretty printing.
Untyped folded-like pretty printing. Unary and binary operators are represented folded, as well as for if and for. However, function calls are not and this may result in some weird-looking, albeit correct, rendering.