js

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2023 License: AGPL-3.0 Imports: 5 Imported by: 0

README

References

Documentation

Overview

Package js the js parser

Index

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

func (p *Parser) GetElement(ctx *plugin.Context, content any, arg string) (string, error)

GetElement gets the element of the content with the given arguments. returns the string result.

func (*Parser) GetElements

func (p *Parser) GetElements(ctx *plugin.Context, content any, arg string) ([]string, error)

GetElements gets the elements of the content with the given arguments. returns the slice of string result.

func (*Parser) GetString

func (p *Parser) GetString(ctx *plugin.Context, content any, arg string) (ret string, err error)

GetString gets the string of the content with the given arguments. returns the string result.

func (*Parser) GetStrings

func (p *Parser) GetStrings(ctx *plugin.Context, content any, arg string) (ret []string, err error)

GetStrings gets the strings of the content with the given arguments. returns the slice of string result.

Jump to

Keyboard shortcuts

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