parsePackageDeclaration

Parses a package declaration and returns it as a PackageDeclaration.

Return

the AST for the parameter

Parameters

packageDeclaration

a declaration like "package com.microsoft.java;"

Throws

if the source code has parser errors