1 33 34 package edu.rice.cs.drjava.model.definitions.reducedmodel; 35 36 39 public class HighlightStatus { 40 public static final int NORMAL = 0; 41 public static final int COMMENTED = 1; 42 public static final int SINGLE_QUOTED = 2; 43 public static final int DOUBLE_QUOTED = 3; 44 public static final int KEYWORD = 4; 45 public static final int NUMBER = 5; 46 public static final int TYPE = 6; 47 private int _state; 48 private int _location; 49 private int _length; 50 51 57 public HighlightStatus(int location, int length, int state) { 58 _location = location; 59 _length = length; 60 _state = state; 61 } 62 63 68 public int getState() { 69 return _state; 70 } 71 72 76 public int getLocation() { 77 return _location; 78 } 79 80 84 public int getLength() { 85 return _length; 86 } 87 } 88 89 90 91 | Popular Tags |