Uses of Class
com.github.zafarkhaja.semver.VersionParser.CharType
-
Packages that use VersionParser.CharType Package Description com.github.zafarkhaja.semver This is the root package of the Java SemVer library. -
-
Uses of VersionParser.CharType in com.github.zafarkhaja.semver
Fields in com.github.zafarkhaja.semver declared as VersionParser.CharType Modifier and Type Field Description private VersionParser.CharType[]
UnexpectedCharacterException. expected
The array of expected character types.Methods in com.github.zafarkhaja.semver that return VersionParser.CharType Modifier and Type Method Description (package private) static VersionParser.CharType
VersionParser.CharType. forCharacter(java.lang.Character chr)
Gets the type for a given character.(package private) VersionParser.CharType[]
UnexpectedCharacterException. getExpectedCharTypes()
Gets the expected character types.private VersionParser.CharType
VersionParser. nearestCharType(VersionParser.CharType... types)
Finds the nearest character type.static VersionParser.CharType
VersionParser.CharType. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static VersionParser.CharType[]
VersionParser.CharType. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.github.zafarkhaja.semver with parameters of type VersionParser.CharType Modifier and Type Method Description private java.lang.Character
VersionParser. consumeNextCharacter(VersionParser.CharType... expected)
Tries to consume the next character in the stream.private void
VersionParser. ensureValidLookahead(VersionParser.CharType... expected)
Checks if the next character in the stream is valid.private VersionParser.CharType
VersionParser. nearestCharType(VersionParser.CharType... types)
Finds the nearest character type.Constructors in com.github.zafarkhaja.semver with parameters of type VersionParser.CharType Constructor Description UnexpectedCharacterException(java.lang.Character unexpected, int position, VersionParser.CharType... expected)
Constructs aUnexpectedCharacterException
instance with the unexpected character, its position and the expected types.
-