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

6 lines
188 B
Python

from smnp.token.tools import charTokenizer
from smnp.token.type import TokenType
def tokenizeDot(input, current, line):
return charTokenizer(TokenType.DOT, '.')(input, current, line)