Package com.yahoo.tensor.functions
Interface ToStringContext
-
- All Known Implementing Classes:
ToStringContext.EmptyStringContext
public interface ToStringContext
A context which is passed down to all nested functions when returning a string representation.- Author:
- bratseth
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ToStringContext.EmptyStringContext
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static ToStringContext
empty()
java.lang.String
getBinding(java.lang.String name)
Returns the name an identifier is bound to, or null if not bound in this contextToStringContext
parent()
Returns the parent context of this (the context we're in scope of when this is created), or null if this is the root.
-
-
-
Method Detail
-
empty
static ToStringContext empty()
-
getBinding
java.lang.String getBinding(java.lang.String name)
Returns the name an identifier is bound to, or null if not bound in this context
-
parent
ToStringContext parent()
Returns the parent context of this (the context we're in scope of when this is created), or null if this is the root.
-
-