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

40 lines
701 B
Python

# -*- coding: utf-8 -*-
from vsg import parser
class file_keyword(parser.keyword):
"""
unique_id = file_declaration : file_keyword
"""
def __init__(self, sString):
super().__init__(sString)
class colon(parser.colon):
"""
unique_id = file_declaration : colon
"""
def __init__(self, sString=":"):
super().__init__()
class semicolon(parser.semicolon):
"""
unique_id = file_declaration : semicolon
"""
def __init__(self, sString=";"):
super().__init__()
class identifier(parser.identifier):
"""
unique_id = file_declaration : identifier
"""
def __init__(self, sString):
super().__init__(sString)