All Downloads are FREE. Search and download functionalities are using the official Maven repository.

almond.launcher.ScalaParser.scala Maven / Gradle / Ivy

The newest version!
package almond.launcher

import fastparse._

import fastparse.ScalaWhitespace._
import scalaparse.Scala._

object ScalaParser {

  def AllWS[X: P] = Start ~ WS ~ End

  def hasActualCode(code: String): Boolean =
    !parse(code, AllWS(_)).isSuccess

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy