build

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Copyright 2025 The Hulo Authors. All rights reserved. Use of this source code is governed by a MIT-style license that can be found in the LICENSE file.

Copyright 2025 The Hulo Authors. All rights reserved. Use of this source code is governed by a MIT-style license that can be found in the LICENSE file.

Copyright 2025 The Hulo Authors. All rights reserved. Use of this source code is governed by a MIT-style license that can be found in the LICENSE file.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Token

func Token(tok htok.Token) btok.Token

func Translate

func Translate(opts *config.BashOptions, node hast.Node) (bast.Node, error)

Types

type CompileRuleFunc

type CompileRuleFunc func(node hast.Node) (bast.Node, error)

type HCRDispatcher

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

func (*HCRDispatcher) Get

func (d *HCRDispatcher) Get(ruleName string) (build.Strategy[bast.Node], error)

func (*HCRDispatcher) Put

func (d *HCRDispatcher) Put(fullRule string, cb build.Strategy[bast.Node]) error

Directories

Path Synopsis
codegen

Jump to

Keyboard shortcuts

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