package ninja_utils

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Ninja_utils.ExprSource

Helper module to build ninja expressions.

Sourcetype t = string list

Ninja expressions are represented as raw string lists, which may contain variables or "$-escapes"

Sourceval format : Format.formatter -> t -> unit

format fmt exp outputs in fmt the string representation of the ninja expression exp. Spaces in individual elements are escaped (but no check is made for e.g. newlines)