grammars

package
v0.20.1 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Grammars = make(map[string]map[string]*tosca.Grammar)

Map of keyword -> version -> grammar

View Source
var ImplicitProfilePaths = make(map[string]map[string]string)

Map of keyword -> version -> internal URL path

Functions

func CompatibleGrammars

func CompatibleGrammars(context1 *tosca.Context, context2 *tosca.Context) bool

func Detect

func Detect(context *tosca.Context) bool

func DetectVersion

func DetectVersion(context *tosca.Context) (*tosca.Context, *string)

func GetGrammar

func GetGrammar(context *tosca.Context) (*tosca.Grammar, *tosca.Context)

func GetImplicitImportSpec

func GetImplicitImportSpec(context *tosca.Context) (*tosca.ImportSpec, bool)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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