scala.tools.refactoring.util.SourceWithMarker

Movements

object Movements

Various movements related to Scala code

Take a look at the Scala Language Specification if you wonder about terms like plainid, idrest or varid.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Movements
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. class SingleCharMovement extends Movement

    A specialized implementation that matches single characters

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. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  6. val any: SingleCharMovement

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. val bracket: SingleCharMovement

  9. val bracketsWithContents: Movement

  10. def charOfClass(inClass: (Int) ⇒ Boolean): SingleCharMovement

  11. implicit def charToMovement(c: Char): SingleCharMovement

  12. def character(c: Char): SingleCharMovement

  13. val characterLiteral: Movement

  14. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  15. val comment: Movement

  16. val comments: Movement

  17. val commentsAndSpaces: Movement

  18. val curlyBracesWithContents: Movement

  19. val delimiter: SingleCharMovement

  20. val digit: SingleCharMovement

  21. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  24. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  26. val idrest: Movement

  27. def inBrackets(open: Char, close: Char): Movement

  28. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  29. val letter: SingleCharMovement

  30. val literalIdentifier: Movement

  31. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  32. val none: SingleCharMovement

  33. final def notify(): Unit

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

    Definition Classes
    AnyRef
  35. val octalDigit: SingleCharMovement

  36. val op: Movement

  37. val opChar: SingleCharMovement

  38. val plainid: Movement

  39. val space: SingleCharMovement

  40. val spaces: Movement

  41. def string(str: String): Movement

  42. val stringLiteral: Movement

  43. implicit def stringToMovement(str: String): Movement

  44. val symbolLiteral: Movement

  45. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  46. def toString(): String

    Definition Classes
    AnyRef → Any
  47. def until(mvnt: SimpleMovement, skipping: SimpleMovement = none): SimpleMovement

    Advances the marker until the given movement can be applied, optionally skipping parts of the input.

    Advances the marker until the given movement can be applied, optionally skipping parts of the input.

    Note that the movement specified by skipping is applied after mvnt. This matters if there is input that might be matched by both movements. Here is an example:

    val src = SimpleMovement("0123456789".toCharArray)
    src.moveMarker(until('5', skipping = digit))

    will move the marker to 5, because 5 is matched before digit. However doing

    src.moveMarker(until('5', skipping = digit.zeroOrMore))

    will leave the marker at 0, since digit.zeroOrMore will consume the entire string, after matching 5 against 0 has failed.

  48. val varid: Movement

  49. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped