Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRenderer ¶
Types ¶
type Call ¶ added in v0.7.0
type Call struct {
Name string
Kind attrhook.FrameKind
// Node is the call: a component call, or the parameter reference that
// renders a component value.
Node ast.Node
}
Call is a component call on the render stack.
type Diagnostic ¶ added in v0.7.0
type Diagnostic struct {
Title string
Message string
// Node is the dropped node.
Node ast.Node
// Calls are the component calls around Node, outermost first.
Calls []Call
}
Diagnostic is a part of the output that an error dropped.
type Options ¶ added in v0.7.0
type Options struct {
AttributeHook attrhook.AttributeHookFunc
URLReporter urlreport.URLReporterFunc
}
Options holds the settings of a single Render call.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.