summaryrefslogtreecommitdiffstats
path: root/vespajlib/src/main/java/com/yahoo/tensor/functions/ToStringContext.java
blob: b71229703d2c4c1d2f8e4da77dce784ba4bdba72 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package com.yahoo.tensor.functions;

/**
 * A context which is passed down to all nested functions when returning a string representation.
 * The default implementation is empty as this library does not in itself have any need for a
 * context.
 *
 * @author bratseth
 */
public interface ToStringContext {

    static ToStringContext empty() { return new ToStringContext() {}; }

}