SyntaxReplacer adds references to symbols.