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.6 (latest)
- Published
- Apr 19, 2025
- Platform
- js/wasm
- Imports
- 3 packages
- Last checked
- 5 minutes ago –
Tools for package owners.