<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_token_stream(source: str) -> CommonTokenStream: """ Get the antlr token stream. """

    lexer = LuaLexer(InputStream(source))
    stream = CommonTokenStream(lexer)
    return stream