1 // Code generated by "stringer -type state"; DO NOT EDIT.
8 // An "invalid array index" compiler error signifies that the constant values have changed.
9 // Re-run the stringer command to generate them again.
13 _ = x[stateAttrName-2]
14 _ = x[stateAfterName-3]
15 _ = x[stateBeforeValue-4]
22 _ = x[stateJSDqStr-11]
23 _ = x[stateJSSqStr-12]
24 _ = x[stateJSTmplLit-13]
25 _ = x[stateJSRegexp-14]
26 _ = x[stateJSBlockCmt-15]
27 _ = x[stateJSLineCmt-16]
28 _ = x[stateJSHTMLOpenCmt-17]
29 _ = x[stateJSHTMLCloseCmt-18]
31 _ = x[stateCSSDqStr-20]
32 _ = x[stateCSSSqStr-21]
33 _ = x[stateCSSDqURL-22]
34 _ = x[stateCSSSqURL-23]
36 _ = x[stateCSSBlockCmt-25]
37 _ = x[stateCSSLineCmt-26]
42 const _state_name = "stateTextstateTagstateAttrNamestateAfterNamestateBeforeValuestateHTMLCmtstateRCDATAstateAttrstateURLstateSrcsetstateJSstateJSDqStrstateJSSqStrstateJSTmplLitstateJSRegexpstateJSBlockCmtstateJSLineCmtstateJSHTMLOpenCmtstateJSHTMLCloseCmtstateCSSstateCSSDqStrstateCSSSqStrstateCSSDqURLstateCSSSqURLstateCSSURLstateCSSBlockCmtstateCSSLineCmtstateErrorstateDead"
44 var _state_index = [...]uint16{0, 9, 17, 30, 44, 60, 72, 83, 92, 100, 111, 118, 130, 142, 156, 169, 184, 198, 216, 235, 243, 256, 269, 282, 295, 306, 322, 337, 347, 356}
46 func (i state) String() string {
47 if i >= state(len(_state_index)-1) {
48 return "state(" + strconv.FormatInt(int64(i), 10) + ")"
50 return _state_name[_state_index[i]:_state_index[i+1]]