parser

package
v5.1.2 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package parser turns the source text into a sequence of blocks.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeFormatted

func MakeFormatted(ctx mycocontext.Context, firstLine string) blocks.Formatted

MakeFormatted parses the formatted text in the input and returns it. Does it?

func NextToken

func NextToken(ctx mycocontext.Context) (blocks.Block, bool)

NextToken returns the next found block in the input. The second value is true if eof.

Types

This section is empty.

Jump to

Keyboard shortcuts

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