This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
trait InterpolationContext { | |
implicit def str2interp(s: String) = new InterpolatedString(s) | |
class InterpolatedString(val s: String) { | |
def / = interpolate(s) | |
def identifier = s.substring(2, s.length - 1) | |
} | |
object Tokenizer { | |
def unapply(s: String): Option[Iterator[String]] = { |