semantic-lex-make-type-table

semantic-lex-make-type-table is a compiled Lisp function in `lex.el'.

(semantic-lex-make-type-table SPECS &optional PROPSPECS)

Convert type SPECS into an obarray and return it.
SPECS must be a list of (TYPE . TOKENS) elements, where:

TYPE is the name of the type symbol to define.
TOKENS is an list of (TOKSYM . MATCHER) elements, where:

TOKSYM is any lexical token symbol.
MATCHER is a string or regexp a text must match to be a such
lexical token.

If optional argument PROPSPECS is non nil, then interpret it, and
apply those properties.
PROPSPECS must be a list of (TYPE PROPERTY VALUE).