Class LoadSourceEvent

java.lang.Object
com.oracle.truffle.api.instrumentation.LoadSourceEvent

public final class LoadSourceEvent extends Object
Represents a source load event from a LoadSourceListener. Instances of LoadSourceEvent should be neither stored, cached nor hashed. The equality and hashing behavior is undefined.
Since:
0.15
See Also:
  • Method Details

    • getSource

      public Source getSource()
      Returns the loaded source that caused this event.
      Since:
      0.15