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

39 lines
783 B
Python

from vsg import parser
class open_keyword(parser.keyword):
'''
unique_id = record_constraint : open_keyword
'''
def __init__(self, sString):
parser.keyword.__init__(self, sString)
class open_parenthesis(parser.open_parenthesis):
'''
unique_id = record_constraint : open_parenthesis
'''
def __init__(self, sString='('):
parser.open_parenthesis.__init__(self)
class comma(parser.comma):
'''
unique_id = record_constraint : comma
'''
def __init__(self, sString=','):
parser.comma.__init__(self)
class close_parenthesis(parser.close_parenthesis):
'''
unique_id = record_constraint : close_parenthesis
'''
def __init__(self, sString=')'):
parser.close_parenthesis.__init__(self)