Class SourceInformationTree

java.lang.Object
com.oracle.truffle.api.bytecode.SourceInformation
com.oracle.truffle.api.bytecode.SourceInformationTree

public abstract class SourceInformationTree extends SourceInformation
Introspection class modeling a tree of SourceInformation instances. Like SourceInformation, this class models the source section for a bytecode range. Its children model the source sections of subranges directly contained by this node's bytecode range.

Note: it is possible for SourceInformation.getSourceSection() to return null for the root of the tree when the Root operation is not enclosed in a SourceSection operation. See the discussion in BytecodeNode.getSourceInformationTree() for more information.

Note: Introspection classes are intended to be used for debugging purposes only. These APIs may change in the future.

Since:
24.2
See Also:
  • Constructor Details

    • SourceInformationTree

      protected SourceInformationTree(Object token)
      Internal constructor for generated code. Do not use.
      Since:
      24.2
  • Method Details