finesse.script.tokenizer.KatTokenizer.tokenize_file

KatTokenizer.tokenize_file(fobj)[source]

Generate tokens from the given file.

Parameters
fobjio.FileIO

The file object to tokenize kat script from. This should be opened in text mode.

Yields
KatToken

The next token read from fobj.