Class IsConvertableToStringOrError

java.lang.Object
org.ek9lang.compiler.common.RuleSupport
org.ek9lang.compiler.phase3.IsConvertableToStringOrError
All Implemented Interfaces:
BiPredicate<IToken,ISymbol>

class IsConvertableToStringOrError extends RuleSupport implements BiPredicate<IToken,ISymbol>
Checks if a type has the $ 'toString' method or a 'promotion' #? to a String method. If not emits and error. Or it must be the String type itself.