src/java.xml/share/classes/com/sun/org/apache/xpath/internal/operations/UnaryOperation.java
changeset 47359 e1a6c0168741
parent 47216 71c04702a3d5
child 48409 5ab69533994b
equal deleted inserted replaced
47358:d07d5f7cab35 47359:e1a6c0168741
     1 /*
     1 /*
     2  * reserved comment block
     2  * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT REMOVE OR ALTER!
     3  * @LastModified: Oct 2017
     4  */
     4  */
     5 /*
     5 /*
     6  * Licensed to the Apache Software Foundation (ASF) under one or more
     6  * Licensed to the Apache Software Foundation (ASF) under one or more
     7  * contributor license agreements.  See the NOTICE file distributed with
     7  * contributor license agreements.  See the NOTICE file distributed with
     8  * this work for additional information regarding copyright ownership.
     8  * this work for additional information regarding copyright ownership.
    19  * limitations under the License.
    19  * limitations under the License.
    20  */
    20  */
    21 
    21 
    22 package com.sun.org.apache.xpath.internal.operations;
    22 package com.sun.org.apache.xpath.internal.operations;
    23 
    23 
       
    24 import com.sun.org.apache.xml.internal.utils.QName;
    24 import com.sun.org.apache.xpath.internal.Expression;
    25 import com.sun.org.apache.xpath.internal.Expression;
    25 import com.sun.org.apache.xpath.internal.ExpressionOwner;
    26 import com.sun.org.apache.xpath.internal.ExpressionOwner;
    26 import com.sun.org.apache.xpath.internal.XPathContext;
    27 import com.sun.org.apache.xpath.internal.XPathContext;
    27 import com.sun.org.apache.xpath.internal.XPathVisitor;
    28 import com.sun.org.apache.xpath.internal.XPathVisitor;
    28 import com.sun.org.apache.xpath.internal.objects.XObject;
    29 import com.sun.org.apache.xpath.internal.objects.XObject;
       
    30 import java.util.List;
    29 
    31 
    30 /**
    32 /**
    31  * The unary operation base class.
    33  * The unary operation base class.
    32  */
    34  */
    33 public abstract class UnaryOperation extends Expression implements ExpressionOwner
    35 public abstract class UnaryOperation extends Expression implements ExpressionOwner
    46    * corresponds to the variable reference qname.  The position of the
    48    * corresponds to the variable reference qname.  The position of the
    47    * QName in the vector from the start of the vector will be its position
    49    * QName in the vector from the start of the vector will be its position
    48    * in the stack frame (but variables above the globalsTop value will need
    50    * in the stack frame (but variables above the globalsTop value will need
    49    * to be offset to the current stack frame).
    51    * to be offset to the current stack frame).
    50    */
    52    */
    51   public void fixupVariables(java.util.Vector vars, int globalsSize)
    53   public void fixupVariables(List<QName> vars, int globalsSize)
    52   {
    54   {
    53     m_right.fixupVariables(vars, globalsSize);
    55     m_right.fixupVariables(vars, globalsSize);
    54   }
    56   }
    55 
    57 
    56   /**
    58   /**