ttomcat-1778514358873.zip-extract/apache-tomcat-11.0.18-src/java/org/apache/el/parser/AstAssign.java

Path
ttomcat-1778514358873.zip-extract/apache-tomcat-11.0.18-src/java/org/apache/el/parser/AstAssign.java
Status
scanned
Type
file
Name
AstAssign.java
Extension
.java
Programming language
Java
Mime type
text/plain
File type
ASCII text, with CRLF line terminators
Tag

      
    
Rootfs path

      
    
Size
1668 (1.6 KB)
MD5
d86e5c1352f10eef60356637a0dc076c
SHA1
95e580df87f0225ed0d0ce85b6171f3d219660cf
SHA256
4da96fa17d5a7bb0f4c8ce817bd744ce085dfa2429e48ff0b5ab5fb4269b80c1
SHA512

      
    
SHA1_git
e2f0e2c8cfbe86c2a32b437f8bcb7e18cda05261
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
AstAssign.java | 1.6 KB |

/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /* Generated By:JJTree: Do not edit this line. AstAssign.java Version 4.3 */ package org.apache.el.parser; import jakarta.el.ELException; import org.apache.el.lang.EvaluationContext; public class AstAssign extends SimpleNode { public AstAssign(int id) { super(id); } @Override public Object getValue(EvaluationContext ctx) throws ELException { Object value = children[1].getValue(ctx); children[0].setValue(ctx, value); return value; } @Override public Class<?> getType(EvaluationContext ctx) throws ELException { Object value = children[1].getValue(ctx); children[0].setValue(ctx, value); return children[1].getType(ctx); } } /* JavaCC - OriginalChecksum=151e58546054b618e758d7dc172cc7b5 (do not edit this line) */
Detected license expression
apache-2.0
Detected license expression (SPDX)
Apache-2.0
Percentage of license text
56.94
Copyrights

      
    
Holders

      
    
Authors

      
    
License detections License expression License expression SPDX
apache_2_0-4bde3f57-78aa-4201-96bf-531cba09e7de apache-2.0 Apache-2.0
URL Start line End line
http://www.apache.org/licenses/LICENSE-2.0 9 9