A singleton class containing data used by codegen.
More...
List of all members.
Public Member Functions |
string | Mangle (string name) |
| Append @ to all reserved keywords that appear on the given name.
|
string | UnMangle (string name) |
| Remove all the @.
|
Public Attributes |
const string | Object = "System.Object" |
Properties |
static CodeGenUtil | Instance [get] |
CodeNamespaceImport[] | NamespaceImports [get, set] |
CodeCommentStatement | FileComment [get, set] |
HashSet< string > | ReservedKeywords [get, set] |
Detailed Description
A singleton class containing data used by codegen.
Member Function Documentation
string Avro::CodeGenUtil::Mangle |
( |
string |
name | ) |
[inline] |
Append @ to all reserved keywords that appear on the given name.
- Parameters:
-
- Returns:
string Avro::CodeGenUtil::UnMangle |
( |
string |
name | ) |
[inline] |
Remove all the @.
- Parameters:
-
- Returns:
The documentation for this class was generated from the following file:
- src/apache/main/CodeGen/CodeGenUtil.cs