Class SymbolTable.CustomThisScope

java.lang.Object
org.pkl.core.ast.builder.SymbolTable.Scope
org.pkl.core.ast.builder.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 Details

    • FRAME_SLOT_ID

      public static final Object FRAME_SLOT_ID
  • Constructor Details

    • CustomThisScope

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