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. SourceMap
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SourceMap()

Value Members

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

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

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

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

  5. 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

  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

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

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  16. final def notify(): Unit

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

    Definition Classes
    AnyRef
  18. 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.

  19. 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".

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

    Definition Classes
    AnyRef
  21. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped