import { Environment } from "https://deno.land/x/vento@v0.10.0/src/environment.ts";
Constructors
new
Environment(options: Options)Methods
compile(): TemplateSync
source: string,
path?: string,
defaults?: Record<string, unknown>,
sync?: true,
compileFilters(): string
compileTokens(): string[]
createError(): Error
path: string,
source: string,
position: number,
cause: Error,
run(): Promise<TemplateResult>
file: string,
data: Record<string, unknown>,
from?: string,
runString(): Promise<TemplateResult>
source: string,
data?: Record<string, unknown>,
file?: string,
runStringSync(source: string, data?: Record<string, unknown>): TemplateResult