interpolate

package
v0.0.0-...-c555478 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2021 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Literal

type Literal struct {
	Value string
}

Literal is a string literal that we have found after interpolation parsing.

type Stream

type Stream []Token

Stream is the list of tokens that are produced after interpolating a string. It is created by using the generated Parse function. TODO: In theory a more advanced parser could produce an AST here instead.

type Token

type Token interface {
	// contains filtered or unexported methods
}

Token is the interface that every token must implement.

type Variable

type Variable struct {
	Name string
}

Variable is a variable name that we have found after interpolation parsing.

Jump to

Keyboard shortcuts

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