langext

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 23, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Late

func Late(fn func(complete gval.Language) gval.Language) (bound gval.Language)

Late is a helper to provide late-binding for a language; that is, the completed language is passed back in as an argument.

func PrefixSublanguage

func PrefixSublanguage(r rune, sub gval.Language, ext func(context.Context, *gval.Parser, gval.Evaluable) (gval.Evaluable, error)) gval.Language

PrefixSublanguage is a helper that simply calls the given sublanguage as an extension.

Types

This section is empty.

Jump to

Keyboard shortcuts

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