func (d *Delimiter) Text(source []byte) []byte {
	return d.Segment.Value(source)
}
Text implements Node.Text
package parser
import (
	"fmt"
	"strings"
	"github.com/yuin/goldmark/ast"
	"github.com/yuin/goldmark/text"
	"github.com/yuin/goldmark/util"
)
type DelimiterProcessor interface {
	IsDelimiter(byte) bool
	CanOpenCloser(opener, closer *Delimiter) bool
	OnMatch(consumes int) ast.Node
}
type Delimiter struct {
	ast.BaseInline
	Segment text.Segment
	CanOpen bool
	CanClose bool
	Length int
	OriginalLength int
	Char byte
	PreviousDelimiter *Delimiter
	NextDelimiter *Delimiter
	Processor DelimiterProcessor
}
func (d *Delimiter) Inline() {}
func (d *Delimiter) Dump(source []byte, level int) {
	fmt.Printf("%sDelimiter: \"%s\"\n", strings.Repeat("    ", level), string(d.Text(source)))
}
var kindDelimiter = ast.NewNodeKind("Delimiter")
func (d *Delimiter) Kind() ast.NodeKind {
	return kindDelimiter
}