Class FrontMatterBody
java.lang.Object
org.ek9lang.compiler.common.FrontMatterBody
- All Implemented Interfaces:
Function<String,String>, UnaryOperator<String>
THE EK9 source after an example's
FrontMatter, trimmed and without a trailing //EOF; the whole text
(likewise trimmed) when there is no front matter. Hold an instance.
EK9 REQUIRES #!ek9 as a file's first line and the example files put it BEFORE the front matter, so
the body restores it as its own first line (Steve, 2026-10-12: every whole-file example shows it, so code copied
from a page compiles and a capture's line N is the Nth line shown). THE one place that used to drop it; a region
(SourceRegionExtract) still shows only its region.
-
Constructor Details
-
FrontMatterBody
public FrontMatterBody()
-
-
Method Details
-
apply
-