Add 'baseNode' with line information to the AST