parseParameter

open fun parseParameter(@NotNull parameter: String): Parameter(source)

Parses a single parameter (a type and a name) and returns it as a Parameter.

Return

the AST for the parameter

Parameters

parameter

a parameter like "int[] x"

Throws

if the source code has parser errors