Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(63)

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/externs.js

Issue 1917863008: DevTools: [SASS] introduce Gonzales-PE for SCSS parsing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebaseline Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 684 matching lines...) Expand 10 before | Expand all | Expand 10 after
695 * @extends {ESTree.Node} 695 * @extends {ESTree.Node}
696 * @constructor 696 * @constructor
697 */ 697 */
698 ESTree.TemplateLiteralNode = function() 698 ESTree.TemplateLiteralNode = function()
699 { 699 {
700 /** @type {!Array.<!ESTree.Node>} */ 700 /** @type {!Array.<!ESTree.Node>} */
701 this.quasis; 701 this.quasis;
702 /** @type {!Array.<!ESTree.Node>} */ 702 /** @type {!Array.<!ESTree.Node>} */
703 this.expressions; 703 this.expressions;
704 } 704 }
705
706 var Gonzales = {}
707 var gonzales = {
708 /**
709 * @param {string} text
710 * @param {!Object=} options
711 * @return {!Gonzales.Node}
712 */
713 parse: function(text, options) { },
714 }
715
716 /**
717 * @constructor
718 */
719 Gonzales.Location = function()
720 {
721 /** @type {number} */
722 this.line;
723 /** @type {number} */
724 this.column;
725 }
726
727 /**
728 * @constructor
729 */
730 Gonzales.Node = function()
731 {
732 /** @type {string} */
733 this.type;
734 /** @type {string} */
735 this.syntax;
736 /** @type {!Gonzales.Location} */
737 this.start;
738 /** @type {!Gonzales.Location} */
739 this.end;
740 /** @type {(string|!Array<!Gonzales.Node>)} */
741 this.content;
742 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698