1
0
Fork 0
mirror of https://github.com/Luzifer/vault-otp-ui.git synced 2024-11-09 00:30:05 +00:00
vault-otp-ui/vendor/github.com/tdewolff/parse
Knut Ahlers a483fab651
Vendor dependencies
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-06-14 21:26:35 +02:00
..
html Vendor dependencies 2017-06-14 21:26:35 +02:00
js Vendor dependencies 2017-06-14 21:26:35 +02:00
.travis.yml Vendor dependencies 2017-06-14 21:26:35 +02:00
common.go Vendor dependencies 2017-06-14 21:26:35 +02:00
LICENSE.md Vendor dependencies 2017-06-14 21:26:35 +02:00
README.md Vendor dependencies 2017-06-14 21:26:35 +02:00
util.go Vendor dependencies 2017-06-14 21:26:35 +02:00

Parse Build Status GoDoc

This package contains several lexers and parsers written in Go. All subpackages are built to be streaming, high performance and to be in accordance with the official (latest) specifications.

The lexers are implemented using buffer.Lexer in https://github.com/tdewolff/buffer and the parsers work on top of the lexers. Some subpackages have hashes defined (using Hasher) that speed up common byte-slice comparisons.

CSS

This package is a CSS3 lexer and parser. Both follow the specification at CSS Syntax Module Level 3. The lexer takes an io.Reader and converts it into tokens until the EOF. The parser returns a parse tree of the full io.Reader input stream, but the low-level Next function can be used for stream parsing to returns grammar units until the EOF.

See README here.

HTML

This package is an HTML5 lexer. It follows the specification at The HTML syntax. The lexer takes an io.Reader and converts it into tokens until the EOF.

See README here.

JS

This package is a JS lexer (ECMA-262, edition 6.0). It follows the specification at ECMAScript Language Specification. The lexer takes an io.Reader and converts it into tokens until the EOF.

See README here.

JSON

This package is a JSON parser (ECMA-404). It follows the specification at JSON. The parser takes an io.Reader and converts it into tokens until the EOF.

See README here.

SVG

This package contains common hashes for SVG1.1 tags and attributes.

XML

This package is an XML1.0 lexer. It follows the specification at Extensible Markup Language (XML) 1.0 (Fifth Edition). The lexer takes an io.Reader and converts it into tokens until the EOF.

See README here.

License

Released under the MIT license.