private void maybeReportNoInitializer ( TokenType token , ParseTree lvalue ) { if ( token == TokenType . CONST ) { reportError ( "const variables must have an initializer" ) ; } else if ( lvalue . isPattern ( ) ) { reportError ( "destructuring must have an initializer" ) ; } }
Reports if declaration requires an initializer assuming initializer is absent .