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

21 lines
375 B
Python

from vsg import parser
class entity_class(parser.keyword):
'''
unique_id = entity_specification : entity_class
'''
def __init__(self, sString):
parser.keyword.__init__(self, sString)
class colon(parser.colon):
'''
unique_id = entity_specification : colon
'''
def __init__(self, sString=':'):
parser.colon.__init__(self)