예제 #1
0
            NotImplementedException UnsupportedOperatorException()
            {
                string msg = String.Format("Unsupported binary operator: '{0}' ({1}).", JSTokenizer.Explain(Expr.BinaryOperatorToken), (int)Expr.BinaryOperatorToken);

                return(new NotImplementedException(msg));
            }
예제 #2
0
 public override string ToString()
 {
     return(JSTokenizer.Explain(TokenType) + Expression.ToString());
 }
예제 #3
0
 /// <summary>
 /// This is just to ease debugging.
 /// </summary>
 /// <returns>Readable expression.</returns>
 public override string ToString()
 {
     return(Left.ToString() + JSTokenizer.Explain(BinaryOperatorToken) + Right.ToString());
 }
예제 #4
0
            NotSupportedException UnsupportedOperatorException()
            {
                string msg = String.Format("Unsupported unary operator: '{0}' ({1}).", JSTokenizer.Explain(Expr.TokenType), (int)Expr.TokenType);

                return(new NotSupportedException(msg));
            }