pi

package
v0.5.10 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TheTexLang = TexLang{}

TheTexLang is the instance variable providing support for the Go language

Functions

This section is empty.

Types

type TexLang

type TexLang struct {
	Pr *pi.Parser
}

TexLang implements the Lang interface for the Tex / LaTeX language

func (*TexLang) CompleteEdit

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

func (*TexLang) CompleteLine

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

func (*TexLang) HiLine

func (tl *TexLang) HiLine(fs *pi.FileState, line int) lex.Line

func (*TexLang) LexLine

func (tl *TexLang) LexLine(fs *pi.FileState, line int) lex.Line

func (*TexLang) ParseDir

func (tl *TexLang) ParseDir(path string, opts pi.LangDirOpts) *syms.Symbol

func (*TexLang) ParseFile

func (tl *TexLang) ParseFile(fs *pi.FileState)

func (*TexLang) ParseLine

func (tl *TexLang) ParseLine(fs *pi.FileState, line int) *pi.FileState

func (*TexLang) Parser

func (tl *TexLang) Parser() *pi.Parser

Jump to

Keyboard shortcuts

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