Package org.pkl.core.ast.builder
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 wherethishas a special meaning (type constraint, object member predicate).Technically, a scope where
thisisn'tframe.getArguments()[0], but the value at an auxiliary slot identified byFRAME_SLOT_ID.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.ObjectFRAME_SLOT_ID
-
Constructor Summary
Constructors Constructor Description CustomThisScope(SymbolTable.Scope parent, com.oracle.truffle.api.frame.FrameDescriptor.Builder frameDescriptorBuilder)
-
Method Summary
-
Methods inherited from class org.pkl.core.ast.builder.SymbolTable.Scope
buildFrameDescriptor, getConstDepth, getConstLevel, getForGeneratorVariables, getLexicalScope, getName, getNameOrNull, getParent, getQualifiedName, getTypeParameter, isClassMemberScope, isClassScope, isCustomThisScope, isLambdaScope, isLexicalScope, isModuleScope, popForGeneratorVariable, pushForGeneratorVariableContext, skipLambdaScopes
-
-
-
-
Constructor Detail
-
CustomThisScope
public CustomThisScope(SymbolTable.Scope parent, com.oracle.truffle.api.frame.FrameDescriptor.Builder frameDescriptorBuilder)
-
-