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

Unified 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, 8 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/devtools/front_end/externs.js
diff --git a/third_party/WebKit/Source/devtools/front_end/externs.js b/third_party/WebKit/Source/devtools/front_end/externs.js
index dd0737e2d3a1a66ffe51538d5c5dd918718ab70c..beb0b810f559c4ae0d9f84d2351caaf3d02d0590 100644
--- a/third_party/WebKit/Source/devtools/front_end/externs.js
+++ b/third_party/WebKit/Source/devtools/front_end/externs.js
@@ -702,3 +702,41 @@ ESTree.TemplateLiteralNode = function()
/** @type {!Array.<!ESTree.Node>} */
this.expressions;
}
+
+var Gonzales = {}
+var gonzales = {
+ /**
+ * @param {string} text
+ * @param {!Object=} options
+ * @return {!Gonzales.Node}
+ */
+ parse: function(text, options) { },
+}
+
+/**
+ * @constructor
+ */
+Gonzales.Location = function()
+{
+ /** @type {number} */
+ this.line;
+ /** @type {number} */
+ this.column;
+}
+
+/**
+ * @constructor
+ */
+Gonzales.Node = function()
+{
+ /** @type {string} */
+ this.type;
+ /** @type {string} */
+ this.syntax;
+ /** @type {!Gonzales.Location} */
+ this.start;
+ /** @type {!Gonzales.Location} */
+ this.end;
+ /** @type {(string|!Array<!Gonzales.Node>)} */
+ this.content;
+}

Powered by Google App Engine
This is Rietveld 408576698