package
0.56.1
Repository: https://github.com/open2b/scriggo.git
Documentation: pkg.go.dev

# Packages

Package types implements functions and types to represent and work with Scriggo types.

# Functions

BuildProgram builds a Go program from the package in the root of fsys with the given options, importing the imported packages from packages.
BuildTemplate builds the named template file rooted at the given file system.
Disassemble disassembles the main function fn with the given globals, returning the assembly code for each package.
DisassembleFunction disassembles the function fn with the given globals.
ParseProgram parses a program.
ParseTemplate parses the named template file rooted at the given file system.
ParseTemplateSource parses a template with content src in the given format and returns its tree and the unexpanded Extends, Import, Render and Assignment nodes.
ValidTemplatePath indicates whether path is a valid template path.

# Constants

BOM contains a Byte Order Mark.

# Variables

No description provided by the author
No description provided by the author

# Structs

CheckingError records a type checking error with the path and the position where the error occurred.
Code is the result of a package emitting process.
CycleError implements an error indicating the presence of a cycle.
Global represents a global variable with a package, name, type (only for not predefined globals) and value (only for predefined globals).
GoModError represents an error in a go.mod file.
A LimitExceededError is an error returned by the compiler reporting that the compilation has exceeded a limit imposed by the implementation.
Options represents a set of options used during the compilation.
SyntaxError records a parsing error with the path and the position where the error occurred.

# Interfaces

Error represents an error returned by the compiler.
FormatFS is the interface implemented by a file system that can determine the file format from a path name.

# Type aliases

Converter is implemented by format converters.