MetaChar.java revision 1088:7e62d98d4625
155682Smarkm/* 2233294Sstas * Permission is hereby granted, free of charge, to any person obtaining a copy of 3233294Sstas * this software and associated documentation files (the "Software"), to deal in 4233294Sstas * the Software without restriction, including without limitation the rights to 555682Smarkm * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies 6233294Sstas * of the Software, and to permit persons to whom the Software is furnished to do 7233294Sstas * so, subject to the following conditions: 8233294Sstas * 955682Smarkm * The above copyright notice and this permission notice shall be included in all 10233294Sstas * copies or substantial portions of the Software. 11233294Sstas * 1255682Smarkm * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 13233294Sstas * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 14233294Sstas * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 15233294Sstas * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 1655682Smarkm * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 17233294Sstas * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 18233294Sstas * SOFTWARE. 19233294Sstas */ 2055682Smarkmpackage jdk.nashorn.internal.runtime.regexp.joni.constants; 21233294Sstas 22233294Sstas@SuppressWarnings("javadoc") 23233294Sstaspublic interface MetaChar { 24233294Sstas final int ESCAPE = 0; 25233294Sstas final int ANYCHAR = 1; 26233294Sstas final int ANYTIME = 2; 27233294Sstas final int ZERO_OR_ONE_TIME = 3; 28233294Sstas final int ONE_OR_MORE_TIME = 4; 29233294Sstas final int ANYCHAR_ANYTIME = 5; 30233294Sstas 31233294Sstas final int INEFFECTIVE_META_CHAR = 0; 3255682Smarkm} 3355682Smarkm