parseVariableDeclarationExpr
open fun parseVariableDeclarationExpr(declaration: String): ParseResult<VariableDeclarationExpr>(source)
Parses a variable declaration expression and returns a com.github.javaparser.ast.expr.VariableDeclarationExpr that represents it.
Return
VariableDeclarationExpr representing the type
Parameters
declaration
a variable declaration like int x=2;