js

package
v1.27.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 24, 2021 License: OSL-3.0 Imports: 2 Imported by: 0

README

JavaScript

I think I found a better option. Instead of using the Parser, I can just use the Lexer. That way, the input stays as is. As long as what I said holds true, about the values being valid JSON, it seems to do the trick. I probably need to add more cases, but the code here works with basic inputs.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Lexer added in v1.26.1

type Lexer struct {
	*js.Lexer
	*parse.Input
}

godocs.io/github.com/tdewolff/parse/v2/js#Lexer

func NewLexer added in v1.26.1

func NewLexer(b []byte) Lexer

godocs.io/github.com/tdewolff/parse/v2/js#NewLexer

func (Lexer) Values added in v1.26.1

func (l Lexer) Values() map[string][]byte

godocs.io/net/url#Values

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL