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