vhdl-style-guide/vsg/token/constant_declaration.py

24 lines
484 B
Python

from vsg import parser
class constant_keyword(parser.keyword):
def __init__(self, sString):
parser.keyword.__init__(self, sString)
class colon(parser.colon):
def __init__(self, sString=':'):
parser.colon.__init__(self)
class semicolon(parser.semicolon):
def __init__(self, sString=';'):
parser.semicolon.__init__(self)
class assignment_operator(parser.item):
def __init__(self, sString=':='):
parser.item.__init__(self, ':=')