MCPcopy
hub / github.com/wavetermdev/waveterm / MakeParser

Function MakeParser

pkg/vdom/cssparser/cssparser.go:22–27  ·  view source on GitHub ↗
(input string)

Source from the content-addressed store, hash-verified

20}
21
22func MakeParser(input string) *Parser {
23 return &Parser{
24 Input: input,
25 Length: len(input),
26 }
27}
28
29func (p *Parser) Parse() (map[string]string, error) {
30 result := make(map[string]string)

Callers 3

styleAttrStrToStyleMapFunction · 0.92
TestParse1Function · 0.85
TestParserErrorsFunction · 0.85

Calls

no outgoing calls

Tested by 2

TestParse1Function · 0.68
TestParserErrorsFunction · 0.68