parser

package
v5.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: Apache-2.0 Imports: 9 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.

Directories

Path Synopsis
Package ctxio provides input and output operations on the input buffer in mycocontext.Context.
Package ctxio provides input and output operations on the input buffer in mycocontext.Context.

Jump to

Keyboard shortcuts

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