symflower

package
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2025 License: MIT Imports: 11 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Model added in v0.5.0

type Model struct {
	// contains filtered or unexported fields
}

Model holds a Symflower model using the locally installed CLI.

func NewModelSmartTemplate added in v1.0.0

func NewModelSmartTemplate() (model *Model)

NewModelSmartTemplate returns a smart template Symflower model.

func NewModelSmartTemplateWithTimeout added in v1.0.0

func NewModelSmartTemplateWithTimeout(timeout time.Duration) (model *Model)

NewModelSmartTemplateWithTimeout returns a smart template Symflower model with a given timeout.

func NewModelSymbolicExecution added in v1.0.0

func NewModelSymbolicExecution() (model *Model)

NewModelSymbolicExecution returns a symbolic execution Symflower model.

func NewModelSymbolicExecutionWithTimeout added in v1.0.0

func NewModelSymbolicExecutionWithTimeout(timeout time.Duration) (model *Model)

NewModelSymbolicExecutionWithTimeout returns a symbolic execution Symflower model with a given timeout.

func (*Model) Attributes added in v1.0.2

func (m *Model) Attributes() (attributes map[string]string)

Attributes returns query attributes.

func (*Model) Clone added in v1.0.6

func (m *Model) Clone() (clone model.Model)

Clone returns a copy of the model.

func (*Model) ID added in v0.5.0

func (m *Model) ID() (id string)

ID returns full identifier, including the provider and attributes.

func (*Model) MetaInformation added in v0.6.1

func (m *Model) MetaInformation() (metaInformation *model.MetaInformation)

MetaInformation returns the meta information of a model.

func (*Model) ModelID added in v1.0.2

func (m *Model) ModelID() (modelID string)

ModelID returns the unique identifier of this model with its provider.

func (*Model) ModelIDWithoutProvider added in v1.0.2

func (m *Model) ModelIDWithoutProvider() (modelID string)

ModelIDWithoutProvider returns the unique identifier of this model without its provider.

func (*Model) SetAttributes added in v1.0.6

func (m *Model) SetAttributes(attributes map[string]string)

SetAttributes sets the given attributes.

func (*Model) WriteTests added in v0.6.0

func (m *Model) WriteTests(ctx model.Context) (assessment metrics.Assessments, err error)

WriteTests generates test files for the given implementation file in a repository.

Jump to

Keyboard shortcuts

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