nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/RuntimeNode.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2010, 2015, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
81 /** != operator with at least one object */ |
81 /** != operator with at least one object */ |
82 NE(TokenType.NE, Type.BOOLEAN, 2, true), |
82 NE(TokenType.NE, Type.BOOLEAN, 2, true), |
83 /** is undefined */ |
83 /** is undefined */ |
84 IS_UNDEFINED(TokenType.EQ_STRICT, Type.BOOLEAN, 2), |
84 IS_UNDEFINED(TokenType.EQ_STRICT, Type.BOOLEAN, 2), |
85 /** is not undefined */ |
85 /** is not undefined */ |
86 IS_NOT_UNDEFINED(TokenType.NE_STRICT, Type.BOOLEAN, 2); |
86 IS_NOT_UNDEFINED(TokenType.NE_STRICT, Type.BOOLEAN, 2), |
|
87 /** Get template object from raw and cooked string arrays. */ |
|
88 GET_TEMPLATE_OBJECT(TokenType.TEMPLATE, Type.SCRIPT_OBJECT, 2); |
87 |
89 |
88 /** token type */ |
90 /** token type */ |
89 private final TokenType tokenType; |
91 private final TokenType tokenType; |
90 |
92 |
91 /** return type for request */ |
93 /** return type for request */ |