39 lines
848 B
Python
39 lines
848 B
Python
|
|
from vsg import parser
|
|
|
|
|
|
class miscellaneous_operator(parser.keyword):
|
|
'''
|
|
unique_id = miscellaneous_operator : miscellaneous_operator
|
|
'''
|
|
|
|
def __init__(self, sString):
|
|
parser.keyword.__init__(self, sString)
|
|
|
|
|
|
class double_star(miscellaneous_operator):
|
|
'''
|
|
unique_id = miscellaneous_operator : double_star
|
|
'''
|
|
|
|
def __init__(self, sString='**'):
|
|
miscellaneous_operator.__init__(self, '**')
|
|
|
|
|
|
class abs_operator(miscellaneous_operator):
|
|
'''
|
|
unique_id = miscellaneous_operator : abs_operator
|
|
'''
|
|
|
|
def __init__(self, sString):
|
|
miscellaneous_operator.__init__(self, sString)
|
|
|
|
|
|
class not_operator(miscellaneous_operator):
|
|
'''
|
|
unique_id = miscellaneous_operator : not_operator
|
|
'''
|
|
|
|
def __init__(self, sString):
|
|
miscellaneous_operator.__init__(self, sString)
|