Lines Matching full:occurs
85 // stateTag occurs before an HTML attribute or the end of a tag.
87 // stateAttrName occurs inside an attribute name.
88 // It occurs between the ^'s in ` ^name^ = value`.
90 // stateAfterName occurs after an attr name has ended but before any
91 // equals sign. It occurs between the ^'s in ` name^ ^= value`.
93 // stateBeforeValue occurs after the equals sign but before the value.
94 // It occurs between the ^'s in ` name =^ ^value`.
96 // stateHTMLCmt occurs inside an <!-- HTML comment -->.
98 // stateRCDATA occurs inside an RCDATA element (<textarea> or <title>)
101 // stateAttr occurs inside an HTML attribute whose content is text.
103 // stateURL occurs inside an HTML attribute whose content is a URL.
105 // stateSrcset occurs inside an HTML srcset attribute.
107 // stateJS occurs inside an event handler or script element.
109 // stateJSDqStr occurs inside a JavaScript double quoted string.
111 // stateJSSqStr occurs inside a JavaScript single quoted string.
113 // stateJSRegexp occurs inside a JavaScript regexp literal.
115 // stateJSBlockCmt occurs inside a JavaScript /* block comment */.
117 // stateJSLineCmt occurs inside a JavaScript // line comment.
119 // stateCSS occurs inside a <style> element or style attribute.
121 // stateCSSDqStr occurs inside a CSS double quoted string.
123 // stateCSSSqStr occurs inside a CSS single quoted string.
125 // stateCSSDqURL occurs inside a CSS double quoted url("...").
127 // stateCSSSqURL occurs inside a CSS single quoted url('...').
129 // stateCSSURL occurs inside a CSS unquoted url(...).
131 // stateCSSBlockCmt occurs inside a CSS /* block comment */.
133 // stateCSSLineCmt occurs inside a CSS // line comment.
185 // isInTag return whether s occurs solely inside an HTML tag.
198 // delimNone occurs outside any attribute.
200 // delimDoubleQuote occurs when a double quote (") closes the attribute.
202 // delimSingleQuote occurs when a single quote (') closes the attribute.
204 // delimSpaceOrTagEnd occurs when a space or right angle bracket (>)
228 // urlPartNone occurs when not in a URL, or possibly at the start:
231 // urlPartPreQuery occurs in the scheme, authority, or path; between the
234 // urlPartQueryOrFrag occurs in the query portion between the ^s in
237 // urlPartUnknown occurs due to joining of contexts both before and
261 // jsCtxRegexp occurs where a '/' would start a regexp literal.
263 // jsCtxDivOp occurs where a '/' would start a division operator.
265 // jsCtxUnknown occurs where a '/' is ambiguous due to context joining.
289 // elementNone occurs outside a special tag or special element body.