Package de.monticore.ast
Class Comment
java.lang.Object
de.monticore.ast.Comment
- Direct Known Subclasses:
CommentBasedModelTraversal.WComment
Class represents a comment (contains the comment and the start- and end-position)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleande.se_rwth.commons.SourcePositionde.se_rwth.commons.SourcePositiongetText()inthashCode()voidset_SourcePositionEnd(de.se_rwth.commons.SourcePosition end) voidset_SourcePositionStart(de.se_rwth.commons.SourcePosition start) voidtoString()
-
Field Details
-
start
protected de.se_rwth.commons.SourcePosition start -
end
protected de.se_rwth.commons.SourcePosition end -
text
-
-
Constructor Details
-
Comment
public Comment() -
Comment
-
-
Method Details
-
get_SourcePositionEnd
public de.se_rwth.commons.SourcePosition get_SourcePositionEnd() -
set_SourcePositionEnd
public void set_SourcePositionEnd(de.se_rwth.commons.SourcePosition end) -
get_SourcePositionStart
public de.se_rwth.commons.SourcePosition get_SourcePositionStart() -
set_SourcePositionStart
public void set_SourcePositionStart(de.se_rwth.commons.SourcePosition start) -
toString
-
getText
-
setText
-
equals
-
hashCode
public int hashCode()
-