25 int** expectedTokenSequencesVal,
29 initialise(currentTokenVal, expectedTokenSequencesVal, tokenImageVal);
82 int** expectedTokenSequences,
88 for (
int i = 0; i < expectedTokenSequences.length; i++) {
89 if (maxSize < expectedTokenSequences[i].length) {
90 maxSize = expectedTokenSequences[i].length;
92 for (
int j = 0; j < expectedTokenSequences[i].length; j++) {
93 expected.append(tokenImage[expectedTokenSequences[i][j]]).append(
' ');
95 if (expectedTokenSequences[i][expectedTokenSequences[i].length - 1] != 0) {
102 for (
int i = 0; i < maxSize; i++) {
105 retval += tokenImage[0];
116 if (expectedTokenSequences.length == 1) {
JAVACC_STRING_TYPE * tokenImage
#define JAVACC_STRING_TYPE
int ** expectedTokenSequences
JAVACC_STRING_TYPE add_escapes(JAVACC_STRING_TYPE str)
JAVACC_STRING_TYPE initialise(Token currentToken, int **expectedTokenSequences, JAVACC_STRING_TYPE *tokenImage)