Module ImportFrom alias ImportFrom alias Assign NameStore Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareNotEq Call NameLoad NameLoad Call NameLoad NameLoad body Print Str Return NameLoad For NameStore Call NameLoad Call NameLoad NameLoad body If CompareNotEq SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str SubscriptLoad NameLoad Index NameLoad body Print BinOpAdd BinOpAdd Str Call NameLoad NameLoad Str Print BinOpAdd Str Call NameLoad SubscriptLoad NameLoad Index NameLoad Print BinOpAdd Str Call NameLoad SubscriptLoad NameLoad Index NameLoad Return NameLoad Print Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad attr NameLoad decorator_list Expr Call NameLoad Str Expr Call NameLoad Str Expr Call NameLoad Str Expr Call NameLoad Str Expr Call NameLoad Str Expr Call NameLoad Str Expr Call NameLoad Str Expr Call NameLoad Str
N/A src.trumpscript.compiler Compiler src.trumpscript.tokenizer Tokenizer N/A __author__ github.com/samshadwell test_tokenize_file N/A N/A filename expected N/A N/A N/A 
    Parse the file and verify that the types are what we expect
    :param expected: the expected sequence of type codes coming from the parser
    :param filename: the file to read and parse
    :return: True indicating the parsed tokens match the expected, false otherwise
     N/A tokens N/A N/A Tokenizer tokenize filename N/A N/A N/A len tokens N/A len expected N/A N/A Tokens and expected are different lengths
 N/A False N/A idx N/A range N/A len expected N/A N/A N/A N/A N/A tokens N/A idx N/A type N/A expected N/A idx N/A N/A N/A N/A Difference at index:  N/A str idx N/A N/A Expected:  N/A str N/A expected N/A idx N/A N/A Received:  N/A str N/A tokens N/A idx N/A False N/A Tokenizer tests pass
 N/A True N/A test_compile N/A N/A filename N/A N/A N/A N/A N/A N/A Compiler compile filename N/A N/A N/A test_compile test_files/math.txt N/A N/A test_compile test_files/debate_vs_rubio.txt N/A N/A test_compile test_files/debate_vs_hillary.txt N/A N/A test_compile test_files/debatesvdebates.txt N/A N/A test_compile test_files/haiku.txt N/A N/A test_compile test_files/huge_test.tr N/A N/A test_compile test_files/fizz_buzz.txt N/A N/A test_compile test_files/99-bottles.tr