forester_extensions

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2023 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var KindCmdNode = ast.NewNodeKind("CmdNode")

KindCmdNode is a NodeKind of the CmdNode node.

View Source
var KindStartEnvNode = ast.NewNodeKind("StartEnvNode")

KindStartEnvNode is a NodeKind of the StartEnvNode node.

View Source
var KindStopEnvNode = ast.NewNodeKind("StopEnvNode")

KindStopEnvNode is a NodeKind of the StopEnvNode node.

Functions

func ExtendParser

func ExtendParser(gm goldmark.Markdown)

func NewCmdParser

func NewCmdParser() parser.InlineParser

func NewStartEnvParser

func NewStartEnvParser() parser.InlineParser

func NewStopEnvParser

func NewStopEnvParser() parser.InlineParser

Types

type CmdNode

type CmdNode struct {
	ast.BaseInline
}

func NewCmdNode

func NewCmdNode() *CmdNode

NewCmdNode returns a new CmdNode node.

func (*CmdNode) Dump

func (n *CmdNode) Dump(source []byte, level int)

Dump implements Node.Dump.

func (*CmdNode) Kind

func (n *CmdNode) Kind() ast.NodeKind

Kind implements Node.Kind.

type StartEnvNode

type StartEnvNode struct {
	ast.BaseInline
}

func NewStartEnvNode

func NewStartEnvNode() *StartEnvNode

NewStartEnvNode returns a new StartEnvNode node.

func (*StartEnvNode) Dump

func (n *StartEnvNode) Dump(source []byte, level int)

Dump implements Node.Dump.

func (*StartEnvNode) Kind

func (n *StartEnvNode) Kind() ast.NodeKind

Kind implements Node.Kind.

type StopEnvNode

type StopEnvNode struct {
	ast.BaseInline
}

func NewStopEnvNode

func NewStopEnvNode() *StopEnvNode

NewStopEnvNode returns a new StopEnvNode node.

func (*StopEnvNode) Dump

func (n *StopEnvNode) Dump(source []byte, level int)

Dump implements Node.Dump.

func (*StopEnvNode) Kind

func (n *StopEnvNode) Kind() ast.NodeKind

Kind implements Node.Kind.

Jump to

Keyboard shortcuts

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