toTokenPattern

Return

this replacement to a pattern that matches the symbol and wraps it in a TextSymbolToken