Documentation
¶
Index ¶
- type Client
- func (c *Client) CollectTokens() error
- func (c *Client) Do(file io.Reader) error
- func (c *Client) FlattenPrefixObjectLists()
- func (c *Client) GetLexemes() []lexertoken.Token
- func (c *Client) GetPrefixMap() map[string]lexertoken.Token
- func (c *Client) ParsePrefixes()
- func (c *Client) SwapPrefixForIRI()
- type ClientOption
- type Lexeror
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 (*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() }
Click to show internal directories.
Click to hide internal directories.