OmniCode: rules for type inference from variable name

OmniCode infers the type of a given variable based on its name. Here are the rules available since OmniCode 2.0:

Identifier rule Infered TIScript type
'this' keyword always infered as Element type
equals to 'gfx' Graphics
equals to 'evt' Event
equals to 'ds' DataSocket
equals to 'ws' WebSocket
equals to 'clr' Color
equals to 'stream' Stream
equals to 'proc' Process
equals to 'gpath' Path
equals to 'gtext' Text
starts with ’el’ or contains ‘el_’ Element
starts with ’nd’ or contains ‘nd_’ Node
starts with ’fn’ or contains ‘fn_’ Function
starts with ’dt’ or contains ‘dt_’ Date
starts with ’arr’ or contains ‘arr_’ Array
starts with ’img’ or contains ‘img_’ Image
starts with ’obj’ or contains ‘obj_’ Object
starts with ’dic’ or contains ‘dic_’ Object
starts with ’prom’ or contains ‘prom_’ promise
ends with ‘path’ String
ends with ‘url’ String
starts with ‘regx’ or equals to 're' RegExp
starts with ‘popup’ View