HasStatements

io.github.iltotore.iron.macros.ReflectUtil.DecodingFailure.HasStatements
final case class HasStatements(block: _quotes.reflect.Block)

The block has possibly side-effecting statements.

Value parameters

block

the block containing statements

Attributes

Source
ReflectUtil.scala

Members list

Value members

Inherited methods

def prettyPrint(bodyIdent: Int, firstLineIdent: Int)(using _quotes.reflect.Printer[_quotes.reflect.Tree]): String

Pretty print this failure.

Pretty print this failure.

Value parameters

bodyIdent

the identation of the 2nd+ lines

firstLineIdent

the identation of the first line

Attributes

Returns

a pretty-formatted String representation of this failure

Inherited from:
DecodingFailure
Source
ReflectUtil.scala
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product