semantic-lex-token

semantic-lex-token is a Lisp macro in `lex.el'.

(semantic-lex-token SYMBOL START END &optional STR)

Create a lexical token.
SYMBOL is a symbol representing the class of syntax found.
START and END define the bounds of the token in the current buffer.
Optional STR is the string for the token only if the bounds in
the buffer do not cover the string they represent. (As from
macro expansion.)