Object

scala.tools.refactoring.util.SourceWithMarker

Movements

Related Doc: package SourceWithMarker

Permalink

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
Visibility
  1. Public
  2. All

Type Members

  1. class SingleCharMovement extends Movement

    Permalink

    A specialized implementation that matches single characters

    A specialized implementation that matches single characters

    Note the we represent characters as ints to avoid needless boxing (Function1 is not specialized for Char).

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val any: SingleCharMovement

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. val bracket: SingleCharMovement

    Permalink
  7. val bracketsWithContents: Movement

    Permalink
  8. def charOfClass(inClass: (Int) ⇒ Boolean): SingleCharMovement

    Permalink
  9. implicit def charToMovement(c: Char): SingleCharMovement

    Permalink
  10. def character(c: Char): SingleCharMovement

    Permalink
  11. val characterLiteral: Movement

    Permalink
  12. def clone(): AnyRef

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

    Permalink
  14. val comments: Movement

    Permalink
  15. val commentsAndSpaces: Movement

    Permalink
  16. val curlyBracesWithContents: Movement

    Permalink
  17. val delimiter: SingleCharMovement

    Permalink
  18. val digit: SingleCharMovement

    Permalink
  19. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  24. val id: Movement

    Permalink
  25. val idrest: Movement

    Permalink
  26. def inBrackets(open: Char, close: Char): Movement

    Permalink
  27. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  28. val letter: SingleCharMovement

    Permalink
  29. val literalIdentifier: Movement

    Permalink
  30. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  31. val none: SingleCharMovement

    Permalink
  32. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  33. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  34. val octalDigit: SingleCharMovement

    Permalink
  35. val op: Movement

    Permalink
  36. val opChar: SingleCharMovement

    Permalink
  37. val plainid: Movement

    Permalink
  38. val reservedName: Movement

    Permalink
  39. val space: SingleCharMovement

    Permalink
  40. val spaces: Movement

    Permalink
  41. def string(str: String): Movement

    Permalink
  42. val stringLiteral: Movement

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

    Permalink
  44. val symbolLiteral: Movement

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

    Permalink
    Definition Classes
    AnyRef
  46. def toString(): String

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

    Permalink

    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

    Permalink
  49. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped