package ast
import (
gast "github.com/yuin/goldmark/ast"
)
type DefinitionList struct {
gast .BaseBlock
Offset int
TemporaryParagraph *gast .Paragraph
}
func (n *DefinitionList ) Dump (source []byte , level int ) {
gast .DumpHelper (n , source , level , nil , nil )
}
var KindDefinitionList = gast .NewNodeKind ("DefinitionList" )
func (n *DefinitionList ) Kind () gast .NodeKind {
return KindDefinitionList
}
func NewDefinitionList (offset int , para *gast .Paragraph ) *DefinitionList {
return &DefinitionList {
Offset : offset ,
TemporaryParagraph : para ,
}
}
type DefinitionTerm struct {
gast .BaseBlock
}
func (n *DefinitionTerm ) Dump (source []byte , level int ) {
gast .DumpHelper (n , source , level , nil , nil )
}
var KindDefinitionTerm = gast .NewNodeKind ("DefinitionTerm" )
func (n *DefinitionTerm ) Kind () gast .NodeKind {
return KindDefinitionTerm
}
func NewDefinitionTerm () *DefinitionTerm {
return &DefinitionTerm {}
}
type DefinitionDescription struct {
gast .BaseBlock
IsTight bool
}
func (n *DefinitionDescription ) Dump (source []byte , level int ) {
gast .DumpHelper (n , source , level , nil , nil )
}
var KindDefinitionDescription = gast .NewNodeKind ("DefinitionDescription" )
func (n *DefinitionDescription ) Kind () gast .NodeKind {
return KindDefinitionDescription
}
func NewDefinitionDescription () *DefinitionDescription {
return &DefinitionDescription {}
}
The pages are generated with Golds v0.8.2 . (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu .
PR and bug reports are welcome and can be submitted to the issue list .
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds .