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
- Alphabetic
- By Inheritance
- MatchedList
- TokenListElem
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
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
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val an: ActiveNotation
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
val
firstPosition: SourcePosition
the first position included in this token
the first position included in this token
- Definition Classes
- MatchedList → TokenListElem
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
val
lastPosition: SourcePosition
the last position included in this token
the last position included in this token
- Definition Classes
- MatchedList → TokenListElem
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
region: SourceRegion
the region covered by this token
the region covered by this token
- Definition Classes
- TokenListElem
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- MatchedList → AnyRef → Any
- val tokens: List[(FoundContent, List[UnmatchedList])]
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()