Move from abstract to helper class in order to use code from ternary nodes as well.

Signed-off-by: Stefan Marr <git@stefan-marr.de>
Change literal nodes to look like the SimpleLanguage literal nodes.

Signed-off-by: Stefan Marr <git@stefan-marr.de>