internal

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Stack

type Stack[T gr.TokenTyper] struct {
	// contains filtered or unexported fields
}

func (*Stack[T]) Accept

func (s *Stack[T]) Accept()

func (Stack[T]) IsEmpty

func (s Stack[T]) IsEmpty() bool

func (*Stack[T]) Pop

func (s *Stack[T]) Pop() (*gr.Token[T], bool)

func (Stack[T]) Popped

func (s Stack[T]) Popped() []*gr.Token[T]

func (*Stack[T]) Push

func (s *Stack[T]) Push(tk *gr.Token[T])

func (*Stack[T]) Refuse

func (s *Stack[T]) Refuse()

func (*Stack[T]) Reset

func (s *Stack[T]) Reset()

Jump to

Keyboard shortcuts

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