Packages

c

info.kwarc.mmt.api.parser

MatchedList

class MatchedList extends TokenListElem

A MatchedList is a SubTermToken resulting by reducing a sublist using a notation

invariant: every FoundArg (including nested ones) found when traversing an.getFound corresponds to one TokenListElem in tokens

TokenSlice's in an.getFound are invalid.

Source
TokenList.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MatchedList
  2. TokenListElem
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MatchedList(tokens: List[(FoundContent, List[UnmatchedList])], an: ActiveNotation, firstPosition: SourcePosition, lastPosition: SourcePosition)

    tokens

    the TokenListElem's that were reduced (in concrete syntax order, excluding delimiters)

    an

    the notation used for reduction (which stores the information about how the notation matched the tokens)

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. val an: ActiveNotation
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. val firstPosition: SourcePosition

    the first position included in this token

    the first position included in this token

    Definition Classes
    MatchedListTokenListElem
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. val lastPosition: SourcePosition

    the last position included in this token

    the last position included in this token

    Definition Classes
    MatchedListTokenListElem
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. def region: SourceRegion

    the region covered by this token

    the region covered by this token

    Definition Classes
    TokenListElem
  19. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  20. def toString(): String
    Definition Classes
    MatchedList → AnyRef → Any
  21. val tokens: List[(FoundContent, List[UnmatchedList])]
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from TokenListElem

Inherited from AnyRef

Inherited from Any

Ungrouped