Advertisement
Guest User

Untitled

a guest
Jun 24th, 2014
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Scala 0.21 KB | None | 0 0
  1. /** Filter statements with directive */
  2. override def exitStatement(ctx: SC) = {
  3.     directives.find(d => d.ctx == ctx) match {
  4.         case Some(d) => println("found")
  5.         case None    => println("not this time")
  6.     }
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement