Documentation ¶ Index ¶ type Model func NewModel[T any, G any](parser parser.Parser[G], options ...lexerinput.Option[T]) *Model[T, G] func (m Model[T, G]) Error() error func (m *Model[T, G]) OnUpdateStart(msg tea.Msg) tea.Cmd func (m Model[T, G]) Parsed() *G func (m Model[T, G]) ParsedBeforeCursor() (*G, error) func (m *Model[T, G]) SetValue(value string) 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) Source Files ¶ View all Source files model.go Click to show internal directories. Click to hide internal directories.