ast

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var KindStrikethrough = gast.NewNodeKind("Strikethrough")

KindStrikethrough is a NodeKind of the Strikethrough node.

View Source
var KindUnderline = gast.NewNodeKind("Underline")

KindUnderline is a NodeKind of the Underline node.

Functions

This section is empty.

Types

type Strikethrough

type Strikethrough struct {
	gast.BaseInline
}

A Strikethrough struct represents a strikethrough of text.

func NewStrikethrough

func NewStrikethrough() *Strikethrough

NewStrikethrough returns a new Strikethrough node.

func (*Strikethrough) Dump

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

Dump implements Node.Dump.

func (*Strikethrough) Kind

func (n *Strikethrough) Kind() gast.NodeKind

Kind implements Node.Kind.

type Underline

type Underline struct {
	gast.BaseInline
}

Underline struct represents an Underline text.

func NewUnderline

func NewUnderline() *Underline

NewUnderline returns a new Underline node.

func (*Underline) Dump

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

Dump implements Node.Dump.

func (*Underline) Kind

func (n *Underline) Kind() gast.NodeKind

Kind implements Node.Kind.

Jump to

Keyboard shortcuts

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