22 lines
394 B
Python
22 lines
394 B
Python
# -*- coding: utf-8 -*-
|
|
|
|
from vsg import parser
|
|
|
|
|
|
class identifier(parser.identifier):
|
|
"""
|
|
unique_id = interface_unknown_declaration : identifier
|
|
"""
|
|
|
|
def __init__(self, sString):
|
|
super().__init__(sString)
|
|
|
|
|
|
class colon(parser.colon):
|
|
"""
|
|
unique_id = interface_unknown_declaration : colon
|
|
"""
|
|
|
|
def __init__(self, sString=":"):
|
|
super().__init__()
|