40 lines
683 B
Python
40 lines
683 B
Python
# -*- coding: utf-8 -*-
|
|
|
|
from vsg import parser
|
|
|
|
|
|
class label(parser.label):
|
|
"""
|
|
unique_id = wait_statement : label
|
|
"""
|
|
|
|
def __init__(self, sString):
|
|
super().__init__(sString)
|
|
|
|
|
|
class label_colon(parser.label_colon):
|
|
"""
|
|
unique_id = wait_statement : label_colon
|
|
"""
|
|
|
|
def __init__(self):
|
|
super().__init__()
|
|
|
|
|
|
class wait_keyword(parser.keyword):
|
|
"""
|
|
unique_id = wait_statement : wait_keyword
|
|
"""
|
|
|
|
def __init__(self, sString):
|
|
super().__init__(sString)
|
|
|
|
|
|
class semicolon(parser.semicolon):
|
|
"""
|
|
unique_id = wait_statement : semicolon
|
|
"""
|
|
|
|
def __init__(self, sString=";"):
|
|
super().__init__()
|