コード例 #1
0
        /**
         * Mark as an assignment for a list()
         */
        public void assign(QuercusParser parser)

        {
            string msg = L.l("{0} @is an invalid left-hand side of an assignment.",
                             this);

            if (parser != null)
            {
                throw parser.error(msg);
            }
            else
            {
                throw new IOException(msg);
            }
        }
コード例 #2
0
        //
        // expression creation functions
        //

        public Expr createAssign(QuercusParser parser, Expr value)

        {
            string msg = (L.l("{0} @is an invalid left-hand side of an assignment.",
                              this));

            if (parser != null)
            {
                throw parser.error(msg);
            }
            else
            {
                throw new IOException(msg);
            }
        }