Package io.github.qishr.cascara.common.semver
Class Token
java.lang.Object
io.github.qishr.cascara.common.semver.Tokenizer.Token
Enclosing Class:
io.github.qishr.cascara.common.semver.Tokenizer
protected static class Token
A token in a requirement string.Has a type and a value if it is of type VERSION
Field Summary
| Modifier and Type | Field | Description |
|---|---|---|
| public final TokenType | type | |
| public String | value |
Constructor Summary
| Constructor | Description |
|---|---|
| Token(TokenType type) | |
| Token(TokenType type, String value) |
Method Summary
| Modifier and Type | Method | Description |
|---|---|---|
| public void | append(char c) |
Field Details
type
public final TokenType type
value
public String value
Method Details
append
public void append(char c)