Skip to content

Commit 8214011

Browse files
committed
Remove unused parsers.entities.propertyCurly()
Follows-up a38f8a1, which introduced this as part of implementing property accessors. The method was not used there, and hasn't been used elsewhere since then either. Ref less#3163.
1 parent 53f84f0 commit 8214011

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

packages/less/src/less/parser/parser.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -678,15 +678,6 @@ const Parser = function Parser(context, imports, fileInfo, currentIndex) {
678678
}
679679
},
680680

681-
// A property entity useing the protective {} e.g. ${prop}
682-
propertyCurly: function () {
683-
let curly;
684-
const index = parserInput.i;
685-
686-
if (parserInput.currentChar() === '$' && (curly = parserInput.$re(/^\$\{([\w-]+)\}/))) {
687-
return new(tree.Property)(`$${curly[1]}`, index + currentIndex, fileInfo);
688-
}
689-
},
690681
//
691682
// A Hexadecimal color
692683
//

0 commit comments

Comments
 (0)