Files
smnp-py/smnp/token/tokenizers/minus.py

6 lines
192 B
Python

from smnp.token.tools import charTokenizer
from smnp.token.type import TokenType
def tokenizeMinus(input, current, line):
return charTokenizer(TokenType.MINUS, '-')(input, current, line)