renderer

package
v0.0.0-...-0efad91 Latest Latest
Warning

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

Go to latest
Published: May 3, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsEscaped

func IsEscaped(pos int, runes []rune) bool

func IsLanguageKeyword

func IsLanguageKeyword(pos int, runes []rune) bool

IsLanguageKeyword determins if a word starts a language keyword. List of PHP keywords taken from http://php.net/manual/en/reserved.keywords.php

func IsLanguageType

func IsLanguageType(pos int, runes []rune) bool

func StartsLanguageDeliminator

func StartsLanguageDeliminator(r rune) bool

Types

type PHPSyntax

func (*PHPSyntax) CanRender

func (rd *PHPSyntax) CanRender(buf *demodel.CharBuffer) bool

func (*PHPSyntax) InvalidateCache

func (rd *PHPSyntax) InvalidateCache()

func (*PHPSyntax) RenderInto

func (rd *PHPSyntax) RenderInto(dst draw.Image, buf *demodel.CharBuffer, viewport image.Rectangle) error

Jump to

Keyboard shortcuts

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