NewLineEvent.java
上传用户:afrynkmhm
上传日期:2007-01-06
资源大小:1262k
文件大小:1k
- package antlr.debug;
- public class NewLineEvent extends Event {
- private int line;
- public NewLineEvent(Object source) {
- super(source);
- }
- public NewLineEvent(Object source, int line) {
- super(source);
- setValues(line);
- }
- public int getLine() {
- return line;
- }
- void setLine(int line) {
- this.line = line;
- }
- /** This should NOT be called from anyone other than ParserEventSupport! */
- void setValues(int line) {
- setLine(line);
- }
- public String toString() {
- return "NewLineEvent [" + line + "]";
- }
- }