scala / 3.1 / scala / quoted / quotes$reflectmodule$typedortestmodule.html

Trait scala.quoted.TypedOrTestModule

@since("3.1")

Methods of the module object val TypedOrTest

Supertypes
Self type

Abstract methods

Source
def apply(expr: Tree, tpt: TypeTree): TypedOrTest

Create a type ascription <x: Tree>: <tpt: TypeTree>

Source
def copy(original: Tree)(expr: Tree, tpt: TypeTree): TypedOrTest

Source

Matches <expr: Tree>: <tpt: TypeTree>

© 2002-2022 EPFL, with contributions from Lightbend.
Licensed under the Apache License, Version 2.0.
https://scala-lang.org/api/3.1.1/scala/quoted/Quotes$reflectModule$TypedOrTestModule.html