source: trip-planner-front/node_modules/css-tree/lib/syntax/node/Operator.js@ fa375fe

Last change on this file since fa375fe was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 482 bytes
Line 
1// '/' | '*' | ',' | ':' | '+' | '-'
2module.exports = {
3 name: 'Operator',
4 structure: {
5 value: String
6 },
7 parse: function() {
8 var start = this.scanner.tokenStart;
9
10 this.scanner.next();
11
12 return {
13 type: 'Operator',
14 loc: this.getLocation(start, this.scanner.tokenStart),
15 value: this.scanner.substrToCursor(start)
16 };
17 },
18 generate: function(node) {
19 this.chunk(node.value);
20 }
21};
Note: See TracBrowser for help on using the repository browser.