Home
last modified time | relevance | path

Searched refs:AttributeAction (Results 1 – 4 of 4) sorted by relevance

/third_party/css-what/src/__fixtures__/
Dtests.ts1 import { Selector, SelectorType, AttributeAction, IgnoreCaseMode } from "..";
150 action: AttributeAction.Equals,
175 action: AttributeAction.Element,
191 action: AttributeAction.Element,
232 action: AttributeAction.Equals,
252 action: AttributeAction.Start,
268 action: AttributeAction.Start,
284 action: AttributeAction.End,
300 action: AttributeAction.Any,
316 action: AttributeAction.Equals,
[all …]
/third_party/css-what/src/
Dstringify.ts1 import { Selector, SelectorType, AttributeAction } from "./types";
95 token.action === AttributeAction.Equals &&
103 token.action === AttributeAction.Element &&
112 if (token.action === AttributeAction.Exists) {
126 function getActionValue(action: AttributeAction): string {
128 case AttributeAction.Equals:
130 case AttributeAction.Element:
132 case AttributeAction.Start:
134 case AttributeAction.End:
136 case AttributeAction.Any:
[all …]
Dparse.ts6 AttributeAction,
50 const actionTypes = new Map<number, AttributeAction>([
51 [CharCode.Tilde, AttributeAction.Element],
52 [CharCode.Circumflex, AttributeAction.Start],
53 [CharCode.Dollar, AttributeAction.End],
54 [CharCode.Asterisk, AttributeAction.Any],
55 [CharCode.ExclamationMark, AttributeAction.Not],
56 [CharCode.Pipe, AttributeAction.Hyphen],
237 function addSpecialAttribute(name: string, action: AttributeAction) {
320 addSpecialAttribute("class", AttributeAction.Element);
[all …]
Dtypes.ts42 action: AttributeAction;
77 export enum AttributeAction { enum