Formatting
[jalview.git] / src / 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\r
14  match.  Passed along with Pattern.matchInternal. */\r
15 public class Pthings\r
16 {\r
17   /** The current text we are attempting to match. */\r
18   public StringLike src;\r
19   /** Whether we should ignore the case of letters in\r
20       this match. */\r
21   public boolean ignoreCase;\r
22   public boolean mFlag;\r
23   /** The mask to use when dontMatchInQuotes is set. */\r
24   public BitSet cbits;\r
25   /** Used to keep track of backreferences. */\r
26   //public Hashtable marks;\r
27   public int[] marks;\r
28   public int nMarks;\r
29   /** Used to set the behavior of "."  By default, it\r
30       now fails to match the '\n' character. */\r
31   public boolean dotDoesntMatchCR;\r
32   /** Determine if Skipped strings need to be checked. */\r
33   public boolean no_check;\r
34   int lastPos;\r
35 }\r