CodeDumper
object CodeDumper
Value members
Concrete methods
def code(filename: String, startLine: Integer, endLine: Integer, lineToHighlight: Option[Integer]): String
For a given filename, startLine, and endLine, return the corresponding code by reading it from the file. If
lineToHighlight is defined, then a line containing an arrow (as a source code comment) is included right before
that line.
For a given filename, startLine, and endLine, return the corresponding code by reading it from the file. If
lineToHighlight is defined, then a line containing an arrow (as a source code comment) is included right before
that line.
def dump(location: NewLocation, language: Option[String], rootPath: Option[String], highlight: Boolean): String
Dump string representation of code at given location.
Dump string representation of code at given location.