com.sonar.sslr.api
Class Comments
java.lang.Object
com.sonar.sslr.api.Comments
- All Implemented Interfaces:
- Iterable<Token>
public class Comments
- extends Object
- implements Iterable<Token>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Comments
public Comments(Map<Integer,Token> comments)
iterator
public Iterator<Token> iterator()
- Specified by:
iterator
in interface Iterable<Token>
getCommentAtLine
public Token getCommentAtLine(int line)
isBlankComment
public static boolean isBlankComment(String comment)
isThereCommentBeforeLine
public boolean isThereCommentBeforeLine(int line)
size
public int size()
Copyright © 2011 SonarSource. All Rights Reserved.