@cursor/sdk-darwin-arm64 1.0.31 → 1.0.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bin/cursorsandbox
CHANGED
|
Binary file
|
package/bin/rg
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
Binary file
|
|
@@ -873,8 +873,10 @@ function initializeLanguageNodeClasses(language) {
|
|
|
873
873
|
|
|
874
874
|
const className = camelCase(typeName, true) + 'Node';
|
|
875
875
|
const nodeSubclass = eval(`class ${className} extends SyntaxNode {${classBody}}; ${className}`);
|
|
876
|
-
nodeSubclass.prototype
|
|
877
|
-
|
|
876
|
+
Object.defineProperties(nodeSubclass.prototype, {
|
|
877
|
+
type: {value: typeName, enumerable: true},
|
|
878
|
+
fields: {value: Object.freeze(fieldNames.sort()), enumerable: true},
|
|
879
|
+
});
|
|
878
880
|
nodeSubclasses[id] = nodeSubclass;
|
|
879
881
|
}
|
|
880
882
|
|
|
Binary file
|