6 lines
194 B
Python
6 lines
194 B
Python
from smnp.token.tools import charTokenizer
|
|
from smnp.token.type import TokenType
|
|
|
|
def tokenizeAssign(input, current, line):
|
|
return charTokenizer(TokenType.ASSIGN, '=')(input, current, line)
|