Documentation
¶
Overview ¶
Package include provides the `@include "file.nflow"` directive. The referenced file is preprocessed recursively in the caller's context (cycle detection uses the include chain), and its pipelines, declarations, and require block are merged into the parent's meta.
Typical use:
@include ./shared/child.nflow
Index ¶
Constants ¶
View Source
const ID = "include"
Variables ¶
View Source
var Directive = core.Directive{
Name: "include",
Example: `@include "shared/child.nflow"`,
Handler: handleDirective,
}
Directive parses `@include "path"` and merges the referenced file's meta into the parent. Path resolution is relative to the including file's directory.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.