| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private boolean | |
| private String | |
| private int | |
| private String |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public int | getEnd()
Implements org. |
| public String | |
| public String | getLiteralKind()
Implements org. |
| public int | getStart()
Implements org. |
| public String | getString()
Implements org. |
| public boolean | isIdentifier()
Implements org. |
| public static BasicToken | |
| public static BasicToken | |
| public static BasicToken | |
| public Pointcut | maybeGetParsedPointcut()
Implements org. |
| public String |
| end | back to summary |
|---|---|
| private int end | |
| isIdentifier | back to summary |
|---|---|
| private boolean isIdentifier | |
| literalKind | back to summary |
|---|---|
| private String literalKind | |
| start | back to summary |
|---|---|
| private int start | |
| value | back to summary |
|---|---|
| private String value | |
| BasicToken | back to summary |
|---|---|
| private BasicToken(String value, boolean isIdentifier, String literalKind, int start, int end) | |
| getEnd | back to summary |
|---|---|
| public int getEnd() Implements org. Doc from org. The ending index of this location in the character stream This points to the last character in this token. If a location truly had no contents, then start == end + 1. We don't recommend this. | |
| getFileName | back to summary |
|---|---|
| public String getFileName() | |
| getLiteralKind | back to summary |
|---|---|
| public String getLiteralKind() Implements org. Doc from org. Whether this should be treated as a literal value Kinds == "string", ??? returns null if this isn't a literal | |
| getStart | back to summary |
|---|---|
| public int getStart() Implements org. Doc from org. The starting index of this location in the character stream. | |
| getString | back to summary |
|---|---|
| public String getString() Implements org. Doc from org. Returns the string value of this token. If isIdentifier is false, then this string must be intern'd so that == matching can be used. If isIdentifier is true, interning is not required. | |
| isIdentifier | back to summary |
|---|---|
| public boolean isIdentifier() Implements org. Doc from org. Whether this should be treated as a token or a generic identifier | |
| makeIdentifier | back to summary |
|---|---|
| public static BasicToken makeIdentifier(String value, int start, int end) | |
| makeLiteral | back to summary |
|---|---|
| public static BasicToken makeLiteral(String value, String kind, int start, int end) | |
| makeOperator | back to summary |
|---|---|
| public static BasicToken makeOperator(String value, int start, int end) | |
| maybeGetParsedPointcut | back to summary |
|---|---|
| public Pointcut maybeGetParsedPointcut() Implements org. Doc from org. If this token represents a pre-parsed Pointcut, then return it; otherwise returns null. Needed for the implementation of 'if' | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
| |