builder

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BPMNBuilder

type BPMNBuilder struct {
	Name      string
	Cfg       config.Config
	Templates map[string]template.Template
}

func NewBPMNBuilder

func NewBPMNBuilder(cfg *config.Config) *BPMNBuilder

initialize all templates found in templates directory

func (*BPMNBuilder) Render

func (builder *BPMNBuilder) Render(outFile *os.File, token *tkn.Token, tokenList *tkn.TokenList, graph *graph.Graph)

rendering of template, which is identified by a token kind

func (*BPMNBuilder) Start

func (builder *BPMNBuilder) Start(outFile *os.File, tokenList *tkn.TokenList, graph *graph.Graph)

find the UML_START token and let it roll from there

type OutputData

type OutputData struct {
	Token     *tkn.Token
	Source    string
	Target    string
	ProcessId string
	Cfg       *config.Config
}

func NewOutputData

func NewOutputData(token *tkn.Token, cfg *config.Config) *OutputData

Jump to

Keyboard shortcuts

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