msl

package
v0.0.0-...-162a0df Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2023 License: AGPL-3.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Block

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

func (*Block) Add

func (b *Block) Add(c Command)

func (*Block) Emit

func (b *Block) Emit() (ret string)

type Command

type Command interface {
	Emit() string
}

type Event

type Event struct {
	Type     string
	Pattern  string
	Location string
	Level    string
	Line     int

	Command Command
}

func (*Event) Flags

func (ev *Event) Flags() string

func (*Event) Match

func (ev *Event) Match() string

func (*Event) Name

func (ev *Event) Name() string

type IfCmd

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

func (*IfCmd) Emit

func (c *IfCmd) Emit() string

type Statement

type Statement struct {
	Values []string
}

func (*Statement) Emit

func (m *Statement) Emit() string

type WhileCmd

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

func (*WhileCmd) Emit

func (w *WhileCmd) Emit() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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