| Modifier and Type | Field and Description |
|---|---|
| protected static final HashSet | |
| protected static final Map |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected String | |
| protected String | |
| protected Set | |
| public Map | getTargetCharValueEscape()
Overrides org. |
| reservedWords | back to summary |
|---|---|
| protected static final HashSet<String> reservedWords | |
| targetCharValueEscape | back to summary |
|---|---|
| protected static final Map<Character, String> targetCharValueEscape | |
| SwiftTarget | back to summary |
|---|---|
| public SwiftTarget(CodeGenerator gen) | |
| escapeChar | back to summary |
|---|---|
| protected String escapeChar(int v) Overrides org.
| |
| escapeWord | back to summary |
|---|---|
| protected String escapeWord(String word) Overrides org.
| |
| getReservedWords | back to summary |
|---|---|
| protected Set Implements abstract org.
| |
| getTargetCharValueEscape | back to summary |
|---|---|
| public Map Overrides org. Doc from org. For pure strings of Unicode char, how can we display it in the target language as a literal. Useful for dumping predicates and such that may refer to chars that need to be escaped when represented as strings. Also, templates need to be escaped so that the target language can hold them as a string. Each target can have a different set in memory at same time.
| |