parser

package
v0.0.0-...-f8a3531 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func MustNew

func MustNew(opts ...ClientOption) *Client

func New

func New(opts ...ClientOption) (*Client, error)

func (*Client) CollectTokens

func (c *Client) CollectTokens() error

func (*Client) Do

func (c *Client) Do(file io.Reader) error

func (*Client) FlattenPrefixObjectLists

func (c *Client) FlattenPrefixObjectLists()

func (*Client) GetLexemes

func (c *Client) GetLexemes() []lexertoken.Token

func (*Client) GetPrefixMap

func (c *Client) GetPrefixMap() map[string]lexertoken.Token

func (*Client) ParsePrefixes

func (c *Client) ParsePrefixes()

func (*Client) SwapPrefixForIRI

func (c *Client) SwapPrefixForIRI()

type ClientOption

type ClientOption func(*Client)

func WithLexeror

func WithLexeror(le Lexeror) ClientOption

type Lexeror

type Lexeror interface {
	SetInput(string)
	NextToken() chan lexertoken.Token
	Run()
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳