org.encalmo.utils

Members list

Type members

Classlikes

object AsciiTree

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
AsciiTree.type
object DrawTypeTree

Draw the tree of a type as a string.

Draw the tree of a type as a string.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
case class DrawTypeTreeMacroContext(buffer: Buffer[(Int, String)], indent: Int, fieldName: Option[String])

Attributes

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

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
class Hashcode

A hashcode is a 32-bit integer used to uniquely identify an object during program execution.

A hashcode is a 32-bit integer used to uniquely identify an object during program execution.

Attributes

Supertypes
class Object
trait Matchable
class Any

Compute the internal structure hashcode of a type for a deep comparison if two types have the same fields and types.

Compute the internal structure hashcode of a type for a deep comparison if two types have the same fields and types.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

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

Instance of this trait visits the structure (tree) of some Scala type without using the value term.

Instance of this trait visits the structure (tree) of some Scala type without using the value term.

Attributes

See also
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Simplified version of TypeTreeVisitor leaving only seven methods to be implemented.

Simplified version of TypeTreeVisitor leaving only seven methods to be implemented.

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes

Compute the structural runtime hashcode of a value. It will take into account structure and actual types of the nested values in runtime but not the values themselves.

Compute the structural runtime hashcode of a value. It will take into account structure and actual types of the nested values in runtime but not the values themselves.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object TagName

Attributes

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

Iterator over the structure (tree) of some Scala type and value. Uses TypeTreeVisitor instance to visit the tree.

Iterator over the structure (tree) of some Scala type and value. Uses TypeTreeVisitor instance to visit the tree.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Iterates over the structure (tree) of some Scala type without using the value term, just the type. Uses TypeTreeTermlessVisitor instance to call custom logic for each node in the tree.

Iterates over the structure (tree) of some Scala type without using the value term, just the type. Uses TypeTreeTermlessVisitor instance to call custom logic for each node in the tree.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Instance of this trait visits the structure (tree) of some Scala type without using the value term

Instance of this trait visits the structure (tree) of some Scala type without using the value term

Attributes

See also
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Instance of this trait visits the structure (tree) of some Scala type and value

Instance of this trait visits the structure (tree) of some Scala type and value

Attributes

See also
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Types

type DynamicTagName = (cache: StatementsCache) ?=> cache.quotes.reflect.Term

Extensions

Extensions

extension (tagName: TagName)
def resolve(using cache: StatementsCache): cache.quotes.reflect.Term
def show(using cache: StatementsCache): String
extension (tagNameCandidate: Option[TagName])
def resolve(using cache: StatementsCache): cache.quotes.reflect.Term
def show(using cache: StatementsCache): String