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

39 lines
734 B
Python

from vsg import parser
class keyword(parser.keyword):
'''
unique_id = context_reference : keyword
'''
def __init__(self, sString):
parser.keyword.__init__(self, sString)
class selected_name(parser.selected_name):
'''
unique_id = context_reference : selected_name
'''
def __init__(self, sString):
parser.selected_name.__init__(self, sString)
class comma(parser.comma):
'''
unique_id = context_reference : comma
'''
def __init__(self, sString=','):
parser.comma.__init__(self)
class semicolon(parser.semicolon):
'''
unique_id = context_reference : semicolon
'''
def __init__(self, sString=';'):
parser.semicolon.__init__(self)