diff options
Diffstat (limited to '')
-rw-r--r-- | src/javascript/jsc/bindings/Path.h | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/src/javascript/jsc/bindings/Path.h b/src/javascript/jsc/bindings/Path.h index d229fedc6..e69de29bb 100644 --- a/src/javascript/jsc/bindings/Path.h +++ b/src/javascript/jsc/bindings/Path.h @@ -1,49 +0,0 @@ -#pragma once - -#include "BunBuiltinNames.h" -#include "BunClientData.h" -#include "root.h" - -namespace Zig { - -using namespace JSC; - -class Path : public JSC::JSNonFinalObject { - using Base = JSC::JSNonFinalObject; - -public: - Path(JSC::VM& vm, JSC::Structure* structure, bool isWindows_) - : Base(vm, structure) - { - isWindows = isWindows_; - } - - DECLARE_INFO; - - static constexpr unsigned StructureFlags = Base::StructureFlags; - - template<typename CellType, SubspaceAccess> static GCClient::IsoSubspace* subspaceFor(VM& vm) - { - return &vm.plainObjectSpace(); - } - - static JSC::Structure* createStructure(JSC::VM& vm, JSC::JSGlobalObject* globalObject, - JSC::JSValue prototype) - { - return JSC::Structure::create(vm, globalObject, prototype, - JSC::TypeInfo(JSC::ObjectType, StructureFlags), info()); - } - - static Path* create(JSC::VM& vm, bool isWindows, JSC::Structure* structure) - { - Path* accessor = new (NotNull, JSC::allocateCell<Path>(vm)) Path(vm, structure, isWindows); - - accessor->finishCreation(vm); - return accessor; - } - bool isWindows = false; - - void finishCreation(JSC::VM& vm); -}; - -} // namespace Zig
\ No newline at end of file |