dotty.tools.dotc.ast

UntypedTreeInfo

Related Doc: package ast

trait UntypedTreeInfo extends TreeInfo[Untyped]

Self Type
UntypedTreeInfo with Instance[Untyped]
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. UntypedTreeInfo
  2. TreeInfo
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. class MatchingArgs extends AnyRef

    Definition Classes
    TreeInfo

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. def arguments(tree: (UntypedTreeInfo.this)#Tree): List[(UntypedTreeInfo.this)#Tree]

    The (last) list of arguments of an application

    The (last) list of arguments of an application

    Definition Classes
    TreeInfo
  5. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  6. def catchesAllOf(cdef: (UntypedTreeInfo.this)#CaseDef, threshold: Type)(implicit ctx: Context): Boolean

    Does this CaseDef catch everything of a certain Type?

    Does this CaseDef catch everything of a certain Type?

    Definition Classes
    TreeInfo
  7. def catchesThrowable(cdef: (UntypedTreeInfo.this)#CaseDef)(implicit ctx: Context): Boolean

    Does this CaseDef catch Throwable?

    Does this CaseDef catch Throwable?

    Definition Classes
    TreeInfo
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def closureBody(tree: tpd.Tree)(implicit ctx: Context): tpd.Tree

    If tree is a closure, it's body, otherwise tree itself

    If tree is a closure, it's body, otherwise tree itself

    Definition Classes
    TreeInfo
  10. def defKind(tree: (UntypedTreeInfo.this)#Tree): FlagSet

    The largest subset of {NoInits, PureInterface} that a trait enclosing this statement can have as flags.

    The largest subset of {NoInits, PureInterface} that a trait enclosing this statement can have as flags. Does tree contain an initialization part when seen as a member of a class or trait?

    Definition Classes
    TreeInfo
  11. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def firstConstructor(stats: List[(UntypedTreeInfo.this)#Tree]): (UntypedTreeInfo.this)#Tree

    The first constructor definition in stats

    The first constructor definition in stats

    Definition Classes
    TreeInfo
  15. def firstConstructorArgs(stats: List[(UntypedTreeInfo.this)#Tree]): List[(UntypedTreeInfo.this)#Tree]

    The arguments to the first constructor in stats.

    The arguments to the first constructor in stats.

    Definition Classes
    TreeInfo
  16. def forallResults(tree: (UntypedTreeInfo.this)#Tree, p: ((UntypedTreeInfo.this)#Tree) ⇒ Boolean): Boolean

    Checks whether predicate p is true for all result parts of this expression, where we zoom into Ifs, Matches, and Blocks.

    Checks whether predicate p is true for all result parts of this expression, where we zoom into Ifs, Matches, and Blocks.

    Definition Classes
    TreeInfo
  17. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  18. def hasNamedArg(args: List[Any]): Boolean

    Does this list contain a named argument tree?

    Does this list contain a named argument tree?

    Definition Classes
    TreeInfo
  19. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  20. def isDeclarationOrTypeDef(tree: (UntypedTreeInfo.this)#Tree): Boolean

    Definition Classes
    TreeInfo
  21. def isDefaultCase(cdef: (UntypedTreeInfo.this)#CaseDef): Boolean

    Is this pattern node a catch-all (wildcard or variable) pattern?

    Is this pattern node a catch-all (wildcard or variable) pattern?

    Definition Classes
    TreeInfo
  22. def isFunctionWithUnknownParamType(tree: (UntypedTreeInfo.this)#Tree): Boolean

  23. def isGuardedCase(cdef: (UntypedTreeInfo.this)#CaseDef): Boolean

    Is this case guarded?

    Is this case guarded?

    Definition Classes
    TreeInfo
  24. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  25. def isLeftAssoc(operator: Name): Boolean

    Is name a left-associative operator?

    Is name a left-associative operator?

    Definition Classes
    TreeInfo
  26. val isNamedArg: (Any) ⇒ Boolean

    Definition Classes
    TreeInfo
  27. def isOpAssign(tree: (UntypedTreeInfo.this)#Tree): Boolean

    Definition Classes
    TreeInfo
  28. def isRepeatedParamType(tpt: (UntypedTreeInfo.this)#Tree)(implicit ctx: Context): Boolean

    Is tpt a vararg type of the form T* or => T*?

    Is tpt a vararg type of the form T* or => T*?

    Definition Classes
    TreeInfo
  29. def isSelfConstrCall(tree: (UntypedTreeInfo.this)#Tree): Boolean

    Is tree a self constructor call this(...)? I.e.

    Is tree a self constructor call this(...)? I.e. a call to a constructor of the same object?

    Definition Classes
    TreeInfo
  30. def isSelfOrSuperConstrCall(tree: (UntypedTreeInfo.this)#Tree): Boolean

    Definition Classes
    TreeInfo
  31. def isSuperConstrCall(tree: (UntypedTreeInfo.this)#Tree): Boolean

    Is tree a super constructor call?

    Is tree a super constructor call?

    Definition Classes
    TreeInfo
  32. def isSuperSelection(tree: untpd.Tree): Boolean

    Definition Classes
    TreeInfo
  33. def isSyntheticDefaultCase(cdef: (UntypedTreeInfo.this)#CaseDef): Boolean

    Is this pattern node a synthetic catch-all case, added during PartialFuction synthesis before we know whether the user provided cases are exhaustive.

    Is this pattern node a synthetic catch-all case, added during PartialFuction synthesis before we know whether the user provided cases are exhaustive.

    Definition Classes
    TreeInfo
  34. def isVarPattern(pat: untpd.Tree): Boolean

    Is tree a variable pattern?

    Is tree a variable pattern?

    Definition Classes
    TreeInfo
  35. def isWildcardArg(tree: (UntypedTreeInfo.this)#Tree): Boolean

    Is the argument a wildcard argument of the form _ or x @ _?

    Is the argument a wildcard argument of the form _ or x @ _?

    Definition Classes
    TreeInfo
  36. def isWildcardStarArg(tree: (UntypedTreeInfo.this)#Tree)(implicit ctx: Context): Boolean

    Is this argument node of the form <expr> : _* ?

    Is this argument node of the form <expr> : _* ?

    Definition Classes
    TreeInfo
  37. def isWildcardStarArgList(trees: List[(UntypedTreeInfo.this)#Tree])(implicit ctx: Context): Boolean

    Does this argument list end with an argument of the form <expr> : _* ?

    Does this argument list end with an argument of the form <expr> : _* ?

    Definition Classes
    TreeInfo
  38. def lacksDefinition(mdef: (UntypedTreeInfo.this)#MemberDef)(implicit ctx: Context): Boolean

    True iff definition is a val or def with no right-hand-side, or it is an abstract typoe declaration

    True iff definition is a val or def with no right-hand-side, or it is an abstract typoe declaration

    Definition Classes
    TreeInfo
  39. def mayBeTypePat(tree: untpd.Tree): Boolean

    can this type be a type pattern?

    can this type be a type pattern?

    Definition Classes
    TreeInfo
  40. def methPart(tree: (UntypedTreeInfo.this)#Tree): (UntypedTreeInfo.this)#Tree

    The method part of an application node, possibly enclosed in a block with only valdefs as statements.

    The method part of an application node, possibly enclosed in a block with only valdefs as statements. the reason for also considering blocks is that named arguments can transform a call into a block, e.g. <init>(b = foo, a = bar) is transformed to { val x$1 = foo val x$2 = bar <init>(x$2, x$1) }

    Definition Classes
    TreeInfo
  41. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  42. final def notify(): Unit

    Definition Classes
    AnyRef
  43. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  44. def numArgs(tree: (UntypedTreeInfo.this)#Tree): Int

    The number of arguments in an application

    The number of arguments in an application

    Definition Classes
    TreeInfo
  45. def stripApply(tree: (UntypedTreeInfo.this)#Tree): (UntypedTreeInfo.this)#Tree

    If this is an application, its function part, stripping all Apply nodes (but leaving TypeApply nodes in).

    If this is an application, its function part, stripping all Apply nodes (but leaving TypeApply nodes in). Otherwise the tree itself.

    Definition Classes
    TreeInfo
  46. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  47. def toString(): String

    Definition Classes
    AnyRef → Any
  48. def unbind(x: (UntypedTreeInfo.this)#Tree): (UntypedTreeInfo.this)#Tree

    The underlying pattern ignoring any bindings

    The underlying pattern ignoring any bindings

    Definition Classes
    TreeInfo
  49. def unsplice[T >: Untyped](tree: Tree[T]): Tree[T]

    Definition Classes
    TreeInfo
  50. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  51. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  52. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from TreeInfo[Untyped]

Inherited from AnyRef

Inherited from Any

Ungrouped