first commit
This commit is contained in:
20
app_vue/node_modules/css-tree/lib/syntax/node/Identifier.js
generated
vendored
Normal file
20
app_vue/node_modules/css-tree/lib/syntax/node/Identifier.js
generated
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
var TYPE = require('../../tokenizer').TYPE;
|
||||
|
||||
var IDENT = TYPE.Ident;
|
||||
|
||||
module.exports = {
|
||||
name: 'Identifier',
|
||||
structure: {
|
||||
name: String
|
||||
},
|
||||
parse: function() {
|
||||
return {
|
||||
type: 'Identifier',
|
||||
loc: this.getLocation(this.scanner.tokenStart, this.scanner.tokenEnd),
|
||||
name: this.consume(IDENT)
|
||||
};
|
||||
},
|
||||
generate: function(node) {
|
||||
this.chunk(node.name);
|
||||
}
|
||||
};
|
Reference in New Issue
Block a user