code: public Parser createParser(org.teatrove.tea.compiler.Scanner scanner, CompilationUnit unit)
      throws IOException {
  
          Parser parser = super.createParser(scanner, unit);
          CompileListener parserListener = getParserListener();
          if (parserListener != null) {
              parser.addCompileListener(parserListener);
          }
  
          return parser;
      }
docs: Overridden to make public