|
Java example source code file (SyntaxProperties.java)
The SyntaxProperties.java Java example source code/* * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in * the Software without restriction, including without limitation the rights to * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies * of the Software, and to permit persons to whom the Software is furnished to do * so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in all * copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ package jdk.nashorn.internal.runtime.regexp.joni.constants; public interface SyntaxProperties { /* syntax (operators); */ final int OP_VARIABLE_META_CHARACTERS = (1<<0); final int OP_DOT_ANYCHAR = (1<<1); /* . */ final int OP_ASTERISK_ZERO_INF = (1<<2); /* * */ final int OP_ESC_ASTERISK_ZERO_INF = (1<<3); final int OP_PLUS_ONE_INF = (1<<4); /* + */ final int OP_ESC_PLUS_ONE_INF = (1<<5); final int OP_QMARK_ZERO_ONE = (1<<6); /* ? */ final int OP_ESC_QMARK_ZERO_ONE = (1<<7); final int OP_BRACE_INTERVAL = (1<<8); /* {lower,upper} */ final int OP_ESC_BRACE_INTERVAL = (1<<9); /* \{lower,upper\} */ final int OP_VBAR_ALT = (1<<10); /* | */ final int OP_ESC_VBAR_ALT = (1<<11); /* \| */ final int OP_LPAREN_SUBEXP = (1<<12); /* (...); */ final int OP_ESC_LPAREN_SUBEXP = (1<<13); /* \(...\); */ final int OP_ESC_AZ_BUF_ANCHOR = (1<<14); /* \A, \Z, \z */ final int OP_ESC_CAPITAL_G_BEGIN_ANCHOR = (1<<15); /* \G */ final int OP_DECIMAL_BACKREF = (1<<16); /* \num */ final int OP_BRACKET_CC = (1<<17); /* [...] */ final int OP_ESC_W_WORD = (1<<18); /* \w, \W */ final int OP_ESC_LTGT_WORD_BEGIN_END = (1<<19); /* \<. \> */ final int OP_ESC_B_WORD_BOUND = (1<<20); /* \b, \B */ final int OP_ESC_S_WHITE_SPACE = (1<<21); /* \s, \S */ final int OP_ESC_D_DIGIT = (1<<22); /* \d, \D */ final int OP_LINE_ANCHOR = (1<<23); /* ^, $ */ final int OP_POSIX_BRACKET = (1<<24); /* [:xxxx:] */ final int OP_QMARK_NON_GREEDY = (1<<25); /* ??,*?,+?,{n,m}? */ final int OP_ESC_CONTROL_CHARS = (1<<26); /* \n,\r,\t,\a ... */ final int OP_ESC_C_CONTROL = (1<<27); /* \cx */ final int OP_ESC_OCTAL3 = (1<<28); /* \OOO */ final int OP_ESC_X_HEX2 = (1<<29); /* \xHH */ final int OP_ESC_X_BRACE_HEX8 = (1<<30); /* \x{7HHHHHHH} */ final int OP2_ESC_CAPITAL_Q_QUOTE = (1<<0); /* \Q...\E */ final int OP2_QMARK_GROUP_EFFECT = (1<<1); /* (?...); */ final int OP2_OPTION_PERL = (1<<2); /* (?imsx);,(?-imsx); */ final int OP2_OPTION_RUBY = (1<<3); /* (?imx);, (?-imx); */ final int OP2_PLUS_POSSESSIVE_REPEAT = (1<<4); /* ?+,*+,++ */ final int OP2_PLUS_POSSESSIVE_INTERVAL = (1<<5); /* {n,m}+ */ final int OP2_CCLASS_SET_OP = (1<<6); /* [...&&..[..]..] */ final int OP2_QMARK_LT_NAMED_GROUP = (1<<7); /* (? Other Java examples (source code examples)Here is a short list of links related to this Java SyntaxProperties.java source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.