dotty.tools.dotc.ast.untpd

Mod

Related Docs: object Mod | package untpd

sealed abstract class Mod extends Positioned

Mod is intended to record syntactic information about modifiers, it's NOT a replacement of FlagSet.

For any query about semantic information, check flags instead.

Linear Supertypes
Positioned, Product, Equals, DotClass, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Mod
  2. Positioned
  3. Product
  4. Equals
  5. DotClass
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def canEqual(that: Any): Boolean

    Definition Classes
    Equals
  2. abstract def productArity: Int

    Definition Classes
    Product
  3. abstract def productElement(n: Int): Any

    Definition Classes
    Product

Concrete 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 addPos(pos: Position): Mod.this.type

    This item with a position that's the union of the given pos and the current position.

    This item with a position that's the union of the given pos and the current position.

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

    Definition Classes
    Any
  6. def checkPos(nonOverlapping: Boolean)(implicit ctx: Context): Unit

    Check that all positioned items in this tree satisfy the following conditions:

    Check that all positioned items in this tree satisfy the following conditions:

    • Parent positions contain child positions
    • If item is a non-empty tree, it has a position
    Definition Classes
    Positioned
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def contains(that: Positioned): Boolean

    Definition Classes
    Positioned
  9. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. val flags: FlagSet

  13. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  15. def initialPos: Position

    The initial, synthetic position.

    The initial, synthetic position. This is usually the union of all positioned children's positions.

    Definition Classes
    Positioned
  16. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  20. def pos: Position

    The item's position.

    The item's position.

    Definition Classes
    Positioned
  21. def productIterator: Iterator[Any]

    Definition Classes
    Product
  22. def productPrefix: String

    Definition Classes
    Product
  23. def setPos(pos: Position): Unit

    Destructively update curPos to given position.

    Destructively update curPos to given position. Also, set any missing positions in children.

    Attributes
    protected
    Definition Classes
    Positioned
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  25. def toString(): String

    Definition Classes
    AnyRef → Any
  26. def unsupported(methodName: String): Nothing

    Throws an UnsupportedOperationException with the given method name.

    Throws an UnsupportedOperationException with the given method name.

    Definition Classes
    DotClass
  27. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. def withPos(posd: Positioned): Mod.this.type

    Definition Classes
    Positioned
  31. def withPos(pos: Position): Mod.this.type

    A positioned item like this one with the position set to pos.

    A positioned item like this one with the position set to pos. if the positioned item is source-derived, a clone is returned. If the positioned item is synthetic, the position is updated destructively and the item itself is returned.

    Definition Classes
    Positioned

Inherited from Positioned

Inherited from Product

Inherited from Equals

Inherited from DotClass

Inherited from AnyRef

Inherited from Any

Ungrouped