Class SymbolTable.CustomThisScope

  • Enclosing class:
    SymbolTable

    public static final class SymbolTable.CustomThisScope
    extends SymbolTable.Scope
    A scope where this has a special meaning (type constraint, object member predicate).

    Technically, a scope where this isn't frame.getArguments()[0], but the value at an auxiliary slot identified by FRAME_SLOT_ID.

    • Field Detail

      • FRAME_SLOT_ID

        public static final java.lang.Object FRAME_SLOT_ID
    • Constructor Detail

      • CustomThisScope

        public CustomThisScope​(SymbolTable.Scope parent,
                               com.oracle.truffle.api.frame.FrameDescriptor.Builder frameDescriptorBuilder)