Class BuiltinArgumentBuilder
java.lang.Object
com.oracle.truffle.js.nodes.function.BuiltinArgumentBuilder
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionprotected voidassertOrder(int order) Ensures that the builder methods are called in a consistent order, which reflects the order of the eventually created argument nodes.static BuiltinArgumentBuilderbuilder()createArgumentNodes(JSContext context) fixedArgs(int fixedArgumentCount) function()function(boolean function) functionOrNewTarget(boolean newTarget) newTarget(boolean newTarget) varArgs()varArgs(boolean varArgs) withThis()withThis(boolean hasThis)
-
Field Details
-
EMPTY_NODE_ARRAY
-
-
Method Details
-
builder
-
withThis
-
withThis
-
function
-
function
-
newTarget
-
newTarget
-
functionOrNewTarget
-
fixedArgs
-
varArgs
-
varArgs
-
createArgumentNodes
-
assertOrder
protected void assertOrder(int order) Ensures that the builder methods are called in a consistent order, which reflects the order of the eventually created argument nodes.- Parameters:
order- desired order
-