bstar

package
v0.0.0-...-67b6ef9 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BStar

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

func NewBStar

func NewBStar(i *ir.IR) *BStar

func (*BStar) Build

func (b *BStar) Build() (Node, error)

type BStarConfig

type BStarConfig struct {
	Seperator string
}

type BlockNode

type BlockNode struct {
	Body      []Node
	DoesPrint bool
}

func (*BlockNode) Code

func (n *BlockNode) Code(opts *BStarConfig) string

type ConstNode

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

func (ConstNode) Code

func (c ConstNode) Code(opts *BStarConfig) string

type Node

type Node interface {
	Code(opts *BStarConfig) string
}

Jump to

Keyboard shortcuts

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