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
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 Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCustomThisScope(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
-
Field Details
-
FRAME_SLOT_ID
-
-
Constructor Details
-
CustomThisScope
public CustomThisScope(SymbolTable.Scope parent, com.oracle.truffle.api.frame.FrameDescriptor.Builder frameDescriptorBuilder)
-