UNPKG

css-tree

Version:

A tool set for CSS: fast detailed parser (CSS → AST), walker (AST traversal), generator (AST → CSS) and lexer (validation and matching) based on specs and browser implementations

17 lines (14 loc) 269 B
'use strict'; const page = { parse: { prelude() { return this.createSingleNodeList( this.SelectorList() ); }, block() { return this.Block(true); } } }; module.exports = page;