summaryrefslogtreecommitdiff
path: root/vendor/github.com/yuin/goldmark/ast/block.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/yuin/goldmark/ast/block.go')
-rw-r--r--vendor/github.com/yuin/goldmark/ast/block.go24
1 files changed, 12 insertions, 12 deletions
diff --git a/vendor/github.com/yuin/goldmark/ast/block.go b/vendor/github.com/yuin/goldmark/ast/block.go
index 02e9d5190..c5d4738e6 100644
--- a/vendor/github.com/yuin/goldmark/ast/block.go
+++ b/vendor/github.com/yuin/goldmark/ast/block.go
@@ -14,12 +14,12 @@ type BaseBlock struct {
lines *textm.Segments
}
-// Type implements Node.Type
+// Type implements Node.Type.
func (b *BaseBlock) Type() NodeType {
return TypeBlock
}
-// IsRaw implements Node.IsRaw
+// IsRaw implements Node.IsRaw.
func (b *BaseBlock) IsRaw() bool {
return false
}
@@ -34,7 +34,7 @@ func (b *BaseBlock) SetBlankPreviousLines(v bool) {
b.blankPreviousLines = v
}
-// Lines implements Node.Lines
+// Lines implements Node.Lines.
func (b *BaseBlock) Lines() *textm.Segments {
if b.lines == nil {
b.lines = textm.NewSegments()
@@ -42,7 +42,7 @@ func (b *BaseBlock) Lines() *textm.Segments {
return b.lines
}
-// SetLines implements Node.SetLines
+// SetLines implements Node.SetLines.
func (b *BaseBlock) SetLines(v *textm.Segments) {
b.lines = v
}
@@ -72,7 +72,7 @@ func (n *Document) Kind() NodeKind {
return KindDocument
}
-// OwnerDocument implements Node.OwnerDocument
+// OwnerDocument implements Node.OwnerDocument.
func (n *Document) OwnerDocument() *Document {
return n
}
@@ -431,19 +431,19 @@ func NewListItem(offset int) *ListItem {
type HTMLBlockType int
const (
- // HTMLBlockType1 represents type 1 html blocks
+ // HTMLBlockType1 represents type 1 html blocks.
HTMLBlockType1 HTMLBlockType = iota + 1
- // HTMLBlockType2 represents type 2 html blocks
+ // HTMLBlockType2 represents type 2 html blocks.
HTMLBlockType2
- // HTMLBlockType3 represents type 3 html blocks
+ // HTMLBlockType3 represents type 3 html blocks.
HTMLBlockType3
- // HTMLBlockType4 represents type 4 html blocks
+ // HTMLBlockType4 represents type 4 html blocks.
HTMLBlockType4
- // HTMLBlockType5 represents type 5 html blocks
+ // HTMLBlockType5 represents type 5 html blocks.
HTMLBlockType5
- // HTMLBlockType6 represents type 6 html blocks
+ // HTMLBlockType6 represents type 6 html blocks.
HTMLBlockType6
- // HTMLBlockType7 represents type 7 html blocks
+ // HTMLBlockType7 represents type 7 html blocks.
HTMLBlockType7
)