lexer and struct building fixes for parameters, due to “this” accessor support

…moved debug function too