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.PUSH; |
25 import com.sun.org.apache.bcel.internal.generic.PUSH; |
28 import com.sun.org.apache.xalan.internal.xsltc.compiler.util.ClassGenerator; |
26 import com.sun.org.apache.xalan.internal.xsltc.compiler.util.ClassGenerator; |
29 import com.sun.org.apache.xalan.internal.xsltc.compiler.util.ErrorMsg; |
27 import com.sun.org.apache.xalan.internal.xsltc.compiler.util.ErrorMsg; |
30 import com.sun.org.apache.xalan.internal.xsltc.compiler.util.MethodGenerator; |
28 import com.sun.org.apache.xalan.internal.xsltc.compiler.util.MethodGenerator; |
31 import com.sun.org.apache.xalan.internal.xsltc.compiler.util.Type; |
29 import com.sun.org.apache.xalan.internal.xsltc.compiler.util.Type; |
32 import com.sun.org.apache.xalan.internal.xsltc.compiler.util.TypeCheckError; |
30 import com.sun.org.apache.xalan.internal.xsltc.compiler.util.TypeCheckError; |
|
31 import java.util.List; |
33 |
32 |
34 /** |
33 /** |
35 * @author Jacek Ambroziak |
34 * @author Jacek Ambroziak |
36 * @author Santiago Pericas-Geertsen |
35 * @author Santiago Pericas-Geertsen |
37 */ |
36 */ |
38 final class ElementAvailableCall extends FunctionCall { |
37 final class ElementAvailableCall extends FunctionCall { |
39 |
38 |
40 public ElementAvailableCall(QName fname, Vector arguments) { |
39 public ElementAvailableCall(QName fname, List<Expression> arguments) { |
41 super(fname, arguments); |
40 super(fname, arguments); |
42 } |
41 } |
43 |
42 |
44 /** |
43 /** |
45 * Force the argument to this function to be a literal string. |
44 * Force the argument to this function to be a literal string. |