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

import com.google.common.annotations.Beta;

/**
 * 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
 */
@Beta
public interface ToStringContext {

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

}