package ast
import "github.com/yuin/goldmark-emoji/ast"
Package ast defines AST nodes that represetns emoji extension's elements.
Index ¶
Variables ¶
var KindEmoji = gast.NewNodeKind("Emoji")
KindEmoji is a NodeKind of the emoji node.
Types ¶
type Emoji ¶
type Emoji struct { gast.BaseInline ShortName []byte Value *definition.Emoji }
Emoji represents an inline emoji.
func NewEmoji ¶
func NewEmoji(shortName []byte, value *definition.Emoji) *Emoji
NewEmoji returns a new Emoji node.
func (*Emoji) Dump ¶
Dump implements Node.Dump.
func (*Emoji) Kind ¶
Kind implements Node.Kind.
Source Files ¶
- Version
- v1.0.4
- Published
- Oct 12, 2024
- Platform
- windows/amd64
- Imports
- 3 packages
- Last checked
- 3 hours ago –
Tools for package owners.