pi

package
v0.5.8 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2019 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TheMarkdownLang = MarkdownLang{}

TheMarkdownLang is the instance variable providing support for the Markdown language

Functions

This section is empty.

Types

type MarkdownLang

type MarkdownLang struct {
	Pr *pi.Parser
}

MarkdownLang implements the Lang interface for the Markdown language

func (*MarkdownLang) CompleteEdit

func (ml *MarkdownLang) CompleteEdit(fs *pi.FileState, text string, cp int, comp complete.Completion, seed string) (ed complete.EditData)

func (*MarkdownLang) CompleteLine

func (ml *MarkdownLang) CompleteLine(fs *pi.FileState, str string, pos lex.Pos) (md complete.MatchData)

func (*MarkdownLang) HiLine

func (ml *MarkdownLang) HiLine(fs *pi.FileState, line int) lex.Line

func (*MarkdownLang) LexLine

func (ml *MarkdownLang) LexLine(fs *pi.FileState, line int) lex.Line

func (*MarkdownLang) ParseDir

func (ml *MarkdownLang) ParseDir(path string, opts pi.LangDirOpts) *syms.Symbol

func (*MarkdownLang) ParseFile

func (ml *MarkdownLang) ParseFile(fs *pi.FileState)

func (*MarkdownLang) ParseLine

func (ml *MarkdownLang) ParseLine(fs *pi.FileState, line int) *pi.FileState

func (*MarkdownLang) Parser

func (ml *MarkdownLang) Parser() *pi.Parser

Jump to

Keyboard shortcuts

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