public class TsonComments extends Object implements Comparable<TsonComments>
| Modifier and Type | Field and Description |
|---|---|
static TsonComments |
BLANK |
| Constructor and Description |
|---|
TsonComments() |
TsonComments(TsonComment[] leadingComments,
TsonComment[] trailingComments) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(TsonComments o) |
TsonComments |
concat(TsonComments other) |
static TsonComments |
concat(TsonComments a,
TsonComments b) |
boolean |
equals(Object o) |
TsonComment[] |
getComments() |
TsonComment[] |
getLeadingComments() |
TsonComment[] |
getTrailingComments() |
int |
hashCode() |
boolean |
isBlank() |
static TsonComments |
ofMultiLine(String a) |
static TsonComments |
ofSingleLine(String a) |
public static final TsonComments BLANK
public TsonComments()
public TsonComments(TsonComment[] leadingComments, TsonComment[] trailingComments)
public static TsonComments concat(TsonComments a, TsonComments b)
public static TsonComments ofMultiLine(String a)
public static TsonComments ofSingleLine(String a)
public TsonComments concat(TsonComments other)
public TsonComment[] getComments()
public TsonComment[] getTrailingComments()
public TsonComment[] getLeadingComments()
public boolean isBlank()
public int compareTo(TsonComments o)
compareTo in interface Comparable<TsonComments>Copyright © 2024 vpc open source initiative. All rights reserved.