001 package org.mesopotamia.lang.java; 002 003 /** 004 * Comment 005 * @author Pavel 006 */ 007 public class Comment { 008 009 private int line; 010 private int col; 011 private String text; 012 013 protected Comment(int line, int col, String text) { 014 this.line = line; 015 this.col = col; 016 this.text = text; 017 } 018 019 public int getLine() { 020 return line; 021 } 022 023 public int getCol() { 024 return col; 025 } 026 027 public String getText() { 028 return text; 029 } 030 }