| SymbolRegistry.hx | |
| SymbolRegistry | Keeps track of symbol class names generated by import modules. |
| Functions | |
| symbolExists | Check if a given symbol exists in the registry. |
| addSymbol | Adds a symbol to the registry. |
| getSymbolCid | Returns the character ID for a symbol. |
| getCidSymbol | Returns the symbol name for a character ID. |
Keeps track of symbol class names generated by import modules.
| Functions | |
| symbolExists | Check if a given symbol exists in the registry. |
| addSymbol | Adds a symbol to the registry. |
| getSymbolCid | Returns the character ID for a symbol. |
| getCidSymbol | Returns the symbol name for a character ID. |
Check if a given symbol exists in the registry.
function symbolExists( symbol: String ): Bool
Adds a symbol to the registry.
function addSymbol( cid: Int, symbol: String, ?store : Bool = true ): Void
Returns the character ID for a symbol.
function getSymbolCid( symbol: String ): Int
Returns the symbol name for a character ID.
function getCidSymbol( cid: Int ): Null<String>