ast

package
v0.0.0-...-105c1c5 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2023 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Overview

Package ast defines a wiki image AST node to represent the wiki extension's image element.

Index

Constants

This section is empty.

Variables

View Source
var KindWikiImage = gast.NewNodeKind("WikiImage")

KindWikiImage is a NodeKind of the WikiImage node.

Functions

This section is empty.

Types

type WikiImage

type WikiImage struct {
	gast.BaseInline

	// Destination is a destination(URL) of this image.
	Destination []byte
}

func NewWikiImage

func NewWikiImage(dest []byte) *WikiImage

NewWikiImage returns a new WikiImage node.

func (*WikiImage) Dump

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

Dump implements Node.Dump.

func (*WikiImage) Kind

func (n *WikiImage) 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