symflower

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2025 License: MIT Imports: 11 Imported by: 0

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