src/java.xml/share/classes/com/sun/org/apache/xalan/internal/xsltc/compiler/LangCall.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.xalan.internal.xsltc.compiler;
    22 package com.sun.org.apache.xalan.internal.xsltc.compiler;
    23 
    23 
    24 import java.util.Vector;
       
    25 
       
    26 import com.sun.org.apache.bcel.internal.generic.ConstantPoolGen;
    24 import com.sun.org.apache.bcel.internal.generic.ConstantPoolGen;
    27 import com.sun.org.apache.bcel.internal.generic.ILOAD;
    25 import com.sun.org.apache.bcel.internal.generic.ILOAD;
    28 import com.sun.org.apache.bcel.internal.generic.INVOKESTATIC;
    26 import com.sun.org.apache.bcel.internal.generic.INVOKESTATIC;
    29 import com.sun.org.apache.bcel.internal.generic.InstructionList;
    27 import com.sun.org.apache.bcel.internal.generic.InstructionList;
    30 import com.sun.org.apache.xalan.internal.xsltc.compiler.util.ClassGenerator;
    28 import com.sun.org.apache.xalan.internal.xsltc.compiler.util.ClassGenerator;
    31 import com.sun.org.apache.xalan.internal.xsltc.compiler.util.FilterGenerator;
    29 import com.sun.org.apache.xalan.internal.xsltc.compiler.util.FilterGenerator;
    32 import com.sun.org.apache.xalan.internal.xsltc.compiler.util.MethodGenerator;
    30 import com.sun.org.apache.xalan.internal.xsltc.compiler.util.MethodGenerator;
    33 import com.sun.org.apache.xalan.internal.xsltc.compiler.util.StringType;
    31 import com.sun.org.apache.xalan.internal.xsltc.compiler.util.StringType;
    34 import com.sun.org.apache.xalan.internal.xsltc.compiler.util.Type;
    32 import com.sun.org.apache.xalan.internal.xsltc.compiler.util.Type;
    35 import com.sun.org.apache.xalan.internal.xsltc.compiler.util.TypeCheckError;
    33 import com.sun.org.apache.xalan.internal.xsltc.compiler.util.TypeCheckError;
       
    34 import java.util.List;
    36 
    35 
    37 /**
    36 /**
    38  * @author Morten Jorgensen
    37  * @author Morten Jorgensen
    39  */
    38  */
    40 final class LangCall extends FunctionCall {
    39 final class LangCall extends FunctionCall {
    43 
    42 
    44     /**
    43     /**
    45      * Get the parameters passed to function:
    44      * Get the parameters passed to function:
    46      *   lang(string)
    45      *   lang(string)
    47      */
    46      */
    48     public LangCall(QName fname, Vector arguments) {
    47     public LangCall(QName fname, List<Expression> arguments) {
    49         super(fname, arguments);
    48         super(fname, arguments);
    50         _lang = argument(0);
    49         _lang = argument(0);
    51     }
    50     }
    52 
    51 
    53     /**
    52     /**