org.fusesource.scalate.util

SourceMap

class SourceMap extends AnyRef

Represents a source map (SMAP), which serves to associate lines of the input JSP file(s) to lines in the generated servlet in the final .class file, according to the JSR-045 spec.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. SourceMap
  2. AnyRef
  3. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SourceMap ()

Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

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

    Attributes
    final
    Definition Classes
    Any
  6. def addSmap (smap: String, stratumName: String): Unit

    Adds the given string as an embedded SMAP with the given stratum name.

    Adds the given string as an embedded SMAP with the given stratum name.

    smap

    the SMAP to embed

    stratumName

    the name of the stratum output by the compilation that produced the smap to be embedded

  7. def addStratum (stratum: SourceMapStratum, defaultStratum: Boolean): Unit

    Adds the given SourceMapStratum object, representing a Stratum with logically associated FileSection and LineSection blocks, to the current SourceMap.

    Adds the given SourceMapStratum object, representing a Stratum with logically associated FileSection and LineSection blocks, to the current SourceMap. If default is true, this stratum is made the default stratum, overriding any previously set default.

    stratum

    the SourceMapStratum object to add

    defaultStratum

    if true, this SourceMapStratum is considered to represent the default SMAP stratum unless overwritten

  8. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  9. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  10. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  11. def equals (arg0: Any): Boolean

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

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

    Attributes
    final
    Definition Classes
    AnyRef → Any
  14. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  15. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  16. def mapToStratum (line: Int, name: String = defaultStratum): Option[(String, Int)]

  17. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  18. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  19. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  20. def setDoEmbedded (status: Boolean): Unit

    Instructs the SourceMap whether to actually print any embedded SMAPs or not.

    Instructs the SourceMap whether to actually print any embedded SMAPs or not. Intended for situations without an SMAP resolver.

    status

    If false, ignore any embedded SMAPs.

  21. def setOutputFileName (x: String): Unit

    Sets the filename (without path information) for the generated source file.

    Sets the filename (without path information) for the generated source file. E.g., "foo$jsp.java".

  22. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  23. def toString (): String

    Definition Classes
    SourceMap → AnyRef → Any
  24. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any