Exemple #1
0
 protected bool Equals(ThrowNode other)
 {
     return Equals(Expression, other.Expression);
 }
Exemple #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;
        }
Exemple #3
0
 protected bool Equals(ThrowNode other)
 {
     return(Equals(Expression, other.Expression));
 }