class default
implements DocumentOptions
extends Utils
import { default } from "https://deno.land/x/ogone@revb3/src/classes/css2/Document.ts";
Constructors
new
default(text: DocumentOptions["text"],
expressions: DocumentOptions["expressions"],
typedExpressions: DocumentOptions["typedExpressions"],
Properties
optional
data: DocumentOptions["data"]mapRules: Map<string, Rules>
Methods
use(data: DocumentOptions["data"])
all the data of the current document, will overwrite the document's data after setting the data, the document will start parsing and save all the rules inside it