/// <summary> /// Gets xml tag for .vcxproj /// </summary> public String getExceptionHandlingValue(EKeyword keyword) { bool isCLangGccCompiler = keyword == EKeyword.Android; switch (ExceptionHandling) { default: case EExceptionHandling.Enabled: // == SyncCThrow return((isCLangGccCompiler) ? "Enabled" : "SyncCThrow"); case EExceptionHandling.Async: return((isCLangGccCompiler) ? "Enabled": "Async"); case EExceptionHandling.Disabled: // == NoExceptionHandling return((isCLangGccCompiler) ? "Disabled" : "false"); case EExceptionHandling.Sync: return((isCLangGccCompiler) ? "Enabled" : "Sync"); case EExceptionHandling.UnwindTables: return((isCLangGccCompiler) ? "UnwindTables" : "SyncCThrow"); } }
public KeyWord(EKeyword type, EDataType returnType, string value) { Type = type; ReturnType = returnType; Value = value; }