task

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

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

Go to latest
Published: Jun 20, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// TODO: just make this a string
	GenInt generator.TaskName = "GenInt"
)
View Source
const (
	// TODO: just make this a string
	GenInt32 generator.TaskName = "GenInt32"
)

Variables

This section is empty.

Functions

func RegisterDolusTasks

func RegisterDolusTasks()

func RegisterTask

func RegisterTask(task generator.Task) error

Types

type GenInt32Task

type GenInt32Task struct{}

func (*GenInt32Task) ExpectedParameterCount

func (g *GenInt32Task) ExpectedParameterCount() int

func (*GenInt32Task) GenerationFunction

func (g *GenInt32Task) GenerationFunction(
	taskProperties generator.TaskProperties,
) generator.GenerationFunction

GenerationFunction implements Task.

func (*GenInt32Task) Name

func (g *GenInt32Task) Name() string

Tags implements Task.

type GenIntTask

type GenIntTask struct{}

func (*GenIntTask) ExpectedParameterCount

func (g *GenIntTask) ExpectedParameterCount() int

func (*GenIntTask) GenerationFunction

func (g *GenIntTask) GenerationFunction(
	taskProperties generator.TaskProperties,
) generator.GenerationFunction

GenerationFunction implements Task.

func (*GenIntTask) Name

func (g *GenIntTask) Name() string

Tags implements Task.

Jump to

Keyboard shortcuts

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