SI-7191 macro impl jit doesn't work with code in templates

added basic support for NoSymbol

in general, code in templates is ignored for objects in macro compilation.