Cobra Interactive Query Language map

NAME

map — define new user-defined types for given token text-strings

SYNTAX

	map filename

DESCRIPTION

The default set of token types that can be referenced with a pattern prefixed with '@' can be extended and/or modified by loading a new mapping table from a file.

The file must contain two text strings per line, separated by whitespace, with the token-text (not the type but the text) to be matched given first and the new typename for that token given second.

EXAMPLES

	: !cat newcobra.map
	int64_t	type
	foo	bar
	: map newcobra.map
	: m @type
	: m @bar

SEE ALSO

mark, types

Return to index
Manual
Tutorial
(Last Updated: 8 May 2017)