Attributes
- Companion
- object
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
The arguments (implicitly) passed to the method
The arguments (implicitly) passed to the method
The Apply
may be a partially applied method:
def f(x1: Int)(x2: Int) = ???
f(1)(2)
args
is(2)
in theApply
off(1)(2)
args
is(1)
in theApply
off(1)
Attributes
The fun
part of an (implicit) application like fun(args)
The fun
part of an (implicit) application like fun(args)
It may be a partially applied method:
def f(x1: Int)(x2: Int) = ???
f(1)(2)
fun
isf(1)
in theApply
off(1)(2)
fun
isf
in theApply
off(1)
Attributes
Inherited methods
An apply node with given arguments: tree(arg, args0, ..., argsN)
A unary apply node with given argument: tree(arg)
An apply node with given argument list tree(args(0), ..., args(args.length - 1))
An apply node with given argument list tree(args(0), ..., args(args.length - 1))
Attributes
- Inherited from:
- Term
The current tree applied to given argument lists: tree (argss(0)) ... (argss(argss.length -1))
The current tree applied to given argument lists: tree (argss(0)) ... (argss(argss.length -1))
Attributes
- Inherited from:
- Term
The current tree applied to (): tree()
The current tree applied to given type argument: tree[targ]
The current tree applied to given type argument list: tree[targs(0), ..., targs(targs.length - 1)]
The current tree applied to given type argument list: tree[targs(0), ..., targs(targs.length - 1)]
Attributes
- Inherited from:
- Term
The current tree applied to given type arguments: tree[targ0, ..., targN]
The current tree applied to given type arguments: tree[targ0, ..., targN]
Attributes
- Inherited from:
- Term
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
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
Changes the owner of the symbols in the tree
Compares the receiver object (this
) with the argument object (that
) for equivalence.
Compares the receiver object (this
) with the argument object (that
) for equivalence.
Any implementation of this method should be an equivalence relation:
- It is reflexive: for any instance
x
of typeAny
,x.equals(x)
should returntrue
. - It is symmetric: for any instances
x
andy
of typeAny
,x.equals(y)
should returntrue
if and only ify.equals(x)
returnstrue
. - It is transitive: for any instances
x
,y
, andz
of typeAny
ifx.equals(y)
returnstrue
andy.equals(z)
returnstrue
, thenx.equals(z)
should returntrue
.
If you override this method, you should verify that your implementation remains an equivalence relation. Additionally, when overriding this method it is usually necessary to override hashCode
to ensure that objects which are "equal" (o1.equals(o2)
returns true
) hash to the same scala.Int. (o1.hashCode.equals(o2.hashCode)
).
Value parameters
- that
-
the object to compare against this object for equality.
Attributes
Converts a partially applied term into a lambda expression
Calculates a hash code value for the object.
Calculates a hash code value for the object.
The default hashing algorithm is platform dependent.
Note that it is allowed for two objects to have identical hash codes (o1.hashCode.equals(o2.hashCode)
) yet not be equal (o1.equals(o2)
returns false
). A degenerate implementation could always return 0
. However, it is required that if two objects are equal (o1.equals(o2)
returns true
) that they have identical hash codes (o1.hashCode.equals(o2.hashCode)
). Therefore, when overriding this method, be sure to verify that the behavior is consistent with the equals
method.
Attributes
Does this tree represent a valid expression?
Position in the source code
Attributes
- Inherited from:
- Term
A select node that selects the given symbol.
Shows the tree as String
Attributes
- Inherited from:
- Tree
Attributes
- Inherited from:
- Tree
Attributes
- Inherited from:
- Tree
Attributes
- Inherited from:
- Tree
Symbol of defined or referred by this tree
Replace Ident nodes references to the underlying tree that defined them. The resulting tree is useful for inspection of the definition of some bindings.
Replace Ident nodes references to the underlying tree that defined them. The resulting tree is useful for inspection of the definition of some bindings.
Warning: This tree may contain references that are out of scope and should not be used in the generated code. This method should only used to port Scala 2 that used to access their outer scope unsoundly.
Attributes
- Inherited from:
- Term
Replace Inlined nodes and InlineProxy references to underlying arguments. The resulting tree is useful for inspection of the value or content of a non-inline argument.
Replace Inlined nodes and InlineProxy references to underlying arguments. The resulting tree is useful for inspection of the value or content of a non-inline argument.
Warning: This tree may contain references that are out of scope and should not be used in the generated code. This method should only used to port Scala 2 that used to access their outer scope unsoundly.
Attributes
- Inherited from:
- Term
Givens
Inherited givens
Attributes
- Inherited from:
- Tree