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 id: Movement

  27. val idrest: Movement

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

  29. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  30. val letter: SingleCharMovement

  31. val literalIdentifier: Movement

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

    Definition Classes
    AnyRef
  33. val none: SingleCharMovement

  34. final def notify(): Unit

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

    Definition Classes
    AnyRef
  36. val octalDigit: SingleCharMovement

  37. val op: Movement

  38. val opChar: SingleCharMovement

  39. val plainid: Movement

  40. val reservedName: Movement

  41. val space: SingleCharMovement

  42. val spaces: Movement

  43. def string(str: String): Movement

  44. val stringLiteral: Movement

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

  46. val symbolLiteral: Movement

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

    Definition Classes
    AnyRef
  48. def toString(): String

    Definition Classes
    AnyRef → Any
  49. 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.

  50. val varid: Movement

  51. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped