public class PrimitiveLookAhead
extends java.lang.Object
Constructor and Description |
---|
PrimitiveLookAhead() |
Modifier and Type | Method and Description |
---|---|
boolean |
allButRBracketOrBarrier(char c)
anything but brackets or barrier -- strange token of Yuml
|
boolean |
isCard(char c)
used by Yuml
|
boolean |
isCardinality(char c)
is c a digit or colon ?
|
boolean |
isColumnNameChar(char c)
is c a letter or digit or underscore?
|
boolean |
isDigit(char c)
is c a digit?
|
boolean |
isDot(char c)
is c a dot?
|
boolean |
isLetter(char c)
is c a letter?
|
boolean |
isLetterOrDigit(char c)
is c a letter or digit?
|
boolean |
isLetterOrDigitOrUnderScore(char c)
is c a letter or digit or underscore?
|
boolean |
isLowercaseLetter(char c)
is c a lowercase letter?
|
boolean |
isNegative(char c)
is c a minus (negative) sign?
|
boolean |
isNumber(java.lang.String s)
is the start of string s a number?
|
boolean |
isQuote(char c)
is c a double-quote or a single-quote?
|
boolean |
isRole(char c)
used by Yuml
|
boolean |
isUnderScore(char c)
is c an underscore?
|
public boolean isDigit(char c)
c
- -- character to examinepublic boolean isNumber(java.lang.String s)
s
- -- string to examinepublic boolean isQuote(char c)
c
- -- character to examinepublic boolean isLetter(char c)
c
- -- character to examinepublic boolean isLetterOrDigit(char c)
c
- -- character to examinepublic boolean isLetterOrDigitOrUnderScore(char c)
c
- -- character to examinepublic boolean isCardinality(char c)
c
- -- character to examinepublic boolean isColumnNameChar(char c)
c
- -- character to examinepublic boolean isNegative(char c)
c
- -- character to examinepublic boolean isLowercaseLetter(char c)
c
- -- character to examinepublic boolean isDot(char c)
c
- -- character to examinepublic boolean isUnderScore(char c)
c
- -- character to examinepublic boolean allButRBracketOrBarrier(char c)
c
- -- char to testpublic boolean isCard(char c)
c
- char to testpublic boolean isRole(char c)
c
- char to test