1 16 package com.google.gwt.dev.jjs; 17 18 21 public class SourceInfo { 22 23 private final int endPos; 24 private final String fileName; 25 private final int startLine; 26 private final int startPos; 27 28 public SourceInfo(int startPos, int endPos, int startLine, String fileName) { 29 this.startPos = startPos; 30 this.endPos = endPos; 31 this.startLine = startLine; 32 this.fileName = fileName; 33 } 34 35 public int getEndPos() { 36 return endPos; 37 } 38 39 public String getFileName() { 40 return fileName; 41 } 42 43 public int getStartLine() { 44 return startLine; 45 } 46 47 public int getStartPos() { 48 return startPos; 49 } 50 } 51 | Popular Tags |