public abstract class ApplyDecoratorsToElementDefinition
extends com.oracle.truffle.api.nodes.Node
| Constructor and Description |
|---|
ApplyDecoratorsToElementDefinition(JSContext context,
CreateDecoratorContextObjectNode createDecoratorContextObjectNode) |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
checkUndefined(Object value,
com.oracle.truffle.api.nodes.Node node,
com.oracle.truffle.api.profiles.InlinedBranchProfile errorProfile) |
static ApplyDecoratorsToElementDefinition |
create(JSContext context,
ObjectLiteralNode.ObjectLiteralMemberNode member) |
protected void |
decorateAuto(com.oracle.truffle.api.frame.VirtualFrame frame,
JSDynamicObject proto,
ClassElementDefinitionRecord record,
SimpleArrayList<Object> extraInitializers,
com.oracle.truffle.api.nodes.Node node,
JSFunctionCallNode callNode,
IsCallableNode isCallableNode,
PropertyGetNode getGetterNode,
PropertyGetNode getSetterNode,
PropertyGetNode getInitNode,
CreateObjectNode createObjectNode,
CreateDataPropertyNode createGetDataPropertyNode,
CreateDataPropertyNode createSetDataPropertyNode,
IsObjectNode isObjectNode,
com.oracle.truffle.api.profiles.InlinedBranchProfile errorBranch) |
protected void |
decorateField(com.oracle.truffle.api.frame.VirtualFrame frame,
JSDynamicObject proto,
ClassElementDefinitionRecord record,
SimpleArrayList<Object> extraInitializers,
JSFunctionCallNode callNode,
IsCallableNode isCallableNode,
com.oracle.truffle.api.profiles.InlinedBranchProfile errorBranch) |
protected void |
decorateGetterSetter(com.oracle.truffle.api.frame.VirtualFrame frame,
JSDynamicObject proto,
ClassElementDefinitionRecord record,
SimpleArrayList<Object> extraInitializers,
com.oracle.truffle.api.nodes.Node node,
JSFunctionCallNode callNode,
IsCallableNode isCallableNode,
com.oracle.truffle.api.profiles.InlinedBranchProfile errorBranch,
SetFunctionNameNode setFunctionName) |
protected void |
decorateMethod(com.oracle.truffle.api.frame.VirtualFrame frame,
JSDynamicObject proto,
ClassElementDefinitionRecord record,
SimpleArrayList<Object> extraInitializers,
JSFunctionCallNode callNode,
IsCallableNode isCallableNode,
com.oracle.truffle.api.profiles.InlinedBranchProfile errorBranch,
SetFunctionNameNode setFunctionName) |
abstract void |
executeDecorator(com.oracle.truffle.api.frame.VirtualFrame frame,
JSDynamicObject proto,
ClassElementDefinitionRecord record,
SimpleArrayList<Object> extraInitializers) |
protected static void |
noDecorators(com.oracle.truffle.api.frame.VirtualFrame frame,
JSDynamicObject proto,
ClassElementDefinitionRecord record,
SimpleArrayList<Object> extraInitializers) |
accept, adoptChildren, atomic, atomic, copy, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, onReplace, replace, replace, reportPolymorphicSpecialize, toStringprotected final JSContext context
public ApplyDecoratorsToElementDefinition(JSContext context, CreateDecoratorContextObjectNode createDecoratorContextObjectNode)
public abstract void executeDecorator(com.oracle.truffle.api.frame.VirtualFrame frame,
JSDynamicObject proto,
ClassElementDefinitionRecord record,
SimpleArrayList<Object> extraInitializers)
public static ApplyDecoratorsToElementDefinition create(JSContext context, ObjectLiteralNode.ObjectLiteralMemberNode member)
protected static void noDecorators(com.oracle.truffle.api.frame.VirtualFrame frame,
JSDynamicObject proto,
ClassElementDefinitionRecord record,
SimpleArrayList<Object> extraInitializers)
protected void decorateField(com.oracle.truffle.api.frame.VirtualFrame frame,
JSDynamicObject proto,
ClassElementDefinitionRecord record,
SimpleArrayList<Object> extraInitializers,
JSFunctionCallNode callNode,
IsCallableNode isCallableNode,
com.oracle.truffle.api.profiles.InlinedBranchProfile errorBranch)
protected void decorateMethod(com.oracle.truffle.api.frame.VirtualFrame frame,
JSDynamicObject proto,
ClassElementDefinitionRecord record,
SimpleArrayList<Object> extraInitializers,
JSFunctionCallNode callNode,
IsCallableNode isCallableNode,
com.oracle.truffle.api.profiles.InlinedBranchProfile errorBranch,
SetFunctionNameNode setFunctionName)
protected void decorateGetterSetter(com.oracle.truffle.api.frame.VirtualFrame frame,
JSDynamicObject proto,
ClassElementDefinitionRecord record,
SimpleArrayList<Object> extraInitializers,
com.oracle.truffle.api.nodes.Node node,
JSFunctionCallNode callNode,
IsCallableNode isCallableNode,
com.oracle.truffle.api.profiles.InlinedBranchProfile errorBranch,
SetFunctionNameNode setFunctionName)
protected void decorateAuto(com.oracle.truffle.api.frame.VirtualFrame frame,
JSDynamicObject proto,
ClassElementDefinitionRecord record,
SimpleArrayList<Object> extraInitializers,
com.oracle.truffle.api.nodes.Node node,
JSFunctionCallNode callNode,
IsCallableNode isCallableNode,
PropertyGetNode getGetterNode,
PropertyGetNode getSetterNode,
PropertyGetNode getInitNode,
CreateObjectNode createObjectNode,
CreateDataPropertyNode createGetDataPropertyNode,
CreateDataPropertyNode createSetDataPropertyNode,
IsObjectNode isObjectNode,
com.oracle.truffle.api.profiles.InlinedBranchProfile errorBranch)
protected static void checkUndefined(Object value, com.oracle.truffle.api.nodes.Node node, com.oracle.truffle.api.profiles.InlinedBranchProfile errorProfile)