translate

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Translator

type Translator struct {
	// contains filtered or unexported fields
}

Translator

The translation functions internally panic, which gets caught by File

func NewTranslator

func NewTranslator() *Translator

func (*Translator) BabelfishLocation

func (t *Translator) BabelfishLocation(loc string)

func (*Translator) File

func (t *Translator) File(f *syntax.File) (err error)

func (*Translator) WriteTo

func (t *Translator) WriteTo(w io.Writer) (int64, error)

type UnsupportedError

type UnsupportedError struct {
	Node syntax.Node
}

func (*UnsupportedError) Error

func (u *UnsupportedError) Error() string

Jump to

Keyboard shortcuts

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