at.dms.compiler.tools.common
Class JavaStyleComment

java.lang.Object
  extended by at.dms.compiler.tools.common.JavaStyleComment
Direct Known Subclasses:
JavadocComment

public class JavaStyleComment
extends Object

A simple character constant


Field Summary
protected  String text
           
 
Constructor Summary
JavaStyleComment(String text, boolean isLineComment, boolean spaceBefore, boolean spaceAfter)
          Construct a node in the parsing tree
 
Method Summary
 String getText()
           
 boolean hadSpaceAfter()
           
 boolean hadSpaceBefore()
           
 boolean isLineComment()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

text

protected String text
Constructor Detail

JavaStyleComment

public JavaStyleComment(String text,
                        boolean isLineComment,
                        boolean spaceBefore,
                        boolean spaceAfter)
Construct a node in the parsing tree

Parameters:
text - the string representation of this comment !!! COMPLETE params
Method Detail

getText

public String getText()

isLineComment

public boolean isLineComment()

hadSpaceBefore

public boolean hadSpaceBefore()

hadSpaceAfter

public boolean hadSpaceAfter()