decoder

package
v0.35.0-alpha1 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2024 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecoderContext added in v0.29.0

func DecoderContext(ctx context.Context) decoder.DecoderContext

Types

type GlobalPathReader added in v0.34.0

type GlobalPathReader struct {
	PathReaderMap PathReaderMap
}

GlobalPathReader is a PathReader that delegates language specific PathReaders that usually come from features.

func (*GlobalPathReader) PathContext added in v0.34.0

func (mr *GlobalPathReader) PathContext(path lang.Path) (*decoder.PathContext, error)

func (*GlobalPathReader) Paths added in v0.34.0

func (mr *GlobalPathReader) Paths(ctx context.Context) []lang.Path

type PathReaderMap added in v0.34.0

type PathReaderMap map[string]decoder.PathReader

Jump to

Keyboard shortcuts

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