MCPcopy Index your code
hub / github.com/NativeScript/NativeScript / declarations

Function declarations

packages/core/css/lib/parse/index.ts:244–261  ·  view source on GitHub ↗

* Parse declarations.

()

Source from the content-addressed store, hash-verified

242 */
243
244 function declarations() {
245 var decls = [];
246
247 if (!open()) return error("missing '{'");
248 comments(decls);
249
250 // declarations
251 var decl;
252 while ((decl = declaration())) {
253 if (decl !== false) {
254 decls.push(decl);
255 comments(decls);
256 }
257 }
258
259 if (!close()) return error("missing '}'");
260 return decls;
261 }
262
263 /**
264 * Parse keyframe.

Callers 2

keyframeFunction · 0.85
ruleFunction · 0.85

Calls 6

openFunction · 0.85
commentsFunction · 0.85
declarationFunction · 0.85
closeFunction · 0.85
errorFunction · 0.70
pushMethod · 0.45

Tested by

no test coverage detected