In package com.eden.orchid.api.compilers
The precompiler is a compiler to be run against files before they are sent to their appropriate OrchidCompiler. Generally, this is used to extract data embedded within the file, returning the extracted data and the content after it has had its embedded data removed so that the resulting content can be compiled with special options specific to that file.
Initialize the OrchidPrecompiler with a set priority. Currently does nothing but is in place to allow for implementation to be chosen at runtime.
public abstract getEmbeddedData(kotlin.String, kotlin.String): EdenPair
Extract the data embedded within some given content, returning the data that was extracted as well as the content after the embedded data has been removed.
public abstract shouldPrecompile(kotlin.String, kotlin.String): Boolean
Evaluate a given input String to determine whether it should be precompiled with this OrchidPrecompiler or not.