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