package
0.0.0-20240329101916-eee87fb235a3
Repository: https://github.com/go-text/typesetting-utils.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
ArrayOffset returns the expression for <offset> + <count> * <elementSize>, usable for offsets or array length.
No description provided by the author
Name returns the representation of the given type in generated code, either its local name or its String.
NewBuffer returns a ready to use buffer, which will add the new decleration to [accu].
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
Buffer is used to accumulate and de-deduplicate function declarations.
Context holds the names of the objects used in the generated code.
Declaration is a chunk of generated go code, with an id used to avoid duplication.
Offset represents an offset in a byte of slice.
# Interfaces
No description provided by the author
# Type aliases
No description provided by the author
represent a fmt.Errorf(..., args) statement.
simple 'err' statement.
Expression is a Go expression, such as a variable name, a static number, or an expression.