public class SymbolExpander extends java.lang.Object
SymbolSource.| Constructor and Description |
|---|
SymbolExpander(ErrorHandler handler,
SymbolSource source) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
expandSymbols(java.lang.String text,
Location location)
Identifies symbols in the text and expands them, using the
SymbolSource. |
public SymbolExpander(ErrorHandler handler, SymbolSource source)
public java.lang.String expandSymbols(java.lang.String text, Location location)
Identifies symbols in the text and expands them, using the SymbolSource. Returns the
modified text. May return text if text does not contain any symbols.
text - the text to scanlocation - the location to report errors (undefined symbols)