trait Function extends FunctionType with Product
- Annotations
- @astClass() @leafClass()
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Function
- FunctionType
- ParamFunctionType
- Function
- WithBody
- FunctionLikeType
- Type
- Tree
- Serializable
- Serializable
- Ast
- Adt
- InternalTree
- Product
- Equals
- AnyRef
- Any
Implicitly
- by ImplicitTree
- by XtensionTreesType
- by ImplicitTree
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Abstract Value Members
-
abstract
def
children: List[Tree]
- Definition Classes
- Tree
- abstract def copy(paramClause: FuncParamClause, res: Type): Function
- abstract def copy(params: List[Type] = this.params, res: Type = this.res): Function
-
abstract
def
origin: Origin
- Definition Classes
- Function → InternalTree
- Annotations
- @privateField()
-
abstract
def
paramClause: FuncParamClause
- Definition Classes
- Function → FunctionType → ParamFunctionType → Function
- Annotations
- @astField() @replacesFields( "4.6.0" , Type.this.FuncParamClause )
-
abstract
def
productArity: Int
- Definition Classes
- Product
-
abstract
def
productElement(n: Int): Any
- Definition Classes
- Product
-
abstract
def
productFields: List[String]
- Definition Classes
- InternalTree
-
abstract
def
res: Type
- Definition Classes
- Function → FunctionType → ParamFunctionType → FunctionLikeType
- Annotations
- @astField()
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (Function, B)
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
body: Tree
- Definition Classes
- ParamFunctionType → Function → WithBody
- final def canEqual(that: Any): Boolean
-
def
checkField(field: Tree, requirement: Boolean): Unit
- Attributes
- protected
- Definition Classes
- InternalTree
-
def
checkFields(x: Any): Unit
- Attributes
- protected
- Definition Classes
- InternalTree
-
def
checkParent(x: Any): Unit
- Attributes
- protected
- Definition Classes
- InternalTree
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def ensuring(cond: (Function) ⇒ Boolean, msg: ⇒ Any): Function
- def ensuring(cond: (Function) ⇒ Boolean): Function
- def ensuring(cond: Boolean, msg: ⇒ Any): Function
- def ensuring(cond: Boolean): Function
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def equals(that: Any): Boolean
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def hashCode(): Int
-
def
isConstructable: Boolean
- Implicit
- This member is added by an implicit conversion from Function to XtensionTreesType performed by method XtensionTreesType in scala.meta.internal.trees.
- Definition Classes
- XtensionTreesType
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
parent: Option[Tree]
- Definition Classes
- InternalTree
-
def
pos: Position
- Definition Classes
- InternalTree
-
def
printSyntaxFor(dialect: Dialect): String
- Definition Classes
- InternalTree
-
def
productIterator: Iterator[Any]
- Definition Classes
- Product
-
def
productPrefix: String
- Definition Classes
- Product
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
text: String
- Definition Classes
- InternalTree
- final def toString(): String
-
def
tokenizeFor(dialect: Dialect): Tokens
- Definition Classes
- InternalTree
-
def
tokens: Tokens
- Definition Classes
- InternalTree
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def →[B](y: B): (Function, B)
Shadowed Implicit Value Members
-
def
ancestor(level: Int): Option[Tree]
- Implicit
- This member is added by an implicit conversion from Function to ImplicitTree[Function] performed by method ImplicitTree in scala.meta.Tree.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(function: ImplicitTree[Function]).ancestor(level)
- Definition Classes
- ImplicitTree
-
def
ancestor(level: Int): Option[Tree]
- Implicit
- This member is added by an implicit conversion from Function to ImplicitTree[Function] performed by method ImplicitTree in scala.meta.Tree.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(function: ImplicitTree[Function]).ancestor(level)
- Definition Classes
- ImplicitTree
Deprecated Value Members
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from Function to StringFormat[Function] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)instead ofvalue.formatted(formatString), or use thef""string interpolator. In Java 15 and later,formattedresolves to the new method in String which has reversed parameters.
-
final
def
params: List[Type]
- Definition Classes
- Function → FunctionType
- Annotations
- @deprecated @replacedField( "4.6.0" , ... )
- Deprecated
4.6.0
-
final
def
tokens(dialect: Dialect): Tokens
- Definition Classes
- InternalTree
- Annotations
- @deprecated
- Deprecated
(Since version 4.9.0) dialect is ignored, use parameterless
tokensmethod