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