parseBlock

open fun parseBlock(@NotNull blockStatement: String): BlockStmt(source)

Parses the Java block contained in a String and returns a BlockStmt that represents it.

Return

BlockStmt representing the Java block

Parameters

blockStatement

String containing Java block code

Throws

if the source code has parser errors