JAL-1807 still testing
[jalviewjs.git] / unused / com / stevesoft / pat / Pthings.java
1 //\r
2 // This software is now distributed according to\r
3 // the Lesser Gnu Public License.  Please see\r
4 // http://www.gnu.org/copyleft/lesser.txt for\r
5 // the details.\r
6 //    -- Happy Computing!\r
7 //\r
8 package com.stevesoft.pat;\r
9 \r
10 import java.util.*;\r
11 \r
12 /**\r
13  * Things that need to be kept track of during a match. Passed along with\r
14  * Pattern.matchInternal.\r
15  */\r
16 public class Pthings\r
17 {\r
18   /** The current text we are attempting to match. */\r
19   public StringLike src;\r
20 \r
21   /**\r
22    * Whether we should ignore the case of letters in this match.\r
23    */\r
24   public boolean ignoreCase;\r
25 \r
26   public boolean mFlag;\r
27 \r
28   /** The mask to use when dontMatchInQuotes is set. */\r
29   public BitSet cbits;\r
30 \r
31   /** Used to keep track of backreferences. */\r
32   // public Hashtable marks;\r
33   public int[] marks;\r
34 \r
35   public int nMarks;\r
36 \r
37   /**\r
38    * Used to set the behavior of "." By default, it now fails to match the '\n'\r
39    * character.\r
40    */\r
41   public boolean dotDoesntMatchCR;\r
42 \r
43   /** Determine if Skipped strings need to be checked. */\r
44   public boolean no_check;\r
45 \r
46   int lastPos;\r
47 }\r