Versions in this module Expand all Collapse all v0 v0.0.4 Jun 30, 2024 Changes in this version + func HSL2RGB(h, s, l float64) (float64, float64, float64) + func IsIdent(b []byte) bool + func IsURLUnquoted(b []byte) bool + type GrammarType uint32 + const AtRuleGrammar + const BeginAtRuleGrammar + const BeginRulesetGrammar + const CommentGrammar + const CustomPropertyGrammar + const DeclarationGrammar + const EndAtRuleGrammar + const EndRulesetGrammar + const ErrorGrammar + const QualifiedRuleGrammar + const TokenGrammar + func (tt GrammarType) String() string + type Hash uint32 + const Accelerator + const Aliceblue + const Alpha + const Antiquewhite + const Aquamarine + const Azimuth + const Background + const Background_Attachment + const Background_Color + const Background_Image + const Background_Position + const Background_Position_X + const Background_Position_Y + const Background_Repeat + const Background_Size + const Behavior + const Black + const Blanchedalmond + const Blueviolet + const Bold + const Border + const Border_Bottom + const Border_Bottom_Color + const Border_Bottom_Style + const Border_Bottom_Width + const Border_Box + const Border_Collapse + const Border_Color + const Border_Left + const Border_Left_Color + const Border_Left_Style + const Border_Left_Width + const Border_Right + const Border_Right_Color + const Border_Right_Style + const Border_Right_Width + const Border_Spacing + const Border_Style + const Border_Top + const Border_Top_Color + const Border_Top_Style + const Border_Top_Width + const Border_Width + const Bottom + const Box_Shadow + const Burlywood + const Cadetblue + const Calc + const Caption_Side + const Caret_Color + const Center + const Charset + const Chartreuse + const Chocolate + const Clear + const Clip + const Color + const Column_Rule + const Column_Rule_Color + const Content + const Cornflowerblue + const Cornsilk + const Counter_Increment + const Counter_Reset + const Cue + const Cue_After + const Cue_Before + const Currentcolor + const Cursive + const Cursor + const Darkblue + const Darkcyan + const Darkgoldenrod + const Darkgray + const Darkgreen + const Darkkhaki + const Darkmagenta + const Darkolivegreen + const Darkorange + const Darkorchid + const Darksalmon + const Darkseagreen + const Darkslateblue + const Darkslategray + const Darkturquoise + const Darkviolet + const Deeppink + const Deepskyblue + const Default + const Direction + const Display + const Document + const Dodgerblue + const Elevation + const Empty_Cells + const Fantasy + const Fill + const Filter + const Firebrick + const Flex + const Float + const Floralwhite + const Font + const Font_Face + const Font_Family + const Font_Size + const Font_Size_Adjust + const Font_Stretch + const Font_Style + const Font_Variant + const Font_Weight + const Forestgreen + const Fuchsia + const Gainsboro + const Ghostwhite + const Goldenrod + const Greenyellow + const Grid + const Height + const Honeydew + const Hsl + const Hsla + const Ime_Mode + const Import + const Important + const Include_Source + const Indianred + const Inherit + const Initial + const Keyframes + const Large + const Larger + const Lavender + const Lavenderblush + const Lawngreen + const Layer_Background_Color + const Layer_Background_Image + const Layout_Flow + const Layout_Grid + const Layout_Grid_Char + const Layout_Grid_Char_Spacing + const Layout_Grid_Line + const Layout_Grid_Mode + const Layout_Grid_Type + const Left + const Lemonchiffon + const Letter_Spacing + const Lightblue + const Lightcoral + const Lightcyan + const Lightgoldenrodyellow + const Lightgray + const Lightgreen + const Lightpink + const Lightsalmon + const Lightseagreen + const Lightskyblue + const Lightslateblue + const Lightsteelblue + const Lightyellow + const Limegreen + const Line_Break + const Line_Height + const Linear_Gradient + const List_Style + const List_Style_Image + const List_Style_Position + const List_Style_Type + const Local + const Magenta + const Margin + const Margin_Bottom + const Margin_Left + const Margin_Right + const Margin_Top + const Marker_Offset + const Marks + const Mask + const Max_Height + const Max_Width + const Media + const Medium + const Mediumaquamarine + const Mediumblue + const Mediumorchid + const Mediumpurple + const Mediumseagreen + const Mediumslateblue + const Mediumspringgreen + const Mediumturquoise + const Mediumvioletred + const Midnightblue + const Min_Height + const Min_Width + const Mintcream + const Mistyrose + const Moccasin + const Monospace + const Ms_Filter + const Namespace + const Navajowhite + const No_Repeat + const None + const Normal + const Olivedrab + const Orangered + const Orphans + const Outline + const Outline_Color + const Outline_Style + const Outline_Width + const Overflow + const Overflow_X + const Overflow_Y + const Padding + const Padding_Bottom + const Padding_Box + const Padding_Left + const Padding_Right + const Padding_Top + const Page + const Page_Break_After + const Page_Break_Before + const Page_Break_Inside + const Palegoldenrod + const Palegreen + const Paleturquoise + const Palevioletred + const Papayawhip + const Pause + const Pause_After + const Pause_Before + const Peachpuff + const Pitch + const Pitch_Range + const Play_During + const Position + const Powderblue + const Progid + const Quotes + const Radial_Gradient + const Repeat + const Rgb + const Rgba + const Richness + const Right + const Rosybrown + const Round + const Royalblue + const Ruby_Align + const Ruby_Overhang + const Ruby_Position + const Saddlebrown + const Sandybrown + const Sans_Serif + const Scroll + const Scrollbar_3d_Light_Color + const Scrollbar_Arrow_Color + const Scrollbar_Base_Color + const Scrollbar_Dark_Shadow_Color + const Scrollbar_Face_Color + const Scrollbar_Highlight_Color + const Scrollbar_Shadow_Color + const Scrollbar_Track_Color + const Seagreen + const Seashell + const Serif + const Size + const Slateblue + const Slategray + const Small + const Smaller + const Space + const Speak + const Speak_Header + const Speak_Numeral + const Speak_Punctuation + const Speech_Rate + const Springgreen + const Steelblue + const Stress + const Stroke + const Supports + const Table_Layout + const Text_Align + const Text_Align_Last + const Text_Autospace + const Text_Decoration + const Text_Decoration_Color + const Text_Emphasis + const Text_Emphasis_Color + const Text_Indent + const Text_Justify + const Text_Kashida_Space + const Text_Overflow + const Text_Shadow + const Text_Transform + const Text_Underline_Position + const Top + const Transition + const Transparent + const Turquoise + const Unicode_Bidi + const Unset + const Vertical_Align + const Visibility + const Voice_Family + const Volume + const White + const White_Space + const Whitesmoke + const Widows + const Width + const Word_Break + const Word_Spacing + const Word_Wrap + const Writing_Mode + const X_Large + const X_Small + const Xx_Large + const Xx_Small + const Yellow + const Yellowgreen + const Z_Index + func ToHash(s []byte) Hash + func (i Hash) String() string + type Lexer struct + func NewLexer(r io.Reader) *Lexer + func (l *Lexer) Err() error + func (l *Lexer) Next() (TokenType, []byte) + func (l *Lexer) Restore() + type Parser struct + func NewParser(r io.Reader, isInline bool) *Parser + func (p *Parser) Err() error + func (p *Parser) Next() (GrammarType, TokenType, []byte) + func (p *Parser) Restore() + func (p *Parser) Values() []Token + type State func(*Parser) GrammarType + type Token struct + Data []byte + func (t Token) String() string + type TokenType uint32 + const AtKeywordToken + const BadStringToken + const BadURLToken + const CDCToken + const CDOToken + const ColonToken + const ColumnToken + const CommaToken + const CommentToken + const CustomPropertyNameToken + const CustomPropertyValueToken + const DashMatchToken + const DelimToken + const DimensionToken + const EmptyToken + const ErrorToken + const FunctionToken + const HashToken + const IdentToken + const IncludeMatchToken + const LeftBraceToken + const LeftBracketToken + const LeftParenthesisToken + const NumberToken + const PercentageToken + const PrefixMatchToken + const RightBraceToken + const RightBracketToken + const RightParenthesisToken + const SemicolonToken + const StringToken + const SubstringMatchToken + const SuffixMatchToken + const URLToken + const UnicodeRangeToken + const WhitespaceToken + func (tt TokenType) String() string