4 ProfessorJ Advanced
| Program | 
 | = | 
 | 
 | 
| PackageDec | 
 | = | 
 | 
| Import | 
 | = | 
 | 
| Def | 
 | = | 
 | 
 | 
| Class | 
 | = | 
 | 
 | 
| Interface | 
 | = | 
 | 
| Signature | 
 | = | 
 | 
| Member | 
 | = | 
 | 
 | 
| Modifier | 
 | = | 
 | 
| Field | 
 | = | 
 | 
| Method | 
 | = | 
 | 
| MethodReturn | 
 | = | 
 | 
 | 
| Constructor | 
 | = | 
 | 
| Statement | 
 | = | 
 | 
| StatementExpression | 
 | = | 
 | 
 | 
| ForInit | 
 | = | 
 | 
 | 
| ForExpression | 
 | = | 
 | 
 | 
| ForUpdate | 
 | = | 
 | 
 | 
| ArrayInit | 
 | = | 
 | 
| Expression | 
 | = | 
 | 
| Name | 
 | = | 
 | 
 | 
| Op | 
 | = | 
 | 
 | 
| Type | 
 | = | 
 | 
 | 
An Id is a sequence of alphanumeric characters, _, and $.