bcl

package
v0.0.0-...-8de7dcd Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fmt

func Fmt(data string) (string, error)

Types

type Parser

type Parser struct {
	Verbose  bool
	FailFast bool
	// contains filtered or unexported fields
}

func NewParser

func NewParser(schemaSpec *bcl_j5pb.Schema) (*Parser, error)

func (*Parser) ParseAST

func (p *Parser) ParseAST(tree *parser.File, msg protoreflect.Message) (*bcl_j5pb.SourceLocation, error)

func (*Parser) ParseFile

func (p *Parser) ParseFile(filename string, data string, msg protoreflect.Message) (*bcl_j5pb.SourceLocation, error)

Directories

Path Synopsis
package errpos provides position/syntax and context path based errors, compatible with linters and humans.
package errpos provides position/syntax and context path based errors, compatible with linters and humans.

Jump to

Keyboard shortcuts

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