Interface PythonSourceVisitor


public interface PythonSourceVisitor
Visits Python source metadata supplied for an individual compilation.
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    Invoked after every Python source file has been visited.
    void
    visit(PythonSource source, VisitorContext context)
    Visits one parsed Python source file.
  • Method Details

    • visit

      void visit(PythonSource source, VisitorContext context)
      Visits one parsed Python source file.
      Parameters:
      source - the source metadata
      context - the visitor context
    • finish

      default void finish(VisitorContext context)
      Invoked after every Python source file has been visited.
      Parameters:
      context - the visitor context