Splits up a script file into its constituent blocks, each of which is a tuple of (leading-whitespace, statements). Leading whitespace is returned separately so we can later manipulate the statements e.g. by adding val res2 = without the whitespace getting in the way
Splits up a script file into its constituent blocks, each of which is a tuple of (leading-whitespace, statements). Leading whitespace is returned separately so we can later manipulate the statements e.g. by adding val res2 = without the whitespace getting in the way
Attributes
Inherited methods
final def parseImportHooks(source: CodeSource, stmts: Seq[String]): (Seq[String], Seq[ImportTree])