Documentation ¶
Overview ¶
Package ast defines AST nodes that represents extension's elements
Package ast defines AST nodes that represents extension's elements ¶
Package ast defines AST nodes that represents extension's elements ¶
Package ast defines AST nodes that represents extension's elements
Index ¶
Constants ¶
This section is empty.
Variables ¶
var KindAt = gast.NewNodeKind("At")
KindAt is a NodeKind of the At node.
var KindDate = gast.NewNodeKind("Date")
KindDate is a NodeKind of the Date node.
var KindLatex = gast.NewNodeKind("Latex")
KindLatex is a NodeKind of the Latex node.
var KindPost = gast.NewNodeKind("Post")
KindPost is a NodeKind of the Post node.
var KindRefer = gast.NewNodeKind("Refer")
KindRefer is a NodeKind of the Refer node.
var KindTaskCheckBox = gast.NewNodeKind("TaskCheckBox")
KindTaskCheckBox is a NodeKind of the TaskCheckBox node.
Functions ¶
This section is empty.
Types ¶
type Date ¶ added in v0.0.4
type Date struct { gast.BaseInline Value []byte }
A Date struct represents date url
type Latex ¶
type Latex struct { gast.BaseInline IsInline bool Value []byte }
A Latex struct represents a strikethrough of GFM text.
type Post ¶ added in v0.0.2
type Post struct { gast.BaseInline Title []byte URL []byte }
A Post struct represents a post url in blog
type Refer ¶ added in v0.0.2
type Refer struct { gast.BaseInline Title []byte URL []byte }
A Refer struct represents refer url
type TaskCheckBox ¶ added in v0.0.5
type TaskCheckBox struct { gast.BaseInline IsChecked bool }
A TaskCheckBox struct represents a checkbox of a task list.
func NewTaskCheckBox ¶ added in v0.0.5
func NewTaskCheckBox(checked bool) *TaskCheckBox
NewTaskCheckBox returns a new TaskCheckBox node.
func (*TaskCheckBox) Dump ¶ added in v0.0.5
func (n *TaskCheckBox) Dump(source []byte, level int)
Dump impelemtns Node.Dump.
func (*TaskCheckBox) Kind ¶ added in v0.0.5
func (n *TaskCheckBox) Kind() gast.NodeKind
Kind implements Node.Kind.