public abstract class CommonJSRequireBuiltin extends GlobalBuiltins.JSFileLoadingOperation
JSBuiltinNode.Inlineable, JSBuiltinNode.Inlined| Modifier and Type | Field and Description |
|---|---|
static String |
DIRNAME_VAR_NAME |
static String |
EXPORTS_PROPERTY_NAME |
static String |
FILENAME_VAR_NAME |
static String |
MODULE_PROPERTY_NAME |
static String |
REQUIRE_PROPERTY_NAME |
static String |
RESOLVE_PROPERTY_NAME |
INTERMEDIATE_VALUE| Modifier and Type | Method and Description |
|---|---|
static void |
log(Object... message) |
protected Object |
require(com.oracle.truffle.api.object.DynamicObject currentRequire,
String moduleIdentifier) |
cannotLoadScript, sourceFromPath, sourceFromTruffleFilecopyUninitialized, createBuiltin, getArguments, getBuiltin, getContext, getNodeObject, hasTag, isCallerSensitive, isInlineable, tryCreateInlinedaddCallTag, addExpressionTag, addRootBodyTag, addStatementTag, cloneUninitialized, cloneUninitialized, copy, createWrapper, execute, executeBoolean, executeDouble, executeInt, executeLong, executeSafeInteger, executeString, executeVoid, expressionToString, findBlockScopeNode, getSourceSection, hasSourceSection, isInstrumentable, isResultAlwaysOfType, onReplace, removeSourceSection, setSourceSection, setSourceSection, toString, transferSourceSection, transferSourceSectionAddExpressionTag, transferSourceSectionAndTagsaccept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, insert, insert, isAdoptable, isSafelyReplaceableBy, lookupContextReference, lookupLanguageReference, notifyInserted, replace, replace, reportPolymorphicSpecializepublic static final String FILENAME_VAR_NAME
public static final String DIRNAME_VAR_NAME
public static final String MODULE_PROPERTY_NAME
public static final String EXPORTS_PROPERTY_NAME
public static final String REQUIRE_PROPERTY_NAME
public static final String RESOLVE_PROPERTY_NAME