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

31 lines
598 B
Python

# -*- coding: utf-8 -*-
from vsg import parser
class generic_keyword(parser.keyword):
"""
unique_id = subprogram_header : generic_keyword
"""
def __init__(self, sString):
super().__init__(sString)
class open_parenthesis(parser.open_parenthesis):
"""
unique_id = subprogram_header : open_parenthesis
"""
def __init__(self, sString="("):
super().__init__()
class close_parenthesis(parser.close_parenthesis):
"""
unique_id = subprogram_header : close_parenthesis
"""
def __init__(self, sString=")"):
super().__init__()