parserinput

package
v0.0.0-...-6c7df26 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Model

type Model[T any, G any] struct {
	lexerinput.Model[T]
	// contains filtered or unexported fields
}

func NewModel

func NewModel[T any, G any](parser parser.Parser[G], options ...lexerinput.Option[T]) *Model[T, G]

func (Model[T, G]) Error

func (m Model[T, G]) Error() error

func (*Model[T, G]) OnUpdateStart

func (m *Model[T, G]) OnUpdateStart(msg tea.Msg) tea.Cmd

func (Model[T, G]) Parsed

func (m Model[T, G]) Parsed() *G

func (Model[T, G]) ParsedBeforeCursor

func (m Model[T, G]) ParsedBeforeCursor() (*G, error)

func (*Model[T, G]) SetValue

func (m *Model[T, G]) SetValue(value string)

Jump to

Keyboard shortcuts

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