/// <inheritdoc />
        protected override void Format(IScriptToken token, StringBuilder resulttext, IFormatterCollection formatters, int depth = 0)
        {
            IUnaryToken unarytoken = (IUnaryToken)token;

            if (unarytoken.IsPostToken)
            {
                formatters[unarytoken.Operand].FormatToken(unarytoken.Operand, resulttext, formatters, depth);
                resulttext.Append(unarytoken.Literal);
            }
            else
            {
                resulttext.Append(unarytoken.Literal);
                formatters[unarytoken.Operand].FormatToken(unarytoken.Operand, resulttext, formatters, depth);
            }
        }
 /// <summary>
 /// visits an unary token
 /// </summary>
 /// <param name="unary"></param>
 public virtual void VisitUnary(IUnaryToken unary)
 {
     VisitToken(unary.Operand);
 }