languages/gen_vhdl.py
def format_decls(self, decls, gap, alignLeft, alignRight, alignLen, wrap):
		"""
		Format list or dictionary of declarations to have common alignment
		settings!
		"""
		lst = []
		if (type(decls) == list):
			lst = decls
		elif (type(decls) == dict):
			for key, value in decls.items():
				lst.append(value)			

		for decl in lst:
			decl.alignLen = alignLen
			decl.alignLeft = alignLeft
			decl.alignRight = alignRight
			decl.gap = gap
			decl.wrap = wrap

		Format list or dictionary of declarations to have common alignment
		settings!
		
Format list or dictionary of declarations to have common alignment
settings!
Format list or dictionary of declarations to have common alignment settings!
def format_decls(self, decls, gap, alignLeft, alignRight, alignLen, wrap):
		lst = []
		if (type(decls) == list):
			lst = decls
		elif (type(decls) == dict):
			for key, value in decls.items():
				lst.append(value)			
		for decl in lst:
			decl.alignLen = alignLen
			decl.alignLeft = alignLeft
			decl.alignRight = alignRight
			decl.gap = gap
			decl.wrap = wrap
def format_decls ( self , decls , gap , alignLeft , alignRight , alignLen , wrap ) : lst = [ ] if ( type ( decls ) == list ) : lst = decls elif ( type ( decls ) == dict ) : for key , value in decls . items ( ) : lst . append ( value ) for decl in lst : decl . alignLen = alignLen decl . alignLeft = alignLeft decl . alignRight = alignRight decl . gap = gap decl . wrap = wrap
Format list or dictionary of declarations to have common alignment
settings!
Format list or dictionary of declarations to have common alignment settings!
"""
		Format list or dictionary of declarations to have common alignment
		settings!
		"""
self
decls
gap
alignLeft
alignRight
alignLen
wrap