Peano
Loading...
Searching...
No Matches
dastgen2.Utils Namespace Reference

Functions

 get_include_guard (full_qualified_name)
 
 get_unqualified_class_name (full_qualified_name)
 
 get_namespaces (full_qualified_name)
 
 construct_ifdef_string (symbol_list)
 Return empty string if symbol_list is empty.
 

Variables

str LLVMSymbol = "__PACKED_ATTRIBUTES_LANGUAGE_EXTENSION__"
 

Function Documentation

◆ construct_ifdef_string()

dastgen2.Utils.construct_ifdef_string ( symbol_list)

Return empty string if symbol_list is empty.

Otherwise construct the whole ifdef thing.

Definition at line 22 of file Utils.py.

◆ get_include_guard()

dastgen2.Utils.get_include_guard ( full_qualified_name)

Definition at line 8 of file Utils.py.

◆ get_namespaces()

dastgen2.Utils.get_namespaces ( full_qualified_name)

Definition at line 16 of file Utils.py.

◆ get_unqualified_class_name()

dastgen2.Utils.get_unqualified_class_name ( full_qualified_name)

Definition at line 12 of file Utils.py.

Variable Documentation

◆ LLVMSymbol

str dastgen2.Utils.LLVMSymbol = "__PACKED_ATTRIBUTES_LANGUAGE_EXTENSION__"

Definition at line 5 of file Utils.py.