Documentation
¶
Overview ¶
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 ¶
View Source
var KindSubscript = gast.NewNodeKind("Subscript")
KindSubscript is a NodeKind of the Subscript node.
View Source
var KindSuperscript = gast.NewNodeKind("Superscript")
KindSuperscript is a NodeKind of the Superscript node.
Functions ¶
This section is empty.
Types ¶
type Subscript ¶
type Subscript struct {
gast.BaseInline
}
A Subscript struct represents subscript text.
type Superscript ¶
type Superscript struct {
gast.BaseInline
}
A Superscript struct represents a superscript text.
func NewSuperscript ¶
func NewSuperscript() *Superscript
NewSuperscript returns a new Superscript node.
func (*Superscript) Dump ¶
func (n *Superscript) Dump(source []byte, level int)
Dump implements Node.Dump.
Click to show internal directories.
Click to hide internal directories.