addressed CR feedback: use isDeclaration from parser, drop 'useTabs' check