Documentation
¶
Overview ¶
Package js the js parser
Index ¶
- type Parser
- func (p *Parser) GetElement(ctx *plugin.Context, content any, arg string) (string, error)
- func (p *Parser) GetElements(ctx *plugin.Context, content any, arg string) ([]string, error)
- func (p *Parser) GetString(ctx *plugin.Context, content any, arg string) (ret string, err error)
- func (p *Parser) GetStrings(ctx *plugin.Context, content any, arg string) (ret []string, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parser ¶
type Parser struct{}
Parser the js parser
func (*Parser) GetElement ¶
GetElement gets the element of the content with the given arguments. returns the string result.
func (*Parser) GetElements ¶
GetElements gets the elements of the content with the given arguments. returns the slice of string result.
Click to show internal directories.
Click to hide internal directories.