Movatterモバイル変換


[0]ホーム

URL:


Scala 3
3.7.4
LearnInstallPlaygroundFind A LibraryCommunityBlog
Scala 3
LearnInstallPlaygroundFind A LibraryCommunityBlog
DocsAPI
Generated with
Copyright (c) 2002-2025, LAMP/EPFL
Copyright (c) 2002-2025, LAMP/EPFL
Scala 3/scala/scala.quoted/Quotes/reflectModule/DefDefModule

DefDefModule

scala.quoted.Quotes.reflectModule.DefDefModule

Methods of the module objectval DefDef

Attributes

Source
Quotes.scala
Graph
Supertypes
classObject
traitMatchable
classAny
Self type
Quotes.this.reflectModule.this.DefDef.type

Members list

Value members

Abstract methods

Create a method definitiondef f[..](...) with the signature defined in the symbol.

Create a method definitiondef f[..](...) with the signature defined in the symbol.

TherhsFn is a function that receives references to its parameters, and should returnSome containing the implementation of the method, orNone if the method has no implementation. Any definition directly inside the implementation should havesymbol as owner.

UseSymbol.asQuotes to create the rhs using quoted code.

See also:Tree.changeOwner

Attributes

Source
Quotes.scala
defcopy(original:Quotes.this.reflectModule.this.Tree)(name:String,paramss:List[Quotes.this.reflectModule.this.ParamClause],tpt:Quotes.this.reflectModule.this.TypeTree,rhs:Option[Quotes.this.reflectModule.this.Term]):Quotes.this.reflectModule.this.DefDef

Attributes

Source
Quotes.scala
In this article
Generated with
Copyright (c) 2002-2025, LAMP/EPFL
Copyright (c) 2002-2025, LAMP/EPFL

[8]ページ先頭

©2009-2025 Movatter.jp