ast

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2021 License: GPL-3.0 Imports: 1 Imported by: 1

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

View Source
var KindWiki = gast.NewNodeKind("Wiki")

KindWiki is a NodeKind of the Wiki node.

Functions

This section is empty.

Types

type Wiki

type Wiki struct {
	gast.BaseInline

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

func NewWiki

func NewWiki(dest []byte) *Wiki

NewWiki returns a new Wiki node.

func (*Wiki) Dump

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

Dump implements Node.Dump.

func (*Wiki) Kind

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