public org.teatrove.tea.compiler.Scanner createScanner(SourceReader sr, CompilationUnit unit)
    throws IOException {
        org.teatrove.tea.compiler.Scanner scanner = super.createScanner(sr, unit);
        CompileListener scannerListener = getScannerListener();
        if (scannerListener != null) {
            scanner.addCompileListener(scannerListener);
        }
        return scanner;
    }
public org . teatrove . tea . compiler . Scanner createScanner ( SourceReader sr , CompilationUnit unit ) throws IOException { org . teatrove . tea . compiler . Scanner scanner = super . createScanner ( sr , unit ) ; CompileListener scannerListener = getScannerListener ( ) ; if ( scannerListener != null ) { scanner . addCompileListener ( scannerListener ) ; } return scanner ; }
Overridden to make public