Members
CcInfo
CcInfo constructor.
Parameters
| Parameter | Description |
|---|---|
compilation_context | CompilationContext; or None; default is None The CompilationContext. |
linking_context | LinkingContext; or None; default is None The LinkingContext. |
debug_context | DebugContext; or None; default is None The DebugContext. |
compilation_context
CompilationContext
linking_context
LinkingContext
to_json
---incompatible_struct_has_no_methods. Use this flag to verify your code is compatible with its imminent removal.
Creates a JSON string from the struct parameter. This method only works if all struct elements (recursively) are strings, ints, booleans, other structs, a list of these types or a dictionary with string keys and values of these types. Quotes and new lines in strings are escaped. Examples:
to_proto
---incompatible_struct_has_no_methods. Use this flag to verify your code is compatible with its imminent removal.
Creates a text message from the struct parameter. This method only works if all struct elements (recursively) are strings, ints, booleans, other structs or dicts or lists of these types. Quotes and new lines in strings are escaped. Struct keys are iterated in the sorted order. Examples: