yayamls

package module
v0.0.0-...-70fd0a4 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package yayamls represents an engine for yamly with unique YAML marshalling system with full specification coverage.

Index

Constants

This section is empty.

Variables

View Source
var Generator generator.EngineGenerator = engineGenerator{}

Generator is used in generated code.

Functions

This section is empty.

Types

type Marshaler

type Marshaler interface {
	MarshalYAML() ([]byte, error)
}

Marshaler interface can be implemented to customize type's behaviour when being marshaled into a YAML document returning raw representation

type Unmarshaler

type Unmarshaler interface {
	UnmarshalYAML([]byte) error
}

Unmarshaler interface can be implemented to customize type's behaviour when being unmarshaled from YAML document using raw YAML.

Directories

Path Synopsis
ast
Package ast contains types for YAML AST representation.
Package ast contains types for YAML AST representation.
astcmp
Package astcmp contains types and method to compare YAML ASTs.
Package astcmp contains types and method to compare YAML ASTs.
astprint
Package astprint contains types and functions for printing and formatting string representation of YAML AST.
Package astprint contains types and functions for printing and formatting string representation of YAML AST.
Package decode implements Go types decoding from YAML as part of yamly engine.
Package decode implements Go types decoding from YAML as part of yamly engine.
Package encode implements Go types encoding into YAML as part of yamly engine.
Package encode implements Go types encoding into YAML as part of yamly engine.
Package lexer contains types and methods to transform source text into tokens.
Package lexer contains types and methods to transform source text into tokens.
Package parser contains functions and types to parse tokens into YAML AST.
Package parser contains functions and types to parse tokens into YAML AST.
pkg
cpaccessor
Package cpaccessor contains methods to access streams with checkpointing conception.
Package cpaccessor contains methods to access streams with checkpointing conception.
Package schema is used to derive types from YAML source.
Package schema is used to derive types from YAML source.
Package token contains types and functions dedicated for lexical tokens generated by lexer.
Package token contains types and functions dedicated for lexical tokens generated by lexer.
Package yamlchar contains functions related to YAML characters and keywords specification.
Package yamlchar contains functions related to YAML characters and keywords specification.

Jump to

Keyboard shortcuts

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