move declarations from Parser.peg to SyntaxTree