1 33 34 package edu.rice.cs.drjava.model.definitions.reducedmodel; 35 36 import java.util.Vector ; 37 38 45 46 public interface BraceReduction { 47 50 public int absOffset(); 51 52 56 ReducedToken currentToken(); 57 58 62 ReducedModelState getStateAtCurrent(); 63 64 68 public void insertChar(char ch); 69 70 76 public void move( int count ); 77 78 84 public void delete( int count ); 85 86 87 94 public int balanceForward(); 95 96 103 public int balanceBackward(); 104 105 106 public IndentInfo getIndentInformation(); 107 108 109 public int getDistToPreviousNewline(int relativeLoc); 110 111 112 public int getDistToNextNewline(); 113 114 115 public String simpleString(); 116 117 127 public Vector <HighlightStatus> getHighlightStatus(int start, int length); 128 129 134 public ReducedModelState moveWalkerGetState(int relLocation); 135 136 140 public void resetLocation(); 141 } 142 | Popular Tags |