reduce

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Reduce

func Reduce(elems []any, nonTerminals []lex.Token, defaultField string) ([]any, []lex.Token, bool)

Reduce will reduce the elems and nonTerminals stacks using the available reducers and return those slices modified to contain the reduced expressions. The elems will contain the reduced expression the the nonTerminals will contain the modified stack of nonTerminals yet to be reduced.

Types

This section is empty.

Jump to

Keyboard shortcuts

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