SYMBOL INDEX (65 symbols across 7 files) FILE: src/trumpscript/compiler.py class Compiler (line 10) | class Compiler: method __init__ (line 11) | def __init__(self): method compile (line 15) | def compile(self, source): method parse (line 20) | def parse(self, tokens): method tokenize (line 23) | def tokenize(self, filename): FILE: src/trumpscript/main.py function main (line 10) | def main(): FILE: src/trumpscript/parser.py class Parser (line 9) | class Parser: method __init__ (line 11) | def __init__(self): method _get_value_from_word_token (line 28) | def _get_value_from_word_token(self, tokens): method parse (line 32) | def parse(self, tokens) -> AST: method _temporary_error (line 38) | def _temporary_error(msg="error", error_value="error"): method filter_tokens (line 44) | def filter_tokens(tokens) -> list: method peek (line 78) | def peek(tokens): method on_line (line 82) | def on_line(tokens): method consume (line 85) | def consume(self, tokens, t_type) -> dict: method handle_module (line 92) | def handle_module(self, tokens) -> Module: method handle_anything (line 107) | def handle_anything(self, tokens): method handle_brace (line 116) | def handle_brace(self, tokens) -> (stmt, list): method handle_paren (line 147) | def handle_paren(self, tokens) -> (expr, list): method handle_mod (line 163) | def handle_mod(self,tokens) -> (expr, list): method handle_make (line 178) | def handle_make(self, tokens) -> (stmt, list): method handle_is (line 200) | def handle_is(self, left, tokens): method handle_ineq (line 229) | def handle_ineq(self, left, tokens): method handle_print (line 259) | def handle_print(self, tokens) -> (stmt, list): method handle_input (line 271) | def handle_input(self, left, tokens) -> (stmt, list): method handle_while (line 279) | def handle_while(self, tokens) -> (stmt, list): method handle_if (line 286) | def handle_if(self, tokens) -> (stmt, list): method handle_else (line 297) | def handle_else(self, tokens) -> (stmt, list): method handle_binop (line 306) | def handle_binop(self, left, op, tokens): method handle_not (line 320) | def handle_not(self, tokens): method handle_num (line 332) | def handle_num(self, tokens): method handle_quote (line 349) | def handle_quote(self, tokens): method handle_boolop (line 361) | def handle_boolop(self, left, op, tokens): method handle_word (line 374) | def handle_word(self, tokens): method handle_true (line 395) | def handle_true(self, tokens): method handle_false (line 405) | def handle_false(self, tokens): FILE: src/trumpscript/tokenizer.py class Tokenizer (line 13) | class Tokenizer: method toke (line 15) | def toke(token_type, token_value, line) -> dict: method tokenize (line 26) | def tokenize(filename): method _first_pass (line 39) | def _first_pass(filename) -> list: method _second_pass (line 183) | def _second_pass(tokens): method _love_china (line 209) | def _love_china(tokens) -> None: method _fudge_the_numbers (line 223) | def _fudge_the_numbers(tokens) -> None: method _is_word_allowed (line 243) | def _is_word_allowed(word) -> bool: method _ensure_freedom (line 261) | def _ensure_freedom(tokens) -> None: method _combine_whiles (line 274) | def _combine_whiles(tokens) -> list: method _check_for_freedom (line 306) | def _check_for_freedom(tokens) -> bool: method _error (line 333) | def _error(line, message_code) -> None: FILE: src/trumpscript/utils.py class Utils (line 12) | class Utils: class SystemException (line 13) | class SystemException(Exception): method __init__ (line 14) | def __init__(self, msg_code) -> Exception: method verify_system (line 26) | def verify_system(wall) -> None: method warn (line 39) | def warn(str, *args) -> None: method no_wimps (line 47) | def no_wimps() -> None: method no_pc (line 56) | def no_pc() -> None: method boycott_apple (line 65) | def boycott_apple() -> None: method no_commies_mexicans_or_kenyans (line 75) | def no_commies_mexicans_or_kenyans(wall) -> None: method no_commie_network (line 114) | def no_commie_network() -> None: FILE: src/trumpscript/vocabulary.py function get_allowed_words (line 48) | def get_allowed_words(filename) -> None: function add_words (line 78) | def add_words(word_set, url, line_function) -> None: function get_only_word (line 105) | def get_only_word(line) -> str: function get_second_word (line 115) | def get_second_word(line) -> str: function add_additional_words (line 127) | def add_additional_words(words) -> None: FILE: test/test.py function test_tokenize_file (line 7) | def test_tokenize_file(filename, expected): function test_compile (line 31) | def test_compile(filename):