parseVariableDeclarationExpr
open fun parseVariableDeclarationExpr(@NotNull declaration: String): VariableDeclarationExpr(source)
Parses a variable declaration expression and returns a VariableDeclarationExpr that represents it.
Return
VariableDeclarationExpr representing the type
Parameters
declaration
a variable declaration like int x=2;
Throws
if the source code has parser errors