parser

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: May 24, 2021 License: Apache-2.0 Imports: 7 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 ContextFromStringInput

func ContextFromStringInput(hyphaName, input string) (context.Context, context.CancelFunc)

ContextFromStringInput returns the context for the given inputFrom.

func Parse

func Parse(ctx context.Context, out chan interface{})

Parse parses the Mycomarkup document in the given context. All parsed blocks are written to out.

TODO: decide whether using the channel is really a good idea 🤔

Types

This section is empty.

Jump to

Keyboard shortcuts

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