Engine

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DumpProtobuf

func DumpProtobuf(file *pb.File, binPath string) error

func FactoryStmts

func FactoryStmts() *pb.Stmts

FactoryStmts returns a new instance of Stmts

func GetClassesInFile

func GetClassesInFile(file *pb.File) []*pb.StmtClass

func GetFunctionsInFile

func GetFunctionsInFile(file *pb.File) []*pb.StmtFunction

func GetLocPositionFromSource

func GetLocPositionFromSource(sourceCode []string, start int, end int) *pb.LinesOfCode

func HtmlChartArea

func HtmlChartArea(data *orderedmap.OrderedMap[string, float64], label string, id string) string

render as HTML

func HtmlChartLine

func HtmlChartLine(data *orderedmap.OrderedMap[string, float64], label string, id string) string

render as HTML

Types

type Engine

type Engine interface {
	IsRequired() bool
	Ensure() error
	DumpAST()
	Finish() error
	SetProgressbar(progressbar *pterm.SpinnerPrinter)
	SetConfiguration(configuration *Configuration.Configuration)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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