rename getEndoffset, getInput -> getSource; add TmaNode ctors taking line number