'@param type_: constant type
@type  type_: str
@param name: constant name
@type  name: str
@param val: constant value
@type  val: str
@param val_text: Original text definition of  val
@type  val_text: str'

def __init__(self, type_, name, val, val_text):

    if ((type is None) or (name is None) or (val is None) or (val_text is None)):
        raise ValueError('Constant    must    have    non-None    parameters')
    self.type = type_
    self.name = name.strip()
    self.val = val
    self.val_text = val_text
