Refactor tokenizer
This commit is contained in:
5
smnp/token/tokenizers/comma.py
Normal file
5
smnp/token/tokenizers/comma.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from smnp.token.tools import tokenizeChar
|
||||
from smnp.token.type import TokenType
|
||||
|
||||
def tokenizeComma(input, current, line):
|
||||
return tokenizeChar(TokenType.COMMA, ',', input, current, line)
|
||||
Reference in New Issue
Block a user