[{"name":"Stylus.Parser","comment":" Convert a strict subset of Stylus to CSS\n\n@docs stylusToCss\n\n\n## Internal\n\n@docs Expression\n@docs Problem\n@docs selector\n@docs selectors\n@docs section\n@docs rule\n@docs declaration\n@docs declarations\n@docs newlines\n@docs commentLine\n@docs stylus\n@docs serializeStylusAst\n\n","unions":[{"name":"Expression","comment":" ","args":[],"cases":[["Rule",["( Stylus.Parser.Selectors, Stylus.Parser.RuleContent )"]],["Comment",["String.String"]],["Newlines",[]]]},{"name":"Problem","comment":" ","args":[],"cases":[["BadIndent",[]],["BadKeyword",["String.String"]],["GenericProblem",[]]]}],"aliases":[],"values":[{"name":"commentLine","comment":" ","type":"Stylus.Parser.StyParser Stylus.Parser.Expression"},{"name":"declaration","comment":" Parse a declaration (kept for backwards compatibility)\n","type":"List.List Stylus.Parser.Declaration -> Stylus.Parser.StyParser (Parser.Advanced.Step (List.List Stylus.Parser.Declaration) (List.List Stylus.Parser.Declaration))"},{"name":"declarations","comment":" Parse declarations (kept for backwards compatibility)\n","type":"Stylus.Parser.StyParser (List.List Stylus.Parser.Declaration)"},{"name":"newlines","comment":" ","type":"Stylus.Parser.StyParser Stylus.Parser.Expression"},{"name":"rule","comment":" Parse a top-level rule\n","type":"Stylus.Parser.StyParser Stylus.Parser.Expression"},{"name":"section","comment":" ","type":"List.List Stylus.Parser.Expression -> Stylus.Parser.StyParser (Parser.Advanced.Step (List.List Stylus.Parser.Expression) (List.List Stylus.Parser.Expression))"},{"name":"selector","comment":" ","type":"Stylus.Parser.StyParser String.String"},{"name":"selectors","comment":" Parse selectors ending with newline\n","type":"Stylus.Parser.StyParser Stylus.Parser.Selectors"},{"name":"serializeStylusAst","comment":" ","type":"List.List Stylus.Parser.Expression -> String.String"},{"name":"stylus","comment":" ","type":"Stylus.Parser.StyParser (List.List Stylus.Parser.Expression)"},{"name":"stylusToCss","comment":"\n\n    stylusToCss \"\"\"\n    div\n      width 400px\n      height 300px\n    \"\"\"\n\nyields\n\n    div { width: 400px; height: 300px; }\n\n","type":"String.String -> Result.Result (List.List (Parser.Advanced.DeadEnd Stylus.Parser.Context Stylus.Parser.Problem)) String.String"}],"binops":[]}]