Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/ogone/src/classes/css/StyleParser.ts>default

Advanced Web Composition for Future
Latest
class default
extends Utils
import { default } from "https://deno.land/x/ogone@revb3/src/classes/css/StyleParser.ts";

Properties

protected
nestedAtRules: RegExp
protected
regularAtRules: RegExp
readonly
mapStyleBundle: Map<string, StyleBundle>

Methods

protected
getComponentContext(
styleBundle: StyleBundle,
bundle: Bundle,
component: Component,
opts?: { variable: string; },
)
protected
getContextRecursive(
styleBundle: StyleBundle,
bundle: Bundle,
component: Component,
opts?: any,
): string
protected
getProperties(
css: string,
styleBundle: StyleBundle,
bundle: Bundle,
component: Component,
opts: { selector: string; },
)
protected
getRules(
css: string,
styleBundle: StyleBundle,
bundle: Bundle,
component: Component,
opts?: any,
): any
protected
getTokens(
styleBundle: StyleBundle,
bundle: Bundle,
component: Component,
): string
protected
getValueOf(
variable: { value: string; eval: boolean; isSelector: boolean; exportable: boolean; },
styleBundle: StyleBundle,
bundle: Bundle,
component: Component,
opts?: any,
)

Static Methods

isNotSpecial(selector: string): boolean