scala.util.parsing.ast.Binders

BoundElement

case class BoundElement[boundElement <: NameElement](el: boundElement, scope: Scope[boundElement]) extends NameElement with Proxy with BindingSensitive with Product with Serializable

A BoundElement is bound in a certain scope scope, which keeps track of the actual element that el stands for.

A BoundElement is represented textually by its bound element, followed by its scope's id. For example: x@1 represents the variable x that is bound in the scope with id 1.

Source
Binders.scala
Note

scope.binds(el) holds before and after.

Linear Supertypes
Serializable, java.io.Serializable, Product, Equals, BindingSensitive, Proxy, Binders.NameElement, Binders.Element, Positional, AnyRef, Any
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. BoundElement
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. BindingSensitive
  7. Proxy
  8. NameElement
  9. Element
  10. Positional
  11. AnyRef
  12. Any
Implicitly
  1. by StringAdd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BoundElement(el: boundElement, scope: Scope[boundElement])

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def +(other: String): String

    Implicit information
    This member is added by an implicit conversion from BoundElement[boundElement] to StringAdd[BoundElement[boundElement]] performed by method StringAdd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (BoundElement[boundElement], B)

    Implicit information
    This member is added by an implicit conversion from BoundElement[boundElement] to ArrowAssoc[BoundElement[boundElement]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  8. def alpha_==[t <: Binders.NameElement](other: BoundElement[t]): Boolean

  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  11. val el: boundElement

  12. def ensuring(cond: (BoundElement[boundElement]) ⇒ Boolean, msg: ⇒ Any): BoundElement[boundElement]

    Implicit information
    This member is added by an implicit conversion from BoundElement[boundElement] to Ensuring[BoundElement[boundElement]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: (BoundElement[boundElement]) ⇒ Boolean): BoundElement[boundElement]

    Implicit information
    This member is added by an implicit conversion from BoundElement[boundElement] to Ensuring[BoundElement[boundElement]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean, msg: ⇒ Any): BoundElement[boundElement]

    Implicit information
    This member is added by an implicit conversion from BoundElement[boundElement] to Ensuring[BoundElement[boundElement]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean): BoundElement[boundElement]

    Implicit information
    This member is added by an implicit conversion from BoundElement[boundElement] to Ensuring[BoundElement[boundElement]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  17. def equals(that: Any): Boolean

    Definition Classes
    Proxy → Any
  18. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  19. def formatted(fmtstr: String): String

    Returns string formatted according to given format string.

    Returns string formatted according to given format string. Format strings are as for String.format (@see java.lang.String.format).

    Implicit information
    This member is added by an implicit conversion from BoundElement[boundElement] to StringFormat[BoundElement[boundElement]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  20. final def getClass(): Class[_]

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

    Definition Classes
    Proxy → Any
  22. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  23. def name: String

    Definition Classes
    BoundElementNameElement
  24. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  27. var pos: Position

    The source position of this object, initially set to undefined.

    The source position of this object, initially set to undefined.

    Definition Classes
    Positional
  28. val scope: Scope[boundElement]

  29. def self: Binders.Element

    Returns the element this BoundElement stands for.

    Returns the element this BoundElement stands for. The Proxy trait ensures equals, hashCode and toString are forwarded to the result of this method.

    Definition Classes
    BoundElementProxy
  30. def setPos(newpos: Position): BoundElement.this.type

    If current source position is undefined, update it with given position newpos

    If current source position is undefined, update it with given position newpos

    returns

    the object itself

    Definition Classes
    Positional
  31. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  32. def toString(): String

    Definition Classes
    BoundElementProxy → AnyRef → Any
  33. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  36. def [B](y: B): (BoundElement[boundElement], B)

    Implicit information
    This member is added by an implicit conversion from BoundElement[boundElement] to ArrowAssoc[BoundElement[boundElement]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from Serializable

Inherited from java.io.Serializable

Inherited from Product

Inherited from Equals

Inherited from BindingSensitive

Inherited from Proxy

Inherited from Binders.NameElement

Inherited from Binders.Element

Inherited from Positional

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion StringAdd from BoundElement[boundElement] to StringAdd[BoundElement[boundElement]]

Inherited by implicit conversion StringFormat from BoundElement[boundElement] to StringFormat[BoundElement[boundElement]]

Inherited by implicit conversion Ensuring from BoundElement[boundElement] to Ensuring[BoundElement[boundElement]]

Inherited by implicit conversion ArrowAssoc from BoundElement[boundElement] to ArrowAssoc[BoundElement[boundElement]]

Ungrouped