Add SyntaxAt and SyntaxAtPattern helpers.