MonkeyParser

package module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2022 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse(str string) interface{}

func ParseRegex

func ParseRegex(str string) interface{}

Types

type Document

type Document struct {
	Elements []interface{}
}

func FromFile

func FromFile(f fs.File) (doc Document)

func (*Document) ParseElement

func (d *Document) ParseElement(el string)

type Heading

type Heading struct {
	Level     int
	Content   string
	Numbering string
}

type Paragraph

type Paragraph struct {
	Content string
}

Jump to

Keyboard shortcuts

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