public class IdentifierTranslator extends Object implements Translator
Constructor and Description |
---|
IdentifierTranslator(Map<String,String> formalToActualMap)
An instance is created by giving it a defining map as a hashtable.
|
Modifier and Type | Method and Description |
---|---|
String |
translate(String content)
Returns a translated string where all identifiers have been
replaced (by some actual parameter) if they denote a formal parameter..
|
public String translate(String content)
translate
in interface Translator
Copyright © 2014 Uppsala University and Aalborg University. All Rights Reserved.