SBLanguageRuntime#

class lldb.SBLanguageRuntime#

Utility functions for LanguageType

Methods Summary

GetCatchKeywordForLanguage(language)

Returns the keyword used for catch statements in the given language, e.g. Python uses except.

GetLanguageTypeFromString(char const * string)

GetNameForLanguageType(lldb)

GetThrowKeywordForLanguage(language)

Returns the keyword used for throw statements in the given language, e.g. Python uses raise.

LanguageIsCFamily(language)

Returns whether the given language is any version of C, C++ or Obj-C.

LanguageIsCPlusPlus(language)

Returns whether the given language is any version of C++.

LanguageIsObjC(language)

Returns whether the given language is Obj-C or Obj-C++.

SupportsExceptionBreakpointsOnCatch(language)

Returns whether the given language supports exception breakpoints on catch statements.

SupportsExceptionBreakpointsOnThrow(language)

Returns whether the given language supports exception breakpoints on throw statements.

Methods Documentation

static GetCatchKeywordForLanguage(language)#

Returns the keyword used for catch statements in the given language, e.g. Python uses except. Returns nullptr if the language is not supported.

static GetLanguageTypeFromString(char const * string) lldb::LanguageType#
static GetNameForLanguageType(lldb::LanguageType language) char const *#
static GetThrowKeywordForLanguage(language)#

Returns the keyword used for throw statements in the given language, e.g. Python uses raise. Returns nullptr if the language is not supported.

static LanguageIsCFamily(language)#

Returns whether the given language is any version of C, C++ or Obj-C.

static LanguageIsCPlusPlus(language)#

Returns whether the given language is any version of C++.

static LanguageIsObjC(language)#

Returns whether the given language is Obj-C or Obj-C++.

static SupportsExceptionBreakpointsOnCatch(language)#

Returns whether the given language supports exception breakpoints on catch statements.

static SupportsExceptionBreakpointsOnThrow(language)#

Returns whether the given language supports exception breakpoints on throw statements.