ast

package
v2.0.0-...-60f4a08 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NodeKindEmoji = ast.NewNodeKind("Emoji")

Functions

This section is empty.

Types

type NodeEmoji

type NodeEmoji struct {
	ast.BaseInline // 嵌入預設結構,如此才不用實現所有ast.Node所要求的所有方法(BaseInline已經有提供大部分的方法)

	// ↓ 以下成員內容可依需求自定義
	Alias string

	Value *def.Emoji // 一般來說,我們還會包含一個Value的成員
}

func NewNodeEmoji

func NewNodeEmoji(alias string, value *def.Emoji) *NodeEmoji

func (*NodeEmoji) Dump

func (e *NodeEmoji) Dump(source []byte, level int)

func (*NodeEmoji) Kind

func (e *NodeEmoji) Kind() ast.NodeKind

Jump to

Keyboard shortcuts

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