diff --git a/master/classes/Jsonnet.html b/master/classes/Jsonnet.html index 3859678..9bd4044 100644 --- a/master/classes/Jsonnet.html +++ b/master/classes/Jsonnet.html @@ -1,5 +1,5 @@ Jsonnet | @hanazuki/node-jsonnet

Jsonnet is a Jsonnet interpreter. It has a fluent interface: all the setter methods modify the receiver and return it.

-

Constructors

Constructors

Properties

Methods

addJpath evaluateFile @@ -19,45 +19,45 @@ tlaCode tlaString

Constructors

Properties

version: string

Returns the version of linked libjsonnet.

-

Methods

  • Adds a path to the list of include paths. Paths added more recently take precedence.

    +

    Returns Jsonnet

Properties

version: string

Returns the version of linked libjsonnet.

+

Methods

  • Adds a path to the list of include paths. Paths added more recently take precedence.

    Parameters

    • path: string

      Path to add.

      -

    Returns this

  • Evaluates a Jsonnet script in a file.

    +

Returns this

  • Evaluates a Jsonnet script in a file.

    Parameters

    • filename: string

      Path to the file.

    Returns Promise<string>

    A Promise for the evaluation result in JSON representation.

    -
  • Evaluates a Jsonnet script in a file and returns a number of named JSON's.

    +
  • Evaluates a Jsonnet script in a file and returns a number of named JSON's.

    Parameters

    • filename: string

      Path to the file.

    Returns Promise<{
        [name: string]: string;
    }>

    A Promise for the evaluation result in JSON representation.

    -
  • Evaluates a Jsonnet script in a file and returns a number of JSON's.

    +
  • Evaluates a Jsonnet script in a file and returns a number of JSON's.

    Parameters

    • filename: string

      Path to the file.

    Returns Promise<string[]>

    A Promise for the evaluation result in JSON representation.

    -
  • Evaluates a Jsonnet script given as a string.

    +
  • Evaluates a Jsonnet script given as a string.

    Parameters

    • snippet: string

      Jsonnet script to evaluate.

    • Optional filename: string

      Filename used for error reporting.

    Returns Promise<string>

    A Promise for the evaluation result in JSON representation.

    -
  • Evaluates a Jsonnet script given as a string and returns a number of named JSON's.

    +
  • Evaluates a Jsonnet script given as a string and returns a number of named JSON's.

    Parameters

    • snippet: string

      Jsonnet script to evaluate.

    • Optional filename: string

      Filename used for error reporting.

    Returns Promise<{
        [name: string]: string;
    }>

    A Promise for the evaluation result in JSON representation.

    -
  • Evaluates a Jsonnet script given as a string and returns a number of JSON's.

    +
  • Evaluates a Jsonnet script given as a string and returns a number of JSON's.

    Parameters

    • snippet: string

      Jsonnet script to evaluate.

    • Optional filename: string

      Filename used for error reporting.

    Returns Promise<string[]>

    A Promise for the evaluation result in JSON representation.

    -
  • Binds external variable named as key to a value represented by value.

    +
  • Binds external variable named as key to a value represented by value.

    Parameters

    • key: string

      Name of the external variable

    • value: string

      Code representation of the value to which the variable is bound

      -

    Returns this

  • Binds external variable named as key to string value.

    +

Returns this

Returns this

Returns this

Returns this

Returns this

Returns this

Returns this

Returns this

Generated using TypeDoc

\ No newline at end of file +

Returns this

Generated using TypeDoc

\ No newline at end of file diff --git a/master/classes/JsonnetError.html b/master/classes/JsonnetError.html index c57ff92..9ac46db 100644 --- a/master/classes/JsonnetError.html +++ b/master/classes/JsonnetError.html @@ -1,2 +1,2 @@ -JsonnetError | @hanazuki/node-jsonnet

Hierarchy

  • Error
    • JsonnetError

Constructors

constructor +JsonnetError | @hanazuki/node-jsonnet

Hierarchy

  • Error
    • JsonnetError

Constructors

Constructors

  • Parameters

    • Optional message: string

    Returns JsonnetError

Generated using TypeDoc

\ No newline at end of file diff --git a/master/types/JsonnetPrimitiveValue.html b/master/types/JsonnetPrimitiveValue.html index f5fbc19..fbfb796 100644 --- a/master/types/JsonnetPrimitiveValue.html +++ b/master/types/JsonnetPrimitiveValue.html @@ -1,2 +1,2 @@ JsonnetPrimitiveValue | @hanazuki/node-jsonnet

Type alias JsonnetPrimitiveValue

JsonnetPrimitiveValue: null | boolean | number | string

JsonnetPrimitiveValue is a class of values that may be passed to native callbacks.

-

Generated using TypeDoc

\ No newline at end of file +

Generated using TypeDoc

\ No newline at end of file