|
Scala example source code file (PresentationCompilerTestDef.scala)
The PresentationCompilerTestDef.scala Scala example source codepackage scala.tools.nsc.interactive.tests.core import scala.reflect.internal.util.Position trait PresentationCompilerTestDef { private[tests] def runTest(): Unit protected def withResponseDelimiter(block: => Unit)(implicit reporter: Reporter) { def printDelimiter() = reporter.println("=" * 80) printDelimiter() block printDelimiter() } protected def format(pos: Position): String = (if(pos.isDefined) "(%d,%d)".format(pos.line, pos.column) else "<no position>") } Other Scala source code examplesHere is a short list of links related to this Scala PresentationCompilerTestDef.scala source code file: |
... this post is sponsored by my books ... | |
![]() #1 New Release! |
![]() FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.