1 using System;
2 using System.Collections;
3
4
5
6
7
8 namespace soulcm.scmpg
9 {
10 public class CharSet
11 {
12 public CharSet() :
13 inverse(false)
14 {
15 }
16 public void SetInverse()
17 {
18 inverse = true;
19 }
20 public bool Inverse() const
21 {
22 return inverse;
23 }
24 public const List<System.Parsing.Range>& Ranges() const
25 {
26 return ranges;
27 }
28 public void AddRange(const System.Parsing.Range& range)
29 {
30 ranges.Add(range);
31 }
32 private bool inverse;
33 private List<System.Parsing.Range> ranges;
34 }
35 }