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.INVOKESTATIC; |
24 import com.sun.org.apache.bcel.internal.generic.INVOKESTATIC; |
27 import com.sun.org.apache.xalan.internal.xsltc.compiler.util.ClassGenerator; |
25 import com.sun.org.apache.xalan.internal.xsltc.compiler.util.ClassGenerator; |
28 import com.sun.org.apache.xalan.internal.xsltc.compiler.util.MethodGenerator; |
26 import com.sun.org.apache.xalan.internal.xsltc.compiler.util.MethodGenerator; |
|
27 import java.util.List; |
29 |
28 |
30 /** |
29 /** |
31 * @author Jacek Ambroziak |
30 * @author Jacek Ambroziak |
32 * @author Santiago Pericas-Geertsen |
31 * @author Santiago Pericas-Geertsen |
33 */ |
32 */ |
34 final class FloorCall extends FunctionCall { |
33 final class FloorCall extends FunctionCall { |
35 public FloorCall(QName fname, Vector arguments) { |
34 public FloorCall(QName fname, List<Expression> arguments) { |
36 super(fname, arguments); |
35 super(fname, arguments); |
37 } |
36 } |
38 |
37 |
39 public void translate(ClassGenerator classGen, MethodGenerator methodGen) { |
38 public void translate(ClassGenerator classGen, MethodGenerator methodGen) { |
40 argument().translate(classGen, methodGen); |
39 argument().translate(classGen, methodGen); |