84 lines
1.5 KiB
Python
84 lines
1.5 KiB
Python
|
|
from vsg import parser
|
|
|
|
|
|
class keyword(parser.keyword):
|
|
'''
|
|
unique_id = use_clause : keyword
|
|
'''
|
|
|
|
def __init__(self, sString):
|
|
parser.keyword.__init__(self, sString)
|
|
|
|
|
|
class selected_name(parser.selected_name):
|
|
'''
|
|
unique_id = use_clause : selected_name
|
|
'''
|
|
|
|
def __init__(self, sString):
|
|
parser.selected_name.__init__(self, sString)
|
|
|
|
|
|
class library_name(parser.name):
|
|
'''
|
|
unique_id = use_clause : library_name
|
|
'''
|
|
|
|
def __init__(self, sString):
|
|
parser.name.__init__(self, sString)
|
|
|
|
|
|
class package_name(parser.name):
|
|
'''
|
|
unique_id = use_clause : package_name
|
|
'''
|
|
|
|
def __init__(self, sString):
|
|
parser.name.__init__(self, sString)
|
|
|
|
|
|
class item_name(parser.name):
|
|
'''
|
|
unique_id = use_clause : item_name
|
|
'''
|
|
|
|
def __init__(self, sString):
|
|
parser.name.__init__(self, sString)
|
|
|
|
|
|
class comma(parser.comma):
|
|
'''
|
|
unique_id = use_clause : comma
|
|
'''
|
|
|
|
def __init__(self, sString=','):
|
|
parser.comma.__init__(self)
|
|
|
|
|
|
class dot(parser.dot):
|
|
'''
|
|
unique_id = use_clause : dot
|
|
'''
|
|
|
|
def __init__(self, sString='.'):
|
|
parser.dot.__init__(self)
|
|
|
|
|
|
class all_keyword(parser.keyword):
|
|
'''
|
|
unique_id = use_clause : all_keyword
|
|
'''
|
|
|
|
def __init__(self, sString):
|
|
parser.keyword.__init__(self, sString)
|
|
|
|
|
|
class semicolon(parser.semicolon):
|
|
'''
|
|
unique_id = use_clause : semicolon
|
|
'''
|
|
|
|
def __init__(self, sString=';'):
|
|
parser.semicolon.__init__(self)
|