|
|||||||||
| Home >> All >> [ JLex overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JLex
Class CUtility

java.lang.ObjectJLex.CUtility
- class CUtility
- extends java.lang.Object
Class: Utility
| Field Summary | |
(package private) static boolean |
DEBUG
Constants |
(package private) static boolean |
DESCENT_DEBUG
|
(package private) static boolean |
DO_DEBUG
|
(package private) static boolean |
DUMP_DEBUG
|
(package private) static boolean |
FOODEBUG
|
(package private) static int |
INT_MAX
Constants: Integer Bounds |
(package private) static int |
MAX_EIGHT_BIT
|
(package private) static int |
MAX_SEVEN_BIT
|
(package private) static int |
MAX_SIXTEEN_BIT
|
(package private) static boolean |
OLD_DEBUG
|
(package private) static boolean |
OLD_DUMP_DEBUG
|
(package private) static boolean |
SLOW_DEBUG
|
| Constructor Summary | |
(package private) |
CUtility()
|
| Method Summary | |
(package private) static void |
assert(boolean expr)
Function: assert Description: Debugging routine. |
(package private) static int |
bytencmp(byte[] a,
int a_first,
byte[] b,
int b_first,
int n)
Function: bytencmp Description: Compares up to n elements of byte array a[] against byte array b[]. |
(package private) static int |
charncmp(char[] a,
int a_first,
char[] b,
int b_first,
int n)
Function: charncmp |
(package private) static byte[] |
doubleSize(byte[] oldBuffer)
Function: doubleSize |
(package private) static char[] |
doubleSize(char[] oldBuffer)
Function: doubleSize |
(package private) static void |
enter(java.lang.String descent,
char lexeme,
int token)
Function: enter Description: Debugging routine. |
(package private) static char |
hex2bin(char c)
Function: hex2bin |
(package private) static boolean |
ishexdigit(char c)
Function: ishexdigit |
(package private) static boolean |
isnewline(char c)
Function: isnewline |
(package private) static boolean |
isoctdigit(char c)
Function: isoctdigit |
(package private) static boolean |
isspace(char c)
Function: isspace |
(package private) static void |
leave(java.lang.String descent,
char lexeme,
int token)
Function: leave Description: Debugging routine. |
(package private) static char |
oct2bin(char c)
Function: oct2bin |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
DEBUG
static final boolean DEBUG
- Constants
- See Also:
- Constant Field Values
SLOW_DEBUG
static final boolean SLOW_DEBUG
- See Also:
- Constant Field Values
DUMP_DEBUG
static final boolean DUMP_DEBUG
- See Also:
- Constant Field Values
DESCENT_DEBUG
static final boolean DESCENT_DEBUG
- See Also:
- Constant Field Values
OLD_DEBUG
static final boolean OLD_DEBUG
- See Also:
- Constant Field Values
OLD_DUMP_DEBUG
static final boolean OLD_DUMP_DEBUG
- See Also:
- Constant Field Values
FOODEBUG
static final boolean FOODEBUG
- See Also:
- Constant Field Values
DO_DEBUG
static final boolean DO_DEBUG
- See Also:
- Constant Field Values
INT_MAX
static final int INT_MAX
- Constants: Integer Bounds
- See Also:
- Constant Field Values
MAX_SEVEN_BIT
static final int MAX_SEVEN_BIT
- See Also:
- Constant Field Values
MAX_EIGHT_BIT
static final int MAX_EIGHT_BIT
- See Also:
- Constant Field Values
MAX_SIXTEEN_BIT
static final int MAX_SIXTEEN_BIT
- See Also:
- Constant Field Values
| Constructor Detail |
CUtility
CUtility()
| Method Detail |
enter
static void enter(java.lang.String descent, char lexeme, int token)
- Function: enter
Description: Debugging routine.
leave
static void leave(java.lang.String descent, char lexeme, int token)
- Function: leave
Description: Debugging routine.
assert
static void assert(boolean expr)
- Function: assert
Description: Debugging routine.
doubleSize
static char[] doubleSize(char[] oldBuffer)
- Function: doubleSize
doubleSize
static byte[] doubleSize(byte[] oldBuffer)
- Function: doubleSize
hex2bin
static char hex2bin(char c)
- Function: hex2bin
ishexdigit
static boolean ishexdigit(char c)
- Function: ishexdigit
oct2bin
static char oct2bin(char c)
- Function: oct2bin
isoctdigit
static boolean isoctdigit(char c)
- Function: isoctdigit
isspace
static boolean isspace(char c)
- Function: isspace
isnewline
static boolean isnewline(char c)
- Function: isnewline
bytencmp
static int bytencmp(byte[] a,
int a_first,
byte[] b,
int b_first,
int n)
- Function: bytencmp
Description: Compares up to n elements of
byte array a[] against byte array b[].
The first byte comparison is made between
a[a_first] and b[b_first]. Comparisons continue
until the null terminating byte '\0' is reached
or until n bytes are compared.
Return Value: Returns 0 if arrays are the
same up to and including the null terminating byte
or up to and including the first n bytes,
whichever comes first.
charncmp
static int charncmp(char[] a,
int a_first,
char[] b,
int b_first,
int n)
- Function: charncmp
|
|||||||||
| Home >> All >> [ JLex overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
JLex.CUtility