pmd-lang-test / net.sourceforge.pmd.lang.ast.test / BaseParsingHelper / parse

parse

@JvmOverloads open fun parse(sourceCode: String, version: String? = null): T

Parses the sourceCode with the given version. This may execute additional processing passes if this instance is configured to do so.