Class SyntaxTagTrap

java.lang.Object
com.oracle.truffle.api.instrument.SyntaxTagTrap

public abstract class SyntaxTagTrap extends Object
A trap that can be set to interrupt execution at probed nodes carrying a specific tag.
  • Constructor Details

    • SyntaxTagTrap

      protected SyntaxTagTrap(SyntaxTag tag)
  • Method Details

    • getTag

      public final SyntaxTag getTag()
    • tagTrappedAt

      public abstract void tagTrappedAt(Node node, MaterializedFrame frame)
      Callback that will be received whenever execution enters a node with the specified tag.