jsonnet-0.3.1.1: Jsonnet implementaton in pure Haskell
Copyright(c) 2020-2021 Alexandre Moreno
LicenseBSD-3-Clause OR Apache-2.0
MaintainerAlexandre Moreno <alexmorenocano@gmail.com>
Stabilityexperimental
Portabilitynon-portable
Safe HaskellNone
LanguageHaskell2010

Language.Jsonnet.Parser

Description

Parser for Jsonnet source code.

Documentation

parse Source #

Arguments

:: MonadError Error m 
=> FilePath

File name (only for source location annotations)

-> Text

Input for parser

-> m Expr'

AST with unresolved imports

resolveImports Source #

Arguments

:: (MonadError Error m, MonadIO m) 
=> FilePath

File path (modules are resolved relative to this path)

-> Expr'

AST with unresolved imports

-> m Expr

AST with imports resolved