ast

package module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2022 License: MPL-2.0 Imports: 12 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse(ctx context.Context, filePath string, enableSourceMap bool) (ef spec.Earthfile, err error)

Parse parses an earthfile into an AST.

func ParseVersion

func ParseVersion(filePath string, enableSourceMap bool) (*spec.Version, error)

ParseVersion reads the VERSION command for an Earthfile and returns spec.Version

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