Statement

oxygen.quoted.Statement
See theStatement companion object
sealed trait Statement extends Tree

Attributes

Companion
object
Graph
Supertypes
trait Tree
class Object
trait Matchable
class Any
Known subtypes
trait Definition
class ClassDef
class TypeDef
trait ValOrDefDef
class DefDef
class ValDef
class Export
class Import
trait Term
class Apply
class Assign
class Block
class Closure
class If
class Inlined
class Literal
class Match
class NamedArg
class New
trait Ref
class Ident
class Select
class Repeated
class Return
class SelectOuter
class SummonFrom
class Super
class This
class Try
class TypeApply
class Typed
class While
Show all

Members list

Type members

Types

override type This <: Statement

Value members

Concrete methods

override def unwrapWithin(using newQuotes: Quotes): newQuotes.reflect.Statement

Attributes

Definition Classes

Inherited methods

final def asExpr: Expr[Any]

Convert this tree to an quoted.Expr[Any] if the tree is a valid expression or throws

Convert this tree to an quoted.Expr[Any] if the tree is a valid expression or throws

Attributes

Inherited from:
Tree
final def asExprOf[T](using Type[T]): Expr[T]

Convert this tree to an quoted.Expr[T] if the tree is a valid expression or throws

Convert this tree to an quoted.Expr[T] if the tree is a valid expression or throws

Attributes

Inherited from:
Tree
final def changeOwner(newOwner: Symbol): This

Changes the owner of the symbols in the tree

Changes the owner of the symbols in the tree

Attributes

Inherited from:
Tree
final def isExpr: Boolean

Does this tree represent a valid expression?

Does this tree represent a valid expression?

Attributes

Inherited from:
Tree
final def pos: Position

Position in the source code

Position in the source code

Attributes

Inherited from:
Tree
final def show(using printer: Printer[Tree]): String

Shows the tree as String

Shows the tree as String

Attributes

Inherited from:
Tree
final def symbol: Symbol

Symbol of defined or referred by this tree

Symbol of defined or referred by this tree

Attributes

Inherited from:
Tree

Abstract fields

override val unwrap: quotes.reflect.Statement

Inherited and Abstract fields

val quotes: Quotes

Attributes

Inherited from:
Tree

Givens

Inherited givens

given givenQuotes: quotes.type

Attributes

Inherited from:
Tree