add compileTable() for testing purposes in ReportVisitor