Dotty Documentation

0.5.0-bin-SNAPSHOT

object ParseResult
extends Object

[-] Constructors

[-] Members

[+] @sharable private val CommandExtract : Regex
[+] def apply ( sourceCode: String ) ( implicit ctx: Context ) : ParseResult

Extract a ParseResult from the string sourceCode

[+] def isIncomplete ( sourceCode: String ) ( implicit ctx: Context ) : Boolean

Check if the input is incomplete

This can be used in order to check if a newline can be inserted without having to evaluate the expression

[+] private def parseStats ( parser: Parser ) : List [ Tree ]