libcss
Loading...
Searching...
No Matches
Classes | Functions | Variables
select_generator Namespace Reference

Classes

class  Bin
 
class  CSSGroup
 
class  CSSProperty
 
class  CSSValue
 
class  Text
 

Functions

 get_tuple (from_var)
 
 shift_star (value_type, prop_name)
 

Variables

list css_groups = [ CSSGroup(g) for g in groups ]
 
 dir_path = os.path.dirname(os.path.realpath(__file__))
 
str body = '\n'.join([ g.make_text(k) for g in css_groups ])
 
str text = '\n'.join([ v['header'], body, v['footer'] ])
 

Function Documentation

◆ get_tuple()

select_generator.get_tuple (   from_var)
Convert tuples, strings and None into tuple.

◆ shift_star()

select_generator.shift_star (   value_type,
  prop_name 
)
Shift the asterisks from a pointer type to its name.

Example: `lwc_string** str_array` would become
`lwc_string **str_array`

Variable Documentation

◆ body

str select_generator.body = '\n'.join([ g.make_text(k) for g in css_groups ])

◆ css_groups

list select_generator.css_groups = [ CSSGroup(g) for g in groups ]

◆ dir_path

select_generator.dir_path = os.path.dirname(os.path.realpath(__file__))

◆ text

str select_generator.text = '\n'.join([ v['header'], body, v['footer'] ])