astv1

package
v0.4.3-final-apache Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2025 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	HTMLBlockType_name = map[int32]string{
		0: "HTML_BLOCK_TYPE_UNSPECIFIED",
		1: "HTML_BLOCK_TYPE_1",
		2: "HTML_BLOCK_TYPE_2",
		3: "HTML_BLOCK_TYPE_3",
		4: "HTML_BLOCK_TYPE_4",
		5: "HTML_BLOCK_TYPE_5",
		6: "HTML_BLOCK_TYPE_6",
		7: "HTML_BLOCK_TYPE_7",
	}
	HTMLBlockType_value = map[string]int32{
		"HTML_BLOCK_TYPE_UNSPECIFIED": 0,
		"HTML_BLOCK_TYPE_1":           1,
		"HTML_BLOCK_TYPE_2":           2,
		"HTML_BLOCK_TYPE_3":           3,
		"HTML_BLOCK_TYPE_4":           4,
		"HTML_BLOCK_TYPE_5":           5,
		"HTML_BLOCK_TYPE_6":           6,
		"HTML_BLOCK_TYPE_7":           7,
	}
)

Enum value maps for HTMLBlockType.

View Source
var (
	AutoLinkType_name = map[int32]string{
		0: "AUTO_LINK_TYPE_UNSPECIFIED",
		1: "AUTO_LINK_TYPE_EMAIL",
		2: "AUTO_LINK_TYPE_URL",
	}
	AutoLinkType_value = map[string]int32{
		"AUTO_LINK_TYPE_UNSPECIFIED": 0,
		"AUTO_LINK_TYPE_EMAIL":       1,
		"AUTO_LINK_TYPE_URL":         2,
	}
)

Enum value maps for AutoLinkType.

View Source
var (
	CellAlignment_name = map[int32]string{
		0: "CELL_ALIGNMENT_UNSPECIFIED",
		1: "CELL_ALIGNMENT_LEFT",
		2: "CELL_ALIGNMENT_RIGHT",
		3: "CELL_ALIGNMENT_CENTER",
		4: "CELL_ALIGNMENT_NONE",
	}
	CellAlignment_value = map[string]int32{
		"CELL_ALIGNMENT_UNSPECIFIED": 0,
		"CELL_ALIGNMENT_LEFT":        1,
		"CELL_ALIGNMENT_RIGHT":       2,
		"CELL_ALIGNMENT_CENTER":      3,
		"CELL_ALIGNMENT_NONE":        4,
	}
)

Enum value maps for CellAlignment.

View Source
var (
	ErrUnsupportedNodeType      = errors.New("unsupported node type")
	ErrUnsupportedAttributeType = errors.New("unsupported attribute type")
	ErrUnsupportedAlignment     = errors.New("unsupported alignment")
)
View Source
var ErrSkipAttribute = errors.New("skip")

ErrSkipAttribute should be returned from AttributeEncoder if the attribute needs to be be skipped.

View Source
var File_ast_v1_ast_proto protoreflect.FileDescriptor

Functions

func Decode

func Decode(root *Node, opts ...DecoderOption) (node ast.Node, source astsrc.ASTSource, err error)

func DecodeMetadata

func DecodeMetadata(meta *Metadata) *nodes.ContentMeta

func DefaultAttributeDecoder

func DefaultAttributeDecoder(attr *Attribute) (res ast.Attribute, err error)

Types

type Attribute

type Attribute struct {
	Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Types that are valid to be assigned to Value:
	//
	//	*Attribute_Bytes
	//	*Attribute_Str
	Value isAttribute_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

func DefaultAttributeEncoder

func DefaultAttributeEncoder(attr *ast.Attribute) (*Attribute, error)

func (*Attribute) Descriptor deprecated

func (*Attribute) Descriptor() ([]byte, []int)

Deprecated: Use Attribute.ProtoReflect.Descriptor instead.

func (*Attribute) GetBytes

func (x *Attribute) GetBytes() []byte

func (*Attribute) GetName

func (x *Attribute) GetName() []byte

func (*Attribute) GetStr

func (x *Attribute) GetStr() string

func (*Attribute) GetValue

func (x *Attribute) GetValue() isAttribute_Value

func (*Attribute) ProtoMessage

func (*Attribute) ProtoMessage()

func (*Attribute) ProtoReflect

func (x *Attribute) ProtoReflect() protoreflect.Message

func (*Attribute) Reset

func (x *Attribute) Reset()

func (*Attribute) String

func (x *Attribute) String() string

type AttributeDecoder

type AttributeDecoder func(*Attribute) (ast.Attribute, error)

type AttributeEncoder

type AttributeEncoder func(*ast.Attribute) (*Attribute, error)

type Attribute_Bytes

type Attribute_Bytes struct {
	Bytes []byte `protobuf:"bytes,2,opt,name=bytes,proto3,oneof"`
}

type Attribute_Str

type Attribute_Str struct {
	Str string `protobuf:"bytes,3,opt,name=str,proto3,oneof"`
}
type AutoLink struct {
	Base     *BaseNode    `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	Type     AutoLinkType `protobuf:"varint,2,opt,name=type,proto3,enum=ast.v1.AutoLinkType" json:"type,omitempty"`
	Protocol []byte       `protobuf:"bytes,3,opt,name=protocol,proto3" json:"protocol,omitempty"`
	Value    []byte       `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*AutoLink) Descriptor deprecated

func (*AutoLink) Descriptor() ([]byte, []int)

Deprecated: Use AutoLink.ProtoReflect.Descriptor instead.

func (*AutoLink) GetBase

func (x *AutoLink) GetBase() *BaseNode

func (*AutoLink) GetProtocol

func (x *AutoLink) GetProtocol() []byte

func (*AutoLink) GetType

func (x *AutoLink) GetType() AutoLinkType

func (*AutoLink) GetValue

func (x *AutoLink) GetValue() []byte

func (*AutoLink) ProtoMessage

func (*AutoLink) ProtoMessage()

func (*AutoLink) ProtoReflect

func (x *AutoLink) ProtoReflect() protoreflect.Message

func (*AutoLink) Reset

func (x *AutoLink) Reset()

func (*AutoLink) String

func (x *AutoLink) String() string

type AutoLinkType

type AutoLinkType int32
const (
	AutoLinkType_AUTO_LINK_TYPE_UNSPECIFIED AutoLinkType = 0
	AutoLinkType_AUTO_LINK_TYPE_EMAIL       AutoLinkType = 1
	AutoLinkType_AUTO_LINK_TYPE_URL         AutoLinkType = 2
)

func (AutoLinkType) Descriptor

func (AutoLinkType) Enum

func (x AutoLinkType) Enum() *AutoLinkType

func (AutoLinkType) EnumDescriptor deprecated

func (AutoLinkType) EnumDescriptor() ([]byte, []int)

Deprecated: Use AutoLinkType.Descriptor instead.

func (AutoLinkType) Number

func (AutoLinkType) String

func (x AutoLinkType) String() string

func (AutoLinkType) Type

type BaseNode

type BaseNode struct {
	Children   []*Node      `protobuf:"bytes,1,rep,name=children,proto3" json:"children,omitempty"`
	Attributes []*Attribute `protobuf:"bytes,2,rep,name=attributes,proto3" json:"attributes,omitempty"`
	// value meaningful only for blocks
	BlankPreviousLines bool `protobuf:"varint,3,opt,name=blank_previous_lines,json=blankPreviousLines,proto3" json:"blank_previous_lines,omitempty"`
	// contains filtered or unexported fields
}

func (*BaseNode) Descriptor deprecated

func (*BaseNode) Descriptor() ([]byte, []int)

Deprecated: Use BaseNode.ProtoReflect.Descriptor instead.

func (*BaseNode) GetAttributes

func (x *BaseNode) GetAttributes() []*Attribute

func (*BaseNode) GetBlankPreviousLines

func (x *BaseNode) GetBlankPreviousLines() bool

func (*BaseNode) GetChildren

func (x *BaseNode) GetChildren() []*Node

func (*BaseNode) ProtoMessage

func (*BaseNode) ProtoMessage()

func (*BaseNode) ProtoReflect

func (x *BaseNode) ProtoReflect() protoreflect.Message

func (*BaseNode) Reset

func (x *BaseNode) Reset()

func (*BaseNode) String

func (x *BaseNode) String() string

type BlockContent

type BlockContent interface {
	Content
	// contains filtered or unexported methods
}

BlockContent represents any block node or something convertible to block nodes.

type Blockquote

type Blockquote struct {
	Base *BaseNode `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	// contains filtered or unexported fields
}

func (*Blockquote) Descriptor deprecated

func (*Blockquote) Descriptor() ([]byte, []int)

Deprecated: Use Blockquote.ProtoReflect.Descriptor instead.

func (*Blockquote) GetBase

func (x *Blockquote) GetBase() *BaseNode

func (*Blockquote) ProtoMessage

func (*Blockquote) ProtoMessage()

func (*Blockquote) ProtoReflect

func (x *Blockquote) ProtoReflect() protoreflect.Message

func (*Blockquote) Reset

func (x *Blockquote) Reset()

func (*Blockquote) String

func (x *Blockquote) String() string

type Blocks

type Blocks []BlockContent

func (Blocks) ExtendNodes

func (b Blocks) ExtendNodes(nodes []*Node) []*Node

type CellAlignment

type CellAlignment int32
const (
	CellAlignment_CELL_ALIGNMENT_UNSPECIFIED CellAlignment = 0
	CellAlignment_CELL_ALIGNMENT_LEFT        CellAlignment = 1
	CellAlignment_CELL_ALIGNMENT_RIGHT       CellAlignment = 2
	CellAlignment_CELL_ALIGNMENT_CENTER      CellAlignment = 3
	CellAlignment_CELL_ALIGNMENT_NONE        CellAlignment = 4
)

func (CellAlignment) Descriptor

func (CellAlignment) Enum

func (x CellAlignment) Enum() *CellAlignment

func (CellAlignment) EnumDescriptor deprecated

func (CellAlignment) EnumDescriptor() ([]byte, []int)

Deprecated: Use CellAlignment.Descriptor instead.

func (CellAlignment) Number

func (CellAlignment) String

func (x CellAlignment) String() string

func (CellAlignment) Type

type CodeBlock

type CodeBlock struct {
	Base  *BaseNode `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	Lines [][]byte  `protobuf:"bytes,2,rep,name=lines,proto3" json:"lines,omitempty"`
	// contains filtered or unexported fields
}

func (*CodeBlock) Descriptor deprecated

func (*CodeBlock) Descriptor() ([]byte, []int)

Deprecated: Use CodeBlock.ProtoReflect.Descriptor instead.

func (*CodeBlock) GetBase

func (x *CodeBlock) GetBase() *BaseNode

func (*CodeBlock) GetLines

func (x *CodeBlock) GetLines() [][]byte

func (*CodeBlock) ProtoMessage

func (*CodeBlock) ProtoMessage()

func (*CodeBlock) ProtoReflect

func (x *CodeBlock) ProtoReflect() protoreflect.Message

func (*CodeBlock) Reset

func (x *CodeBlock) Reset()

func (*CodeBlock) String

func (x *CodeBlock) String() string

type CodeSpan

type CodeSpan struct {
	Base *BaseNode `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	// contains filtered or unexported fields
}

func (*CodeSpan) Descriptor deprecated

func (*CodeSpan) Descriptor() ([]byte, []int)

Deprecated: Use CodeSpan.ProtoReflect.Descriptor instead.

func (*CodeSpan) GetBase

func (x *CodeSpan) GetBase() *BaseNode

func (*CodeSpan) ProtoMessage

func (*CodeSpan) ProtoMessage()

func (*CodeSpan) ProtoReflect

func (x *CodeSpan) ProtoReflect() protoreflect.Message

func (*CodeSpan) Reset

func (x *CodeSpan) Reset()

func (*CodeSpan) String

func (x *CodeSpan) String() string

type Content

type Content interface {
	ExtendNodes(nodes []*Node) []*Node
}

type Contents

type Contents []Content

func (Contents) ExtendNodes

func (c Contents) ExtendNodes(nodes []*Node) []*Node

type CustomNode

type CustomNode struct {

	// Indicates that this block is an inline element
	IsInline           bool       `protobuf:"varint,1,opt,name=is_inline,json=isInline,proto3" json:"is_inline,omitempty"`
	Data               *anypb.Any `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	BlankPreviousLines bool       `protobuf:"varint,3,opt,name=blank_previous_lines,json=blankPreviousLines,proto3" json:"blank_previous_lines,omitempty"`
	// contains filtered or unexported fields
}

func (*CustomNode) Descriptor deprecated

func (*CustomNode) Descriptor() ([]byte, []int)

Deprecated: Use CustomNode.ProtoReflect.Descriptor instead.

func (*CustomNode) GetBlankPreviousLines

func (x *CustomNode) GetBlankPreviousLines() bool

func (*CustomNode) GetData

func (x *CustomNode) GetData() *anypb.Any

func (*CustomNode) GetIsInline

func (x *CustomNode) GetIsInline() bool

func (*CustomNode) ProtoMessage

func (*CustomNode) ProtoMessage()

func (*CustomNode) ProtoReflect

func (x *CustomNode) ProtoReflect() protoreflect.Message

func (*CustomNode) Reset

func (x *CustomNode) Reset()

func (*CustomNode) String

func (x *CustomNode) String() string

type DecoderOption

type DecoderOption interface {
	// contains filtered or unexported methods
}

type Document

type Document struct {
	Base *BaseNode `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	// contains filtered or unexported fields
}

func (*Document) Descriptor deprecated

func (*Document) Descriptor() ([]byte, []int)

Deprecated: Use Document.ProtoReflect.Descriptor instead.

func (*Document) GetBase

func (x *Document) GetBase() *BaseNode

func (*Document) ProtoMessage

func (*Document) ProtoMessage()

func (*Document) ProtoReflect

func (x *Document) ProtoReflect() protoreflect.Message

func (*Document) Reset

func (x *Document) Reset()

func (*Document) String

func (x *Document) String() string

type Emphasis

type Emphasis struct {
	Base  *BaseNode `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	Level int64     `protobuf:"varint,2,opt,name=level,proto3" json:"level,omitempty"`
	// contains filtered or unexported fields
}

func (*Emphasis) Descriptor deprecated

func (*Emphasis) Descriptor() ([]byte, []int)

Deprecated: Use Emphasis.ProtoReflect.Descriptor instead.

func (*Emphasis) GetBase

func (x *Emphasis) GetBase() *BaseNode

func (*Emphasis) GetLevel

func (x *Emphasis) GetLevel() int64

func (*Emphasis) ProtoMessage

func (*Emphasis) ProtoMessage()

func (*Emphasis) ProtoReflect

func (x *Emphasis) ProtoReflect() protoreflect.Message

func (*Emphasis) Reset

func (x *Emphasis) Reset()

func (*Emphasis) String

func (x *Emphasis) String() string

type EncoderOption

type EncoderOption interface {
	// contains filtered or unexported methods
}

type FabricContentNode

type FabricContentNode struct {
	Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
	Root     *BaseNode `protobuf:"bytes,2,opt,name=root,proto3" json:"root,omitempty"` // direct content, no document node
	// contains filtered or unexported fields
}

Root of the plugin-rendered data

func NewContent

func NewContent(nodes ...BlockContent) *FabricContentNode

func (*FabricContentNode) Descriptor deprecated

func (*FabricContentNode) Descriptor() ([]byte, []int)

Deprecated: Use FabricContentNode.ProtoReflect.Descriptor instead.

func (*FabricContentNode) GetMetadata

func (x *FabricContentNode) GetMetadata() *Metadata

func (*FabricContentNode) GetRoot

func (x *FabricContentNode) GetRoot() *BaseNode

func (*FabricContentNode) ProtoMessage

func (*FabricContentNode) ProtoMessage()

func (*FabricContentNode) ProtoReflect

func (x *FabricContentNode) ProtoReflect() protoreflect.Message

func (*FabricContentNode) Reset

func (x *FabricContentNode) Reset()

func (*FabricContentNode) String

func (x *FabricContentNode) String() string

type FencedCodeBlock

type FencedCodeBlock struct {
	Base  *BaseNode `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	Info  *Text     `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"`
	Lines [][]byte  `protobuf:"bytes,3,rep,name=lines,proto3" json:"lines,omitempty"`
	// contains filtered or unexported fields
}

func (*FencedCodeBlock) Descriptor deprecated

func (*FencedCodeBlock) Descriptor() ([]byte, []int)

Deprecated: Use FencedCodeBlock.ProtoReflect.Descriptor instead.

func (*FencedCodeBlock) GetBase

func (x *FencedCodeBlock) GetBase() *BaseNode

func (*FencedCodeBlock) GetInfo

func (x *FencedCodeBlock) GetInfo() *Text

func (*FencedCodeBlock) GetLines

func (x *FencedCodeBlock) GetLines() [][]byte

func (*FencedCodeBlock) ProtoMessage

func (*FencedCodeBlock) ProtoMessage()

func (*FencedCodeBlock) ProtoReflect

func (x *FencedCodeBlock) ProtoReflect() protoreflect.Message

func (*FencedCodeBlock) Reset

func (x *FencedCodeBlock) Reset()

func (*FencedCodeBlock) String

func (x *FencedCodeBlock) String() string

type HTMLBlock

type HTMLBlock struct {
	Base        *BaseNode     `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	Type        HTMLBlockType `protobuf:"varint,2,opt,name=type,proto3,enum=ast.v1.HTMLBlockType" json:"type,omitempty"`
	Lines       [][]byte      `protobuf:"bytes,3,rep,name=lines,proto3" json:"lines,omitempty"`
	ClosureLine []byte        `protobuf:"bytes,4,opt,name=closure_line,json=closureLine,proto3" json:"closure_line,omitempty"`
	// contains filtered or unexported fields
}

func (*HTMLBlock) Descriptor deprecated

func (*HTMLBlock) Descriptor() ([]byte, []int)

Deprecated: Use HTMLBlock.ProtoReflect.Descriptor instead.

func (*HTMLBlock) GetBase

func (x *HTMLBlock) GetBase() *BaseNode

func (*HTMLBlock) GetClosureLine

func (x *HTMLBlock) GetClosureLine() []byte

func (*HTMLBlock) GetLines

func (x *HTMLBlock) GetLines() [][]byte

func (*HTMLBlock) GetType

func (x *HTMLBlock) GetType() HTMLBlockType

func (*HTMLBlock) ProtoMessage

func (*HTMLBlock) ProtoMessage()

func (*HTMLBlock) ProtoReflect

func (x *HTMLBlock) ProtoReflect() protoreflect.Message

func (*HTMLBlock) Reset

func (x *HTMLBlock) Reset()

func (*HTMLBlock) String

func (x *HTMLBlock) String() string

type HTMLBlockType

type HTMLBlockType int32
const (
	HTMLBlockType_HTML_BLOCK_TYPE_UNSPECIFIED HTMLBlockType = 0
	HTMLBlockType_HTML_BLOCK_TYPE_1           HTMLBlockType = 1
	HTMLBlockType_HTML_BLOCK_TYPE_2           HTMLBlockType = 2
	HTMLBlockType_HTML_BLOCK_TYPE_3           HTMLBlockType = 3
	HTMLBlockType_HTML_BLOCK_TYPE_4           HTMLBlockType = 4
	HTMLBlockType_HTML_BLOCK_TYPE_5           HTMLBlockType = 5
	HTMLBlockType_HTML_BLOCK_TYPE_6           HTMLBlockType = 6
	HTMLBlockType_HTML_BLOCK_TYPE_7           HTMLBlockType = 7
)

func (HTMLBlockType) Descriptor

func (HTMLBlockType) Enum

func (x HTMLBlockType) Enum() *HTMLBlockType

func (HTMLBlockType) EnumDescriptor deprecated

func (HTMLBlockType) EnumDescriptor() ([]byte, []int)

Deprecated: Use HTMLBlockType.Descriptor instead.

func (HTMLBlockType) Number

func (HTMLBlockType) String

func (x HTMLBlockType) String() string

func (HTMLBlockType) Type

type Heading

type Heading struct {
	Base  *BaseNode `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	Level uint32    `protobuf:"varint,2,opt,name=level,proto3" json:"level,omitempty"`
	// contains filtered or unexported fields
}

func (*Heading) Descriptor deprecated

func (*Heading) Descriptor() ([]byte, []int)

Deprecated: Use Heading.ProtoReflect.Descriptor instead.

func (*Heading) GetBase

func (x *Heading) GetBase() *BaseNode

func (*Heading) GetLevel

func (x *Heading) GetLevel() uint32

func (*Heading) ProtoMessage

func (*Heading) ProtoMessage()

func (*Heading) ProtoReflect

func (x *Heading) ProtoReflect() protoreflect.Message

func (*Heading) Reset

func (x *Heading) Reset()

func (*Heading) String

func (x *Heading) String() string

type InlineContent

type InlineContent interface {
	Content
	// contains filtered or unexported methods
}

InlineContent represents any inline node or something convertible to inline nodes.

type Inlines

type Inlines []InlineContent

Inlines is a list of InlineContent.

func (Inlines) ExtendNodes

func (n Inlines) ExtendNodes(nodes []*Node) []*Node

type LinkOrImage

type LinkOrImage struct {
	Base        *BaseNode `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	Destination []byte    `protobuf:"bytes,2,opt,name=destination,proto3" json:"destination,omitempty"`
	Title       []byte    `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
	IsImage     bool      `protobuf:"varint,4,opt,name=is_image,json=isImage,proto3" json:"is_image,omitempty"`
	// contains filtered or unexported fields
}

func (*LinkOrImage) Descriptor deprecated

func (*LinkOrImage) Descriptor() ([]byte, []int)

Deprecated: Use LinkOrImage.ProtoReflect.Descriptor instead.

func (*LinkOrImage) GetBase

func (x *LinkOrImage) GetBase() *BaseNode

func (*LinkOrImage) GetDestination

func (x *LinkOrImage) GetDestination() []byte

func (*LinkOrImage) GetIsImage

func (x *LinkOrImage) GetIsImage() bool

func (*LinkOrImage) GetTitle

func (x *LinkOrImage) GetTitle() []byte

func (*LinkOrImage) ProtoMessage

func (*LinkOrImage) ProtoMessage()

func (*LinkOrImage) ProtoReflect

func (x *LinkOrImage) ProtoReflect() protoreflect.Message

func (*LinkOrImage) Reset

func (x *LinkOrImage) Reset()

func (*LinkOrImage) String

func (x *LinkOrImage) String() string

type List

type List struct {
	Base    *BaseNode `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	Marker  uint32    `protobuf:"varint,2,opt,name=marker,proto3" json:"marker,omitempty"`
	IsTight bool      `protobuf:"varint,3,opt,name=is_tight,json=isTight,proto3" json:"is_tight,omitempty"`
	Start   uint32    `protobuf:"varint,4,opt,name=start,proto3" json:"start,omitempty"`
	// contains filtered or unexported fields
}

func (*List) Descriptor deprecated

func (*List) Descriptor() ([]byte, []int)

Deprecated: Use List.ProtoReflect.Descriptor instead.

func (*List) GetBase

func (x *List) GetBase() *BaseNode

func (*List) GetIsTight

func (x *List) GetIsTight() bool

func (*List) GetMarker

func (x *List) GetMarker() uint32

func (*List) GetStart

func (x *List) GetStart() uint32

func (*List) ProtoMessage

func (*List) ProtoMessage()

func (*List) ProtoReflect

func (x *List) ProtoReflect() protoreflect.Message

func (*List) Reset

func (x *List) Reset()

func (*List) String

func (x *List) String() string

type ListItem

type ListItem struct {
	Base   *BaseNode `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	Offset int64     `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
	// contains filtered or unexported fields
}

func (*ListItem) Descriptor deprecated

func (*ListItem) Descriptor() ([]byte, []int)

Deprecated: Use ListItem.ProtoReflect.Descriptor instead.

func (*ListItem) GetBase

func (x *ListItem) GetBase() *BaseNode

func (*ListItem) GetOffset

func (x *ListItem) GetOffset() int64

func (*ListItem) ProtoMessage

func (*ListItem) ProtoMessage()

func (*ListItem) ProtoReflect

func (x *ListItem) ProtoReflect() protoreflect.Message

func (*ListItem) Reset

func (x *ListItem) Reset()

func (*ListItem) String

func (x *ListItem) String() string

type Metadata

type Metadata struct {

	// ie "blackstork/builtin"
	Provider string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`
	// ie "title"
	Plugin  string `protobuf:"bytes,2,opt,name=plugin,proto3" json:"plugin,omitempty"`
	Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func EncodeMetadata

func EncodeMetadata(meta *nodes.ContentMeta) *Metadata

func (*Metadata) Descriptor deprecated

func (*Metadata) Descriptor() ([]byte, []int)

Deprecated: Use Metadata.ProtoReflect.Descriptor instead.

func (*Metadata) GetPlugin

func (x *Metadata) GetPlugin() string

func (*Metadata) GetProvider

func (x *Metadata) GetProvider() string

func (*Metadata) GetVersion

func (x *Metadata) GetVersion() string

func (*Metadata) ProtoMessage

func (*Metadata) ProtoMessage()

func (*Metadata) ProtoReflect

func (x *Metadata) ProtoReflect() protoreflect.Message

func (*Metadata) Reset

func (x *Metadata) Reset()

func (*Metadata) String

func (x *Metadata) String() string

type Node

type Node struct {

	// Types that are valid to be assigned to Kind:
	//
	//	*Node_Document
	//	*Node_TextBlock
	//	*Node_Paragraph
	//	*Node_Heading
	//	*Node_ThematicBreak
	//	*Node_CodeBlock
	//	*Node_FencedCodeBlock
	//	*Node_Blockquote
	//	*Node_List
	//	*Node_ListItem
	//	*Node_HtmlBlock
	//	*Node_Text
	//	*Node_String_
	//	*Node_CodeSpan
	//	*Node_Emphasis
	//	*Node_LinkOrImage
	//	*Node_AutoLink
	//	*Node_RawHtml
	//	*Node_Table
	//	*Node_TableRow
	//	*Node_TableCell
	//	*Node_TaskCheckbox
	//	*Node_Strikethrough
	//	*Node_ContentNode
	//	*Node_Custom
	Kind isNode_Kind `protobuf_oneof:"kind"`
	// contains filtered or unexported fields
}

func Encode

func Encode(root ast.Node, source []byte, opts ...EncoderOption) (node *Node, err error)

func (*Node) Descriptor deprecated

func (*Node) Descriptor() ([]byte, []int)

Deprecated: Use Node.ProtoReflect.Descriptor instead.

func (x *Node) GetAutoLink() *AutoLink

func (*Node) GetBlockquote

func (x *Node) GetBlockquote() *Blockquote

func (*Node) GetCodeBlock

func (x *Node) GetCodeBlock() *CodeBlock

func (*Node) GetCodeSpan

func (x *Node) GetCodeSpan() *CodeSpan

func (*Node) GetContentNode

func (x *Node) GetContentNode() *FabricContentNode

func (*Node) GetCustom

func (x *Node) GetCustom() *CustomNode

func (*Node) GetDocument

func (x *Node) GetDocument() *Document

func (*Node) GetEmphasis

func (x *Node) GetEmphasis() *Emphasis

func (*Node) GetFencedCodeBlock

func (x *Node) GetFencedCodeBlock() *FencedCodeBlock

func (*Node) GetHeading

func (x *Node) GetHeading() *Heading

func (*Node) GetHtmlBlock

func (x *Node) GetHtmlBlock() *HTMLBlock

func (*Node) GetKind

func (x *Node) GetKind() isNode_Kind

func (*Node) GetLinkOrImage

func (x *Node) GetLinkOrImage() *LinkOrImage

func (*Node) GetList

func (x *Node) GetList() *List

func (*Node) GetListItem

func (x *Node) GetListItem() *ListItem

func (*Node) GetParagraph

func (x *Node) GetParagraph() *Paragraph

func (*Node) GetRawHtml

func (x *Node) GetRawHtml() *RawHTML

func (*Node) GetStrikethrough

func (x *Node) GetStrikethrough() *Strikethrough

func (*Node) GetString_

func (x *Node) GetString_() *String

func (*Node) GetTable

func (x *Node) GetTable() *Table

func (*Node) GetTableCell

func (x *Node) GetTableCell() *TableCell

func (*Node) GetTableRow

func (x *Node) GetTableRow() *TableRow

func (*Node) GetTaskCheckbox

func (x *Node) GetTaskCheckbox() *TaskCheckbox

func (*Node) GetText

func (x *Node) GetText() *Text

func (*Node) GetTextBlock

func (x *Node) GetTextBlock() *TextBlock

func (*Node) GetThematicBreak

func (x *Node) GetThematicBreak() *ThematicBreak

func (*Node) ProtoMessage

func (*Node) ProtoMessage()

func (*Node) ProtoReflect

func (x *Node) ProtoReflect() protoreflect.Message

func (*Node) Reset

func (x *Node) Reset()

func (*Node) String

func (x *Node) String() string

type NodeDecoder

type NodeDecoder func(*Node) (ast.Node, error)

type NodeEncoder

type NodeEncoder func(ast.Node) (isNode_Kind, error)
type Node_AutoLink struct {
	AutoLink *AutoLink `protobuf:"bytes,20,opt,name=auto_link,json=autoLink,proto3,oneof"`
}

func (*Node_AutoLink) ExtendNodes

func (n *Node_AutoLink) ExtendNodes(nodes []*Node) []*Node

type Node_Blockquote

type Node_Blockquote struct {
	Blockquote *Blockquote `protobuf:"bytes,11,opt,name=blockquote,proto3,oneof"`
}

func (*Node_Blockquote) ExtendNodes

func (n *Node_Blockquote) ExtendNodes(nodes []*Node) []*Node

type Node_CodeBlock

type Node_CodeBlock struct {
	CodeBlock *CodeBlock `protobuf:"bytes,9,opt,name=code_block,json=codeBlock,proto3,oneof"`
}

func (*Node_CodeBlock) ExtendNodes

func (n *Node_CodeBlock) ExtendNodes(nodes []*Node) []*Node

type Node_CodeSpan

type Node_CodeSpan struct {
	CodeSpan *CodeSpan `protobuf:"bytes,17,opt,name=code_span,json=codeSpan,proto3,oneof"`
}

func (*Node_CodeSpan) ExtendNodes

func (n *Node_CodeSpan) ExtendNodes(nodes []*Node) []*Node

type Node_ContentNode

type Node_ContentNode struct {
	// Root of the plugin-rendered data
	ContentNode *FabricContentNode `protobuf:"bytes,254,opt,name=content_node,json=contentNode,proto3,oneof"`
}

type Node_Custom

type Node_Custom struct {
	// Custom node types can be serialized using this
	Custom *CustomNode `protobuf:"bytes,255,opt,name=custom,proto3,oneof"`
}

type Node_Document

type Node_Document struct {
	// Blocks
	Document *Document `protobuf:"bytes,1,opt,name=document,proto3,oneof"`
}

type Node_Emphasis

type Node_Emphasis struct {
	Emphasis *Emphasis `protobuf:"bytes,18,opt,name=emphasis,proto3,oneof"`
}

func (*Node_Emphasis) ExtendNodes

func (n *Node_Emphasis) ExtendNodes(nodes []*Node) []*Node

type Node_FencedCodeBlock

type Node_FencedCodeBlock struct {
	FencedCodeBlock *FencedCodeBlock `protobuf:"bytes,10,opt,name=fenced_code_block,json=fencedCodeBlock,proto3,oneof"`
}

func (*Node_FencedCodeBlock) ExtendNodes

func (n *Node_FencedCodeBlock) ExtendNodes(nodes []*Node) []*Node

func (*Node_FencedCodeBlock) SetLanguage

func (n *Node_FencedCodeBlock) SetLanguage(language string) *Node_FencedCodeBlock

type Node_Heading

type Node_Heading struct {
	Heading *Heading `protobuf:"bytes,7,opt,name=heading,proto3,oneof"`
}

func (*Node_Heading) ExtendNodes

func (n *Node_Heading) ExtendNodes(nodes []*Node) []*Node

type Node_HtmlBlock

type Node_HtmlBlock struct {
	HtmlBlock *HTMLBlock `protobuf:"bytes,14,opt,name=html_block,json=htmlBlock,proto3,oneof"`
}

func (*Node_HtmlBlock) ExtendNodes

func (n *Node_HtmlBlock) ExtendNodes(nodes []*Node) []*Node

type Node_LinkOrImage

type Node_LinkOrImage struct {
	LinkOrImage *LinkOrImage `protobuf:"bytes,19,opt,name=link_or_image,json=linkOrImage,proto3,oneof"`
}

func (*Node_LinkOrImage) ExtendNodes

func (n *Node_LinkOrImage) ExtendNodes(nodes []*Node) []*Node

func (*Node_LinkOrImage) SetDestination

func (n *Node_LinkOrImage) SetDestination(url string) *Node_LinkOrImage

func (*Node_LinkOrImage) SetTitle

func (n *Node_LinkOrImage) SetTitle(title string) *Node_LinkOrImage

type Node_List

type Node_List struct {
	List *List `protobuf:"bytes,12,opt,name=list,proto3,oneof"`
}

func (*Node_List) AppendItem

func (n *Node_List) AppendItem(content ...BlockContent) *Node_List

AppendItem appends a list item to the list.

func (*Node_List) AppendTaskItem

func (n *Node_List) AppendTaskItem(checked bool, content ...BlockContent) *Node_List

AppendTaskItem appends a task list item to the list.

func (*Node_List) ExtendNodes

func (n *Node_List) ExtendNodes(nodes []*Node) []*Node

func (*Node_List) SetStart

func (n *Node_List) SetStart(start uint32) *Node_List

SetStart sets the start number of the list (only works on ordered lists, "." and ")" markers).

type Node_ListItem

type Node_ListItem struct {
	ListItem *ListItem `protobuf:"bytes,13,opt,name=list_item,json=listItem,proto3,oneof"`
}

type Node_Paragraph

type Node_Paragraph struct {
	Paragraph *Paragraph `protobuf:"bytes,6,opt,name=paragraph,proto3,oneof"`
}

func (*Node_Paragraph) ExtendNodes

func (n *Node_Paragraph) ExtendNodes(nodes []*Node) []*Node

type Node_RawHtml

type Node_RawHtml struct {
	RawHtml *RawHTML `protobuf:"bytes,21,opt,name=raw_html,json=rawHtml,proto3,oneof"`
}

func (*Node_RawHtml) ExtendNodes

func (n *Node_RawHtml) ExtendNodes(nodes []*Node) []*Node

type Node_Strikethrough

type Node_Strikethrough struct {
	Strikethrough *Strikethrough `protobuf:"bytes,26,opt,name=strikethrough,proto3,oneof"`
}

func (*Node_Strikethrough) ExtendNodes

func (n *Node_Strikethrough) ExtendNodes(nodes []*Node) []*Node

type Node_String_

type Node_String_ struct {
	String_ *String `protobuf:"bytes,16,opt,name=string,proto3,oneof"`
}

func (*Node_String_) ExtendNodes

func (n *Node_String_) ExtendNodes(nodes []*Node) []*Node

type Node_Table

type Node_Table struct {
	// Github Flavored Markdown
	// blocks
	Table *Table `protobuf:"bytes,22,opt,name=table,proto3,oneof"`
}

func (*Node_Table) AppendRow

func (n *Node_Table) AppendRow(cells ...[]InlineContent) *Node_Table

func (*Node_Table) ExtendNodes

func (n *Node_Table) ExtendNodes(nodes []*Node) []*Node

func (*Node_Table) SetColumnAlignments

func (n *Node_Table) SetColumnAlignments(alignments ...CellAlignment) *Node_Table

type Node_TableCell

type Node_TableCell struct {
	TableCell *TableCell `protobuf:"bytes,24,opt,name=table_cell,json=tableCell,proto3,oneof"`
}

type Node_TableRow

type Node_TableRow struct {
	TableRow *TableRow `protobuf:"bytes,23,opt,name=table_row,json=tableRow,proto3,oneof"`
}

type Node_TaskCheckbox

type Node_TaskCheckbox struct {
	// inline
	TaskCheckbox *TaskCheckbox `protobuf:"bytes,25,opt,name=task_checkbox,json=taskCheckbox,proto3,oneof"`
}

type Node_Text

type Node_Text struct {
	// inlines
	Text *Text `protobuf:"bytes,15,opt,name=text,proto3,oneof"`
}

func (*Node_Text) ExtendNodes

func (n *Node_Text) ExtendNodes(nodes []*Node) []*Node

type Node_TextBlock

type Node_TextBlock struct {
	TextBlock *TextBlock `protobuf:"bytes,5,opt,name=text_block,json=textBlock,proto3,oneof"`
}

type Node_ThematicBreak

type Node_ThematicBreak struct {
	ThematicBreak *ThematicBreak `protobuf:"bytes,8,opt,name=thematic_break,json=thematicBreak,proto3,oneof"`
}

func (*Node_ThematicBreak) ExtendNodes

func (n *Node_ThematicBreak) ExtendNodes(nodes []*Node) []*Node

type Paragraph

type Paragraph struct {
	Base *BaseNode `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	// contains filtered or unexported fields
}

func (*Paragraph) Descriptor deprecated

func (*Paragraph) Descriptor() ([]byte, []int)

Deprecated: Use Paragraph.ProtoReflect.Descriptor instead.

func (*Paragraph) GetBase

func (x *Paragraph) GetBase() *BaseNode

func (*Paragraph) ProtoMessage

func (*Paragraph) ProtoMessage()

func (*Paragraph) ProtoReflect

func (x *Paragraph) ProtoReflect() protoreflect.Message

func (*Paragraph) Reset

func (x *Paragraph) Reset()

func (*Paragraph) String

func (x *Paragraph) String() string

type RawHTML

type RawHTML struct {
	Base     *BaseNode `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	Segments [][]byte  `protobuf:"bytes,2,rep,name=segments,proto3" json:"segments,omitempty"`
	// contains filtered or unexported fields
}

func (*RawHTML) Descriptor deprecated

func (*RawHTML) Descriptor() ([]byte, []int)

Deprecated: Use RawHTML.ProtoReflect.Descriptor instead.

func (*RawHTML) GetBase

func (x *RawHTML) GetBase() *BaseNode

func (*RawHTML) GetSegments

func (x *RawHTML) GetSegments() [][]byte

func (*RawHTML) ProtoMessage

func (*RawHTML) ProtoMessage()

func (*RawHTML) ProtoReflect

func (x *RawHTML) ProtoReflect() protoreflect.Message

func (*RawHTML) Reset

func (x *RawHTML) Reset()

func (*RawHTML) String

func (x *RawHTML) String() string

type Strikethrough

type Strikethrough struct {
	Base *BaseNode `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	// contains filtered or unexported fields
}

func (*Strikethrough) Descriptor deprecated

func (*Strikethrough) Descriptor() ([]byte, []int)

Deprecated: Use Strikethrough.ProtoReflect.Descriptor instead.

func (*Strikethrough) GetBase

func (x *Strikethrough) GetBase() *BaseNode

func (*Strikethrough) ProtoMessage

func (*Strikethrough) ProtoMessage()

func (*Strikethrough) ProtoReflect

func (x *Strikethrough) ProtoReflect() protoreflect.Message

func (*Strikethrough) Reset

func (x *Strikethrough) Reset()

func (*Strikethrough) String

func (x *Strikethrough) String() string

type String

type String struct {
	Base  *BaseNode `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	Value []byte    `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	Raw   bool      `protobuf:"varint,3,opt,name=raw,proto3" json:"raw,omitempty"`
	Code  bool      `protobuf:"varint,4,opt,name=code,proto3" json:"code,omitempty"`
	// contains filtered or unexported fields
}

func (*String) Descriptor deprecated

func (*String) Descriptor() ([]byte, []int)

Deprecated: Use String.ProtoReflect.Descriptor instead.

func (*String) GetBase

func (x *String) GetBase() *BaseNode

func (*String) GetCode

func (x *String) GetCode() bool

func (*String) GetRaw

func (x *String) GetRaw() bool

func (*String) GetValue

func (x *String) GetValue() []byte

func (*String) ProtoMessage

func (*String) ProtoMessage()

func (*String) ProtoReflect

func (x *String) ProtoReflect() protoreflect.Message

func (*String) Reset

func (x *String) Reset()

func (*String) String

func (x *String) String() string

type Table

type Table struct {
	Base       *BaseNode       `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	Alignments []CellAlignment `protobuf:"varint,2,rep,packed,name=alignments,proto3,enum=ast.v1.CellAlignment" json:"alignments,omitempty"`
	// contains filtered or unexported fields
}

func (*Table) Descriptor deprecated

func (*Table) Descriptor() ([]byte, []int)

Deprecated: Use Table.ProtoReflect.Descriptor instead.

func (*Table) GetAlignments

func (x *Table) GetAlignments() []CellAlignment

func (*Table) GetBase

func (x *Table) GetBase() *BaseNode

func (*Table) ProtoMessage

func (*Table) ProtoMessage()

func (*Table) ProtoReflect

func (x *Table) ProtoReflect() protoreflect.Message

func (*Table) Reset

func (x *Table) Reset()

func (*Table) String

func (x *Table) String() string

type TableCell

type TableCell struct {
	Base      *BaseNode     `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	Alignment CellAlignment `protobuf:"varint,2,opt,name=alignment,proto3,enum=ast.v1.CellAlignment" json:"alignment,omitempty"`
	// contains filtered or unexported fields
}

func (*TableCell) Descriptor deprecated

func (*TableCell) Descriptor() ([]byte, []int)

Deprecated: Use TableCell.ProtoReflect.Descriptor instead.

func (*TableCell) GetAlignment

func (x *TableCell) GetAlignment() CellAlignment

func (*TableCell) GetBase

func (x *TableCell) GetBase() *BaseNode

func (*TableCell) ProtoMessage

func (*TableCell) ProtoMessage()

func (*TableCell) ProtoReflect

func (x *TableCell) ProtoReflect() protoreflect.Message

func (*TableCell) Reset

func (x *TableCell) Reset()

func (*TableCell) String

func (x *TableCell) String() string

type TableRow

type TableRow struct {
	Base       *BaseNode       `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	Alignments []CellAlignment `protobuf:"varint,2,rep,packed,name=alignments,proto3,enum=ast.v1.CellAlignment" json:"alignments,omitempty"`
	IsHeader   bool            `protobuf:"varint,4,opt,name=is_header,json=isHeader,proto3" json:"is_header,omitempty"`
	// contains filtered or unexported fields
}

func (*TableRow) Descriptor deprecated

func (*TableRow) Descriptor() ([]byte, []int)

Deprecated: Use TableRow.ProtoReflect.Descriptor instead.

func (*TableRow) GetAlignments

func (x *TableRow) GetAlignments() []CellAlignment

func (*TableRow) GetBase

func (x *TableRow) GetBase() *BaseNode

func (*TableRow) GetIsHeader

func (x *TableRow) GetIsHeader() bool

func (*TableRow) ProtoMessage

func (*TableRow) ProtoMessage()

func (*TableRow) ProtoReflect

func (x *TableRow) ProtoReflect() protoreflect.Message

func (*TableRow) Reset

func (x *TableRow) Reset()

func (*TableRow) String

func (x *TableRow) String() string

type TaskCheckbox

type TaskCheckbox struct {
	Base      *BaseNode `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	IsChecked bool      `protobuf:"varint,2,opt,name=is_checked,json=isChecked,proto3" json:"is_checked,omitempty"`
	// contains filtered or unexported fields
}

func (*TaskCheckbox) Descriptor deprecated

func (*TaskCheckbox) Descriptor() ([]byte, []int)

Deprecated: Use TaskCheckbox.ProtoReflect.Descriptor instead.

func (*TaskCheckbox) GetBase

func (x *TaskCheckbox) GetBase() *BaseNode

func (*TaskCheckbox) GetIsChecked

func (x *TaskCheckbox) GetIsChecked() bool

func (*TaskCheckbox) ProtoMessage

func (*TaskCheckbox) ProtoMessage()

func (*TaskCheckbox) ProtoReflect

func (x *TaskCheckbox) ProtoReflect() protoreflect.Message

func (*TaskCheckbox) Reset

func (x *TaskCheckbox) Reset()

func (*TaskCheckbox) String

func (x *TaskCheckbox) String() string

type Text

type Text struct {
	Base          *BaseNode `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	Segment       []byte    `protobuf:"bytes,2,opt,name=segment,proto3" json:"segment,omitempty"`
	SoftLineBreak bool      `protobuf:"varint,3,opt,name=soft_line_break,json=softLineBreak,proto3" json:"soft_line_break,omitempty"`
	HardLineBreak bool      `protobuf:"varint,4,opt,name=hard_line_break,json=hardLineBreak,proto3" json:"hard_line_break,omitempty"`
	Raw           bool      `protobuf:"varint,5,opt,name=raw,proto3" json:"raw,omitempty"`
	// contains filtered or unexported fields
}

func (*Text) Descriptor deprecated

func (*Text) Descriptor() ([]byte, []int)

Deprecated: Use Text.ProtoReflect.Descriptor instead.

func (*Text) GetBase

func (x *Text) GetBase() *BaseNode

func (*Text) GetHardLineBreak

func (x *Text) GetHardLineBreak() bool

func (*Text) GetRaw

func (x *Text) GetRaw() bool

func (*Text) GetSegment

func (x *Text) GetSegment() []byte

func (*Text) GetSoftLineBreak

func (x *Text) GetSoftLineBreak() bool

func (*Text) ProtoMessage

func (*Text) ProtoMessage()

func (*Text) ProtoReflect

func (x *Text) ProtoReflect() protoreflect.Message

func (*Text) Reset

func (x *Text) Reset()

func (*Text) String

func (x *Text) String() string

type TextBlock

type TextBlock struct {
	Base *BaseNode `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	// contains filtered or unexported fields
}

func (*TextBlock) Descriptor deprecated

func (*TextBlock) Descriptor() ([]byte, []int)

Deprecated: Use TextBlock.ProtoReflect.Descriptor instead.

func (*TextBlock) GetBase

func (x *TextBlock) GetBase() *BaseNode

func (*TextBlock) ProtoMessage

func (*TextBlock) ProtoMessage()

func (*TextBlock) ProtoReflect

func (x *TextBlock) ProtoReflect() protoreflect.Message

func (*TextBlock) Reset

func (x *TextBlock) Reset()

func (*TextBlock) String

func (x *TextBlock) String() string

type ThematicBreak

type ThematicBreak struct {
	Base *BaseNode `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	// contains filtered or unexported fields
}

func (*ThematicBreak) Descriptor deprecated

func (*ThematicBreak) Descriptor() ([]byte, []int)

Deprecated: Use ThematicBreak.ProtoReflect.Descriptor instead.

func (*ThematicBreak) GetBase

func (x *ThematicBreak) GetBase() *BaseNode

func (*ThematicBreak) ProtoMessage

func (*ThematicBreak) ProtoMessage()

func (*ThematicBreak) ProtoReflect

func (x *ThematicBreak) ProtoReflect() protoreflect.Message

func (*ThematicBreak) Reset

func (x *ThematicBreak) Reset()

func (*ThematicBreak) String

func (x *ThematicBreak) String() string

Jump to

Keyboard shortcuts

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