Beispiel #1
0
 protected bool Equals(ThrowNode other)
 {
     return Equals(Expression, other.Expression);
 }
Beispiel #2
0
        /// <summary>
        /// throw_stmt                                  = "throw" [ line_expr ]
        /// </summary>
        private ThrowNode parseThrowStmt()
        {
            if (!check(LexemType.Throw))
                return null;

            var node = new ThrowNode();
            node.Expression = attempt(parseLineExpr);
            return node;
        }
Beispiel #3
0
 protected bool Equals(ThrowNode other)
 {
     return(Equals(Expression, other.Expression));
 }