|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hivemind.impl.SymbolExpander
public class SymbolExpander
A simple parser used to identify symbols in a string and expand them via a
SymbolSource.
| Constructor Summary | |
|---|---|
SymbolExpander(ErrorHandler handler,
SymbolSource source)
|
|
| Method Summary | |
|---|---|
java.lang.String |
expandSymbols(java.lang.String text,
Location location)
Identifies symbols in the text and expands them, using the SymbolSource. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SymbolExpander(ErrorHandler handler,
SymbolSource source)
| Method Detail |
|---|
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)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||