private static class Parser.CommentRecorder extends java.lang.Object implements Scanner.CommentRecorder
Modifier and Type | Field and Description |
---|---|
private com.google.common.collect.ImmutableList.Builder<Comment> |
comments |
Modifier | Constructor and Description |
---|---|
private |
CommentRecorder() |
Modifier and Type | Method and Description |
---|---|
private com.google.common.collect.ImmutableList<Comment> |
getComments() |
void |
recordComment(Comment.Type type,
SourceRange range,
java.lang.String value) |
private com.google.common.collect.ImmutableList.Builder<Comment> comments
public void recordComment(Comment.Type type, SourceRange range, java.lang.String value)
recordComment
in interface Scanner.CommentRecorder
private com.google.common.collect.ImmutableList<Comment> getComments()