/** * Adds the token specified to the current linked list of tokens. * * @param tokenType The token's type. */ private void addToken(int tokenType) { addToken(zzStartRead, zzMarkedPos-1, tokenType); }
/** * Adds the token specified to the current linked list of tokens. * * @param tokenType The token's type. * @see #addHyperlinkToken(int, int, int) */ private void addToken(int start, int end, int tokenType) { int so = start + offsetShift; addToken(zzBuffer, start,end, tokenType, so, false); }
/** * Adds the token specified to the current linked list of tokens. * * @param tokenType The token's type. * @see #addToken(int, int, int) */ private void addHyperlinkToken(int start, int end, int tokenType) { int so = start + offsetShift; addToken(zzBuffer, start,end, tokenType, so, true); }
{ addToken(Token.PREPROCESSOR); { addToken(Token.LITERAL_CHAR); { addToken(Token.WHITESPACE); { addToken(Token.LITERAL_NUMBER_HEXADECIMAL); { addToken(Token.LITERAL_NUMBER_FLOAT); { addToken(Token.RESERVED_WORD); { addToken(Token.VARIABLE); { addToken(Token.SEPARATOR); { addToken(Token.IDENTIFIER); { addToken(start,zzStartRead-1, Token.COMMENT_EOL); addNullToken(); return firstToken; { addToken(Token.FUNCTION); { addToken(Token.DATA_TYPE); { addToken(Token.ERROR_IDENTIFIER); { addToken(Token.LITERAL_BOOLEAN); { addToken(start,zzStartRead-1, Token.LITERAL_STRING_DOUBLE_QUOTE); return firstToken;
/** * Adds the token specified to the current linked list of tokens. * * @param tokenType The token's type. * @see #addHyperlinkToken(int, int, int) */ private void addToken(int start, int end, int tokenType) { int so = start + offsetShift; addToken(zzBuffer, start,end, tokenType, so, false); }
/** * Adds the token specified to the current linked list of tokens. * * @param tokenType The token's type. * @see #addToken(int, int, int) */ private void addHyperlinkToken(int start, int end, int tokenType) { int so = start + offsetShift; addToken(zzBuffer, start,end, tokenType, so, true); }
/** * Adds the token specified to the current linked list of tokens. * * @param tokenType The token's type. */ private void addToken(int tokenType) { addToken(zzStartRead, zzMarkedPos-1, tokenType); }
{ addToken(Token.PREPROCESSOR); { addToken(Token.LITERAL_CHAR); { addToken(Token.WHITESPACE); { addToken(Token.LITERAL_NUMBER_HEXADECIMAL); { addToken(Token.LITERAL_NUMBER_FLOAT); { addToken(Token.RESERVED_WORD); { addToken(Token.VARIABLE); { addToken(Token.SEPARATOR); { addToken(Token.IDENTIFIER); { addToken(start,zzStartRead-1, Token.COMMENT_EOL); addNullToken(); return firstToken; { addToken(Token.FUNCTION); { addToken(Token.DATA_TYPE); { addToken(Token.ERROR_IDENTIFIER); { addToken(Token.LITERAL_BOOLEAN); { addToken(start,zzStartRead-1, Token.LITERAL_STRING_DOUBLE_QUOTE); return firstToken;