Skip to main content

A `tree` util enhanced with tokens, lines, and components.

Project description

Tree Plus

A tree util enhanced with tokens, lines, and components. Why? To see the big picture!

License Docs Linux & MacOS Microsoft

Supported Python Versions:

Python 3.8 Python 3.9 Python 3.10 Python 3.11 Python 3.12

Supported Operating Systems:

Ubuntu MacOS Windows

Support Free, Open-Source Software:

Support Tree Plus

pip install -U tree_plus

Example Output:

  • Demonstrate Parsed Checkboxes
tree_plus -i tests
๐Ÿ“ tree_plus (5 folders, 25 files) 
โ”ฃโ”โ” ๐Ÿ“„ .env.test (5 tokens, 1 line)
โ”ƒ   โ”—โ”โ” DEBUG_TREE_PLUS
โ”ฃโ”โ” ๐Ÿ“ .github (2 folders, 3 files) 
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ dependabot.yml (107 tokens, 11 lines)
โ”ƒ   โ”ƒ   โ”—โ”โ” Unsupported YAML Category
โ”ƒ   โ”—โ”โ” ๐Ÿ“ workflows (1 folder, 2 files) 
โ”ƒ       โ”ฃโ”โ” ๐Ÿ“„ microsoft.yml (323 tokens, 40 lines)
โ”ƒ       โ”ƒ   โ”ฃโ”โ” Microsoft
โ”ƒ       โ”ƒ   โ”ฃโ”โ”   job: build
โ”ƒ       โ”ƒ   โ”ฃโ”โ”     - Set up Python ${{ matrix.python-version }}
โ”ƒ       โ”ƒ   โ”ฃโ”โ”     - Install tree_plus
โ”ƒ       โ”ƒ   โ”ฃโ”โ”     - Create .env file
โ”ƒ       โ”ƒ   โ”ฃโ”โ”     - Set PYTHONUTF8 for Windows
โ”ƒ       โ”ƒ   โ”ฃโ”โ”     - Run generic tests
โ”ƒ       โ”ƒ   โ”—โ”โ”     - Run specific test
โ”ƒ       โ”—โ”โ” ๐Ÿ“„ unix.yml (715 tokens, 88 lines)
โ”ƒ           โ”ฃโ”โ” Linux & MacOS
โ”ƒ           โ”ฃโ”โ”   job: test
โ”ƒ           โ”ฃโ”โ”     - Set up Python ${{ matrix.python-version }}
โ”ƒ           โ”ฃโ”โ”     - Install tree_plus
โ”ƒ           โ”ฃโ”โ”     - Create .env file
โ”ƒ           โ”ฃโ”โ”     - Run generic tests
โ”ƒ           โ”ฃโ”โ”     - Run specific test
โ”ƒ           โ”ฃโ”โ”   job: deploy
โ”ƒ           โ”ฃโ”โ”     - Set up Python
โ”ƒ           โ”ฃโ”โ”     - Install dependencies
โ”ƒ           โ”ฃโ”โ”     - Increment Version
โ”ƒ           โ”ฃโ”โ”     - Build
โ”ƒ           โ”ฃโ”โ”     - Install
โ”ƒ           โ”ฃโ”โ”     - Test
โ”ƒ           โ”ฃโ”โ”     - Update README
โ”ƒ           โ”ฃโ”โ”     - Build Again
โ”ƒ           โ”ฃโ”โ”     - Commit Updates
โ”ƒ           โ”—โ”โ”     - Publish to PyPI
โ”ฃโ”โ” ๐Ÿ“„ .gitignore (210 tokens, 50 lines)
โ”ฃโ”โ” ๐Ÿ“ coverage (1 folder, 1 file) 
โ”ƒ   โ”—โ”โ” ๐Ÿ“„ lcov.info (48,876 tokens, 2,175 lines)
โ”ฃโ”โ” ๐Ÿ“„ LICENSE (2,123 tokens, 81 lines)
โ”ฃโ”โ” ๐Ÿ“„ Makefile (677 tokens, 102 lines)
โ”ƒ   โ”ฃโ”โ” SHELL := /bin/bash
โ”ƒ   โ”ฃโ”โ” cli
โ”ƒ   โ”ฃโ”โ” library_demo
โ”ƒ   โ”ฃโ”โ” coverage
โ”ƒ   โ”ฃโ”โ” debug
โ”ƒ   โ”ฃโ”โ” .PHONY: debug_command
โ”ƒ   โ”ฃโ”โ” debug_command: test_parallel
โ”ƒ   โ”ฃโ”โ” test_parallel
โ”ƒ   โ”ฃโ”โ” test_sequential
โ”ƒ   โ”ฃโ”โ” test_more_languages
โ”ƒ   โ”ฃโ”โ” test: test_parallel
โ”ƒ   โ”ฃโ”โ” test_units
โ”ƒ   โ”ฃโ”โ” test_tp_dotdot
โ”ƒ   โ”ฃโ”โ” test_e2e
โ”ƒ   โ”ฃโ”โ” test_cli: cli
โ”ƒ   โ”ฃโ”โ” test_programs
โ”ƒ   โ”ฃโ”โ” test_deploy
โ”ƒ   โ”ฃโ”โ” vulture: install_vulture
โ”ƒ   โ”ฃโ”โ” install_vulture
โ”ƒ   โ”ฃโ”โ” build: install-build-tool clean-dist
โ”ƒ   โ”ฃโ”โ” install-wheel
โ”ƒ   โ”ฃโ”โ” install-build-tool
โ”ƒ   โ”ฃโ”โ” test-publish: install-twine
โ”ƒ   โ”ฃโ”โ” install-twine
โ”ƒ   โ”ฃโ”โ” publish: install-twine
โ”ƒ   โ”ฃโ”โ” clean-dist
โ”ƒ   โ”ฃโ”โ” t1
โ”ƒ   โ”ฃโ”โ” t2
โ”ƒ   โ”ฃโ”โ” t3
โ”ƒ   โ”ฃโ”โ” t4
โ”ƒ   โ”—โ”โ” t5
โ”ฃโ”โ” ๐Ÿ“„ nodemon.json (140 tokens, 25 lines)
โ”ฃโ”โ” ๐Ÿ“„ pyproject.toml (347 tokens, 41 lines)
โ”ƒ   โ”ฃโ”โ” name: tree_plus
โ”ƒ   โ”ฃโ”โ” version: N/A
โ”ƒ   โ”ฃโ”โ” description: A `tree` util enhanced with tokens, lines, and components.
โ”ƒ   โ”ฃโ”โ” License :: OSI Approved :: Apache Software License
โ”ƒ   โ”ฃโ”โ” License :: OSI Approved :: MIT License
โ”ƒ   โ”ฃโ”โ” dependencies:
โ”ƒ   โ”ฃโ”โ”     tiktoken
โ”ƒ   โ”ฃโ”โ”     PyYAML
โ”ƒ   โ”ฃโ”โ”     click
โ”ƒ   โ”ฃโ”โ”     rich
โ”ƒ   โ”ฃโ”โ”     tomli
โ”ƒ   โ”—โ”โ”     natsort>=7.1
โ”ฃโ”โ” ๐Ÿ“„ pytest.ini (21 tokens, 5 lines)
โ”ฃโ”โ” ๐Ÿ“„ README.md (42,095 tokens, 2,763 lines)
โ”ƒ   โ”ฃโ”โ” # Tree Plus
โ”ƒ   โ”ฃโ”โ” ## Example Output:
โ”ƒ   โ”ฃโ”โ” - [ ] Demonstrate Parsed Checkboxes
โ”ƒ   โ”ฃโ”โ” ## Start Quick!
โ”ƒ   โ”ฃโ”โ” ### Prerequisites
โ”ƒ   โ”ฃโ”โ” ### Install Tree Plus
โ”ƒ   โ”ฃโ”โ” #### PyPI
โ”ƒ   โ”ฃโ”โ” #### Local Hackable Install
โ”ƒ   โ”ฃโ”โ” ### Alias Usage
โ”ƒ   โ”ฃโ”โ” ## Library Usage:
โ”ƒ   โ”ฃโ”โ” ## Moar Languages
โ”ƒ   โ”ฃโ”โ” ## Got Globs?
โ”ƒ   โ”ฃโ”โ” ## Languages Todo:
โ”ƒ   โ”ฃโ”โ” ## Oppose Unfair Business Practices
โ”ƒ   โ”—โ”โ” ## License
โ”ฃโ”โ” ๐Ÿ“„ tree_plus_cli.py (973 tokens, 161 lines)
โ”ƒ   โ”—โ”โ” def main(
โ”ƒ           glob: Optional[Tuple[str]],
โ”ƒ           paths: Optional[Union[str, Tuple[str]]],
โ”ƒ           ignore: Tuple[str],
โ”ƒ           override: bool,
โ”ƒ           debug: bool,
โ”ƒ           version: bool,
โ”ƒ           syntax: bool,
โ”ƒ           concise: bool,
โ”ƒ       )
โ”ฃโ”โ” ๐Ÿ“ tree_plus_programs (1 folder, 3 files) 
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ hello_tree_plus.py (528 tokens, 80 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” class ItHappened
โ”ƒ   โ”ƒ   โ”ฃโ”โ” def main()
โ”ƒ   โ”ƒ   โ”—โ”โ” def trees(
โ”ƒ   โ”ƒ           or_: bool,
โ”ƒ   โ”ƒ           it: int,
โ”ƒ   โ”ƒ           didnt: str,
โ”ƒ   โ”ƒ           happen: tuple,
โ”ƒ   โ”ƒ       ) -> ItHappened
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ stub_tests.py (1,162 tokens, 180 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” TODO (Line 124): fix this path",
โ”ƒ   โ”ƒ   โ”ฃโ”โ” TODO (Line 126): fill in these stubs:",
โ”ƒ   โ”ƒ   โ”ฃโ”โ” @lru_cache
โ”ƒ   โ”ƒ   โ”ƒ   def remove_decorators(component: str) -> str
โ”ƒ   โ”ƒ   โ”ฃโ”โ” def make_import_path(path: Path) -> str
โ”ƒ   โ”ƒ   โ”ฃโ”โ” def stub_tests(
โ”ƒ   โ”ƒ   โ”ƒ       input_path: str,
โ”ƒ   โ”ƒ   โ”ƒ       output_path: Optional[str],
โ”ƒ   โ”ƒ   โ”ƒ       rewrite_ok: bool,
โ”ƒ   โ”ƒ   โ”ƒ   ) -> Tuple[List[str], str, bool]
โ”ƒ   โ”ƒ   โ”ฃโ”โ” def main(
โ”ƒ   โ”ƒ   โ”ƒ       input_path: str,
โ”ƒ   โ”ƒ   โ”ƒ       output_path: Optional[str],
โ”ƒ   โ”ƒ   โ”ƒ       rewrite_ok: bool,
โ”ƒ   โ”ƒ   โ”ƒ   )
โ”ƒ   โ”ƒ   โ”ฃโ”โ” class Vehicle
โ”ƒ   โ”ƒ   โ”—โ”โ” class Car(Vehicle)
โ”ƒ   โ”—โ”โ” ๐Ÿ“„ test_stub_tests.py (83 tokens, 20 lines)
โ”ƒ       โ”ฃโ”โ” TODO (Line 1): fix this path
โ”ƒ       โ”ฃโ”โ” TODO (Line 3): fill in these stubs:
โ”ƒ       โ”ฃโ”โ” def test_remove_decorators()
โ”ƒ       โ”ฃโ”โ” def test_make_import_path()
โ”ƒ       โ”ฃโ”โ” def test_stub_tests()
โ”ƒ       โ”ฃโ”โ” def test_main()
โ”ƒ       โ”ฃโ”โ” def test_class_vehicle()
โ”ƒ       โ”—โ”โ” def test_class_car()
โ”—โ”โ” ๐Ÿ“ tree_plus_src (2 folders, 9 files) 
    โ”ฃโ”โ” ๐Ÿ“„ count_tokens_lines.py (868 tokens, 144 lines)
    โ”ƒ   โ”ฃโ”โ” TODO (Line 14): show off how well we parse_todo!
    โ”ƒ   โ”ฃโ”โ” @dataclass(frozen=True)
    โ”ƒ   โ”ƒ   class TokenLineCount
    โ”ƒ   โ”ฃโ”โ” def count_tokens_lines(file_path: Union[str, Path]) -> Optional[TokenLineCount]
    โ”ƒ   โ”—โ”โ” def add_tokens_lines(
    โ”ƒ           lhs_count: TokenLineCount, rhs_count: TokenLineCount
    โ”ƒ       ) -> TokenLineCount
    โ”ฃโ”โ” ๐Ÿ“„ debug.py (167 tokens, 39 lines)
    โ”ƒ   โ”ฃโ”โ” def disable_debug()
    โ”ƒ   โ”ฃโ”โ” @lru_cache
    โ”ƒ   โ”ƒ   def debug_enabled()
    โ”ƒ   โ”ฃโ”โ” def debug_print(*args, **kwargs)
    โ”ƒ   โ”ฃโ”โ” def enable_debug()
    โ”ƒ   โ”—โ”โ” @contextmanager
    โ”ƒ       def debug_disabled()
    โ”ฃโ”โ” ๐Ÿ“„ deploy.py (1,771 tokens, 210 lines)
    โ”ƒ   โ”ฃโ”โ” def extract(path: str = None) -> str
    โ”ƒ   โ”ฃโ”โ” def load(content: str = None, path: str = None)
    โ”ƒ   โ”ฃโ”โ” def extract_version(source_path: str = None) -> Tuple[int, int, int]
    โ”ƒ   โ”ฃโ”โ” def increment_version(
    โ”ƒ   โ”ƒ       source_path: str = None,
    โ”ƒ   โ”ƒ       sink_path: str = None,
    โ”ƒ   โ”ƒ   )
    โ”ƒ   โ”ฃโ”โ” def run_command(command: str = None, debug: bool = False)
    โ”ƒ   โ”ฃโ”โ” def replace_readme_section(
    โ”ƒ   โ”ƒ       source_path: str = None,
    โ”ƒ   โ”ƒ       sink_path: str = None,
    โ”ƒ   โ”ƒ       marker: str = None,
    โ”ƒ   โ”ƒ       command: str = None,
    โ”ƒ   โ”ƒ   )
    โ”ƒ   โ”ฃโ”โ” def update_readme(source_path: str = None, sink_path: str = None)
    โ”ƒ   โ”—โ”โ” def main()
    โ”ฃโ”โ” ๐Ÿ“„ engine.py (6,333 tokens, 759 lines)
    โ”ƒ   โ”ฃโ”โ” TODO (Line 40): MOVE TIMEOUT_SECONDS TO ENV VAR & CLI INPUT
    โ”ƒ   โ”ฃโ”โ” TODO (Line 427): research & decide about globs as paths instead of as filters
    โ”ƒ   โ”ฃโ”โ” NOTE (Line 461): here we add directly input file_paths to the amortized glob matches
    โ”ƒ   โ”ฃโ”โ” TODO (Line 534): decide if we apply glob patterns to glob paths (currently NO)
    โ”ƒ   โ”ฃโ”โ” TODO (Line 573): decide between glob and rglob in _from_glob
    โ”ƒ   โ”ฃโ”โ” TODO (Line 580): decide if we need to re-amortize the globs in the glob seed
    โ”ƒ   โ”ฃโ”โ” TODO (Line 582): clarify ignore in glob seed context, skipping for now
    โ”ƒ   โ”ฃโ”โ” class Category(Enum)
    โ”ƒ   โ”ฃโ”โ” @dataclass
    โ”ƒ   โ”ƒ   class TreePlus
    โ”ƒ   โ”ฃโ”โ”     def is_root(self) -> bool
    โ”ƒ   โ”ฃโ”โ”     def is_folder(self) -> bool
    โ”ƒ   โ”ฃโ”โ”     def is_file(self) -> bool
    โ”ƒ   โ”ฃโ”โ”     def is_glob(self) -> bool
    โ”ƒ   โ”ฃโ”โ”     def is_component(self) -> bool
    โ”ƒ   โ”ฃโ”โ”     def into_rich_tree(self) -> Tree
    โ”ƒ   โ”ฃโ”โ”     def into_str(self) -> str
    โ”ƒ   โ”ฃโ”โ”     def render(self)
    โ”ƒ   โ”ฃโ”โ”     def stats(self) -> str
    โ”ƒ   โ”ฃโ”โ” @lru_cache
    โ”ƒ   โ”ƒ   def remove_trailing_space(x: str) -> str
    โ”ƒ   โ”ฃโ”โ” def tree_to_string(tree: Tree) -> str
    โ”ƒ   โ”ฃโ”โ” def clean_string(input_str: str) -> str
    โ”ƒ   โ”ฃโ”โ” def safe_print(
    โ”ƒ   โ”ƒ       tree: Tree,
    โ”ƒ   โ”ƒ       style: Optional[str] = None,
    โ”ƒ   โ”ƒ       highlight: bool = True,
    โ”ƒ   โ”ƒ       markup: bool = False,
    โ”ƒ   โ”ƒ       capturing: bool = False,
    โ”ƒ   โ”ƒ   )
    โ”ƒ   โ”ฃโ”โ” def _make_rich_tree(label: str) -> Tree
    โ”ƒ   โ”ฃโ”โ” def into_rich_tree(*, root: TreePlus = None) -> Tree
    โ”ƒ   โ”ฃโ”โ” @lru_cache
    โ”ƒ   โ”ƒ   def categorize(
    โ”ƒ   โ”ƒ       x: Union[Path, Tuple[str], str],
    โ”ƒ   โ”ƒ       check_strs_globs: bool = True,
    โ”ƒ   โ”ƒ       check_strs_paths: bool = True,
    โ”ƒ   โ”ƒ       raise_if_component: bool = True,
    โ”ƒ   โ”ƒ   ) -> Category
    โ”ƒ   โ”ฃโ”โ” def from_seed(
    โ”ƒ   โ”ƒ       maybe_seed_str=None,
    โ”ƒ   โ”ƒ       *,
    โ”ƒ   โ”ƒ       maybe_ignore: Optional[Tuple[str]] = DEFAULT_IGNORE,
    โ”ƒ   โ”ƒ       maybe_globs: Optional[Tuple[str]] = None,
    โ”ƒ   โ”ƒ       syntax_highlighting: bool = False,
    โ”ƒ   โ”ƒ       override_ignore: bool = False,
    โ”ƒ   โ”ƒ       concise: bool = False,
    โ”ƒ   โ”ƒ   ) -> TreePlus
    โ”ƒ   โ”ฃโ”โ” def from_seeds(
    โ”ƒ   โ”ƒ       maybe_seed_strs: Optional[Tuple[str]] = None,
    โ”ƒ   โ”ƒ       *,
    โ”ƒ   โ”ƒ       maybe_ignore: Optional[Tuple[str]] = DEFAULT_IGNORE,
    โ”ƒ   โ”ƒ       maybe_globs: Optional[Tuple[str]] = None,
    โ”ƒ   โ”ƒ       syntax_highlighting: bool = False,
    โ”ƒ   โ”ƒ       override_ignore: bool = False,
    โ”ƒ   โ”ƒ       concise: bool = False,
    โ”ƒ   โ”ƒ   ) -> TreePlus
    โ”ƒ   โ”ฃโ”โ” def _reduce_forest(*, forest: Tuple[TreePlus] = None) -> TreePlus
    โ”ƒ   โ”ฃโ”โ” def _map_seeds(
    โ”ƒ   โ”ƒ       *,
    โ”ƒ   โ”ƒ       seeds: Tuple[str] = None,
    โ”ƒ   โ”ƒ       maybe_ignore: Optional[Tuple[str]] = DEFAULT_IGNORE,
    โ”ƒ   โ”ƒ       maybe_globs: Optional[Tuple[str]] = None,
    โ”ƒ   โ”ƒ       syntax_highlighting: bool = False,
    โ”ƒ   โ”ƒ       concise: bool = False,
    โ”ƒ   โ”ƒ   ) -> Tuple[TreePlus]
    โ”ƒ   โ”ฃโ”โ” def _from_seed(
    โ”ƒ   โ”ƒ       *,
    โ”ƒ   โ”ƒ       seed_path: Optional[Path] = None,
    โ”ƒ   โ”ƒ       maybe_ignore: Optional[Tuple[str]] = DEFAULT_IGNORE,
    โ”ƒ   โ”ƒ       maybe_globs: Optional[AmortizedGlobs] = None,
    โ”ƒ   โ”ƒ       syntax_highlighting: bool = False,
    โ”ƒ   โ”ƒ       concise: bool = False,
    โ”ƒ   โ”ƒ   ) -> TreePlus
    โ”ƒ   โ”ฃโ”โ” def _add_subtree(
    โ”ƒ   โ”ƒ       *,
    โ”ƒ   โ”ƒ       root: TreePlus = None,
    โ”ƒ   โ”ƒ       subtree: TreePlus = None,
    โ”ƒ   โ”ƒ   )
    โ”ƒ   โ”ฃโ”โ” def _from_glob(
    โ”ƒ   โ”ƒ       *,
    โ”ƒ   โ”ƒ       pattern: str,
    โ”ƒ   โ”ƒ       maybe_ignore: Optional[Tuple[str]] = DEFAULT_IGNORE,
    โ”ƒ   โ”ƒ       maybe_globs: Optional[AmortizedGlobs] = None,
    โ”ƒ   โ”ƒ       syntax_highlighting: bool = False,
    โ”ƒ   โ”ƒ       concise: bool = False,
    โ”ƒ   โ”ƒ   ) -> TreePlus
    โ”ƒ   โ”ฃโ”โ” def _from_folder(
    โ”ƒ   โ”ƒ       *,
    โ”ƒ   โ”ƒ       folder_path: Path,
    โ”ƒ   โ”ƒ       maybe_ignore: Optional[Tuple[str]] = DEFAULT_IGNORE,
    โ”ƒ   โ”ƒ       maybe_globs: Optional[AmortizedGlobs] = None,
    โ”ƒ   โ”ƒ       syntax_highlighting: bool = False,
    โ”ƒ   โ”ƒ       concise: bool = False,
    โ”ƒ   โ”ƒ   ) -> TreePlus
    โ”ƒ   โ”ฃโ”โ” def _from_file(
    โ”ƒ   โ”ƒ       *,
    โ”ƒ   โ”ƒ       file_path: Path,
    โ”ƒ   โ”ƒ       syntax_highlighting: bool = False,
    โ”ƒ   โ”ƒ       concise: bool = False,
    โ”ƒ   โ”ƒ   ) -> TreePlus
    โ”ƒ   โ”ฃโ”โ” def _get_lexer(file_path: Path) -> str
    โ”ƒ   โ”—โ”โ” def _syntax_highlight(
    โ”ƒ           *,
    โ”ƒ           file_path: Path = None,
    โ”ƒ           components: List[str] = None,
    โ”ƒ       ) -> Union[Syntax, str]
    โ”ฃโ”โ” ๐Ÿ“„ ignore.py (2,335 tokens, 329 lines)
    โ”ƒ   โ”ฃโ”โ” TODO (Line 129): incorporate gitignore
    โ”ƒ   โ”ฃโ”โ” def _is_all_str(x: Any) -> bool
    โ”ƒ   โ”ฃโ”โ” def can_parse(x) -> bool
    โ”ƒ   โ”ฃโ”โ” @lru_cache
    โ”ƒ   โ”ƒ   def parse_ignore(
    โ”ƒ   โ”ƒ       maybe_ignore_tuple: Optional[Tuple[str]] = None, override: bool = False
    โ”ƒ   โ”ƒ   ) -> Optional[Tuple[str]]
    โ”ƒ   โ”ฃโ”โ” @lru_cache
    โ”ƒ   โ”ƒ   def is_glob(x: str) -> bool
    โ”ƒ   โ”ฃโ”โ” @lru_cache
    โ”ƒ   โ”ƒ   def parse_globs(
    โ”ƒ   โ”ƒ       maybe_globs_tuple: Optional[Tuple[str]] = None,
    โ”ƒ   โ”ƒ   ) -> Tuple[str]
    โ”ƒ   โ”ฃโ”โ” @dataclass(frozen=True)
    โ”ƒ   โ”ƒ   class AmortizedGlobs
    โ”ƒ   โ”ฃโ”โ” def amortize_globs(paths: Tuple[Path], globs: Tuple[str]) -> Optional[AmortizedGlobs]
    โ”ƒ   โ”—โ”โ” @lru_cache(maxsize=None)
    โ”ƒ       def should_ignore(
    โ”ƒ           path: Path,
    โ”ƒ           ignore: Optional[Tuple[str]] = DEFAULT_IGNORE,
    โ”ƒ           globs: Optional[AmortizedGlobs] = None,
    โ”ƒ       ) -> bool
    โ”ฃโ”โ” ๐Ÿ“„ isabelle_symbols.py (4,084 tokens, 462 lines)
    โ”ƒ   โ”ฃโ”โ” @lru_cache
    โ”ƒ   โ”ƒ   def _replace_symbol(match: re.Match) -> str
    โ”ƒ   โ”—โ”โ” def replace_isabelle_symbols(content: str) -> str
    โ”ฃโ”โ” ๐Ÿ“„ parse_file.py (22,731 tokens, 2,427 lines)
    โ”ƒ   โ”ฃโ”โ” BUG (Line 671): catastrophic backtracking in some c files
    โ”ƒ   โ”ฃโ”โ” @lru_cache(maxsize=None)
    โ”ƒ   โ”ƒ   def read_file(
    โ”ƒ   โ”ƒ       file_path: str,
    โ”ƒ   โ”ƒ       raise_exceptions: bool = False,
    โ”ƒ   โ”ƒ       n_lines: Optional[int] = None,
    โ”ƒ   โ”ƒ   ) -> str
    โ”ƒ   โ”ฃโ”โ” def parse_file(file_path: Union[str, Path]) -> List[str]
    โ”ƒ   โ”ฃโ”โ” def extract_groups(match: re.Match, named_only: bool = False) -> dict
    โ”ƒ   โ”ฃโ”โ” def assemble_tensorflow_flag(
    โ”ƒ   โ”ƒ       flag_type: str, flag: str, description: Optional[List[str]] = None
    โ”ƒ   โ”ƒ   ) -> str
    โ”ƒ   โ”ฃโ”โ” def parse_tensorflow_flags(contents: str) -> List[str]
    โ”ƒ   โ”ฃโ”โ” def parse_rst(contents: str) -> List[str]
    โ”ƒ   โ”ฃโ”โ” def parse_c(contents: str) -> List[str]
    โ”ƒ   โ”ฃโ”โ” @lru_cache
    โ”ƒ   โ”ƒ   def is_binary_string(data: bytes) -> bool
    โ”ƒ   โ”ฃโ”โ” @lru_cache
    โ”ƒ   โ”ƒ   def is_binary(file_path: str) -> bool
    โ”ƒ   โ”ฃโ”โ” def clean_isabelle_text(content: str) -> str
    โ”ƒ   โ”ฃโ”โ” def parse_isabelle(contents: str) -> List[str]
    โ”ƒ   โ”ฃโ”โ” def parse_fortran(contents: str) -> List[str]
    โ”ƒ   โ”ฃโ”โ” def remove_c_comments(contents: str) -> str
    โ”ƒ   โ”ฃโ”โ” def parse_ts(contents: str) -> List[str]
    โ”ƒ   โ”ฃโ”โ” def remove_py_comments(input_string: str) -> str
    โ”ƒ   โ”ฃโ”โ” def parse_py(contents: str) -> List[str]
    โ”ƒ   โ”ฃโ”โ” def parse_rb(contents: str) -> List[str]
    โ”ƒ   โ”ฃโ”โ” def parse_fsharp(contents: str) -> List[str]
    โ”ƒ   โ”ฃโ”โ” def parse_tcl(contents: str) -> List[str]
    โ”ƒ   โ”ฃโ”โ” def parse_erl(contents: str) -> List[str]
    โ”ƒ   โ”ฃโ”โ” def parse_rs(contents: str) -> List[str]
    โ”ƒ   โ”ฃโ”โ” def parse_csv(contents: str, max_leaves=11) -> List[str]
    โ”ƒ   โ”ฃโ”โ” def parse_mathematica(contents: str) -> List[str]
    โ”ƒ   โ”ฃโ”โ” def parse_r(contents: str) -> List[str]
    โ”ƒ   โ”ฃโ”โ” def parse_zig(contents: str) -> List[str]
    โ”ƒ   โ”ฃโ”โ” def parse_hs(contents: str) -> List[str]
    โ”ƒ   โ”ฃโ”โ” def parse_lisp(content: str) -> List[str]
    โ”ƒ   โ”ฃโ”โ” def parse_capnp(contents: str) -> List[str]
    โ”ƒ   โ”ฃโ”โ” def parse_grpc(contents: str) -> List[str]
    โ”ƒ   โ”ฃโ”โ” def parse_openrpc_json(contents: str) -> List[str]
    โ”ƒ   โ”ฃโ”โ” def parse_json_rpc(contents: str) -> List[str]
    โ”ƒ   โ”ฃโ”โ” def parse_graphql(contents: str) -> List[str]
    โ”ƒ   โ”ฃโ”โ” def format_dependency(name, details)
    โ”ƒ   โ”ฃโ”โ” def parse_cargo_toml(contents: str) -> List[str]
    โ”ƒ   โ”ฃโ”โ” def parse_pyproject_toml(contents: str) -> List[str]
    โ”ƒ   โ”ฃโ”โ” def parse_lean(lean_content: str) -> List[str]
    โ”ƒ   โ”ฃโ”โ” def parse_cs(contents: str) -> List[str]
    โ”ƒ   โ”ฃโ”โ” def parse_tex(tex_content: str) -> List[str]
    โ”ƒ   โ”ฃโ”โ” def parse_go(contents: str) -> List[str]
    โ”ƒ   โ”ฃโ”โ” def parse_swift(contents: str) -> List[str]
    โ”ƒ   โ”ฃโ”โ” def parse_bash(contents: str) -> List[str]
    โ”ƒ   โ”ฃโ”โ” def parse_d_dot_ts(contents: str) -> List[str]
    โ”ƒ   โ”ฃโ”โ” def parse_angular_app_module(contents: str) -> List[str]
    โ”ƒ   โ”ฃโ”โ” def parse_angular_routes(content: str) -> List[str]
    โ”ƒ   โ”ฃโ”โ” def parse_angular_spec(content: str) -> List[str]
    โ”ƒ   โ”ฃโ”โ” def parse_environment_ts(contents: str) -> List[str]
    โ”ƒ   โ”ฃโ”โ” def parse_dot_env(contents: str) -> List[str]
    โ”ƒ   โ”ฃโ”โ” def parse_requirements_txt(contents: str) -> List[str]
    โ”ƒ   โ”ฃโ”โ” def parse_json_schema(contents: str) -> List[str]
    โ”ƒ   โ”ฃโ”โ” def parse_package_json(contents: str) -> List[str]
    โ”ƒ   โ”ฃโ”โ” def parse_makefile(contents: str) -> List[str]
    โ”ƒ   โ”ฃโ”โ” def parse_sql(contents: str) -> List[str]
    โ”ƒ   โ”ฃโ”โ” def is_openapi_yml(ymls: Tuple[dict]) -> bool
    โ”ƒ   โ”ฃโ”โ” def is_k8s_yml(ymls: Tuple[dict]) -> bool
    โ”ƒ   โ”ฃโ”โ” def is_ansible_yml(ymls: Tuple[dict]) -> bool
    โ”ƒ   โ”ฃโ”โ” def is_github_yml(ymls: Tuple[dict]) -> bool
    โ”ƒ   โ”ฃโ”โ” def parse_github_yml(ymls: Tuple[dict]) -> List[str]
    โ”ƒ   โ”ฃโ”โ” def parse_k8s(ymls: Tuple[dict]) -> List[str]
    โ”ƒ   โ”ฃโ”โ” def parse_ansible(ymls: Tuple[dict]) -> List[str]
    โ”ƒ   โ”ฃโ”โ” def parse_openapi_yml(ymls: Tuple[dict]) -> List[str]
    โ”ƒ   โ”ฃโ”โ” def parse_yml(contents: str) -> List[str]
    โ”ƒ   โ”ฃโ”โ” def parse_db(db_path: str) -> List[str]
    โ”ƒ   โ”ฃโ”โ” def dedent_components(components: List[str]) -> List[str]
    โ”ƒ   โ”ฃโ”โ” def parse_cbl(content: str) -> List[str]
    โ”ƒ   โ”ฃโ”โ” def parse_java(contents: str) -> List[str]
    โ”ƒ   โ”ฃโ”โ” def parse_jl(contents: str) -> List[str]
    โ”ƒ   โ”ฃโ”โ” def parse_kt(contents: str) -> List[str]
    โ”ƒ   โ”ฃโ”โ” def parse_lua(content: str) -> List[str]
    โ”ƒ   โ”ฃโ”โ” def parse_objective_c(content: str) -> List[str]
    โ”ƒ   โ”ฃโ”โ” def parse_ocaml(content: str) -> List[str]
    โ”ƒ   โ”ฃโ”โ” def parse_apl(content: str) -> List[str]
    โ”ƒ   โ”ฃโ”โ” def parse_perl(content: str) -> List[str]
    โ”ƒ   โ”ฃโ”โ” def parse_php(content: str) -> List[str]
    โ”ƒ   โ”ฃโ”โ” def parse_ps1(contents: str) -> List[str]
    โ”ƒ   โ”ฃโ”โ” def parse_matlab(content: str) -> List[str]
    โ”ƒ   โ”ฃโ”โ” def parse_scala(contents: str) -> List[str]
    โ”ƒ   โ”ฃโ”โ” def parse_tf(contents: str) -> List[str]
    โ”ƒ   โ”ฃโ”โ” def parse_md(content: str) -> List[str]
    โ”ƒ   โ”ฃโ”โ” def parse_txt(content: str) -> List[str]
    โ”ƒ   โ”—โ”โ” def parse_markers(content: str) -> List[str]
    โ”ฃโ”โ” ๐Ÿ“ scripts (1 folder, 1 file) 
    โ”ƒ   โ”—โ”โ” ๐Ÿ“„ alias_tree_plus.sh (277 tokens, 31 lines)
    โ”ƒ       โ”ฃโ”โ” add_alias()
    โ”ƒ       โ”—โ”โ” create_conda_env()
    โ”—โ”โ” ๐Ÿ“„ version.py (18 tokens, 2 lines)
        โ”—โ”โ” __version__ = "1.0.36"

tree_plus v(1.0.36) ignore=('tests',) globs=() syntax=False paths=()
5 folder(s), 25 file(s), 10,226 line(s), 136,969 token(s) in 0.23 second(s).
  • Demonstrate Parsed Checkboxes

Here's how tree_plus --help looks (-h and -H both also work)

tree_plus -h
Usage: tree_plus [OPTIONS] [PATHS]...

  A `tree` util enhanced with tokens, lines, and components.

  Wrap patterns in quotes: -i "*.py" / -g "*.rs"

  Examples:

          Show tree_plus_src and tests simultaneously
              > tree_plus tree_plus_src tests

          Show files matching "*.*s" within tests/more_languages
              > tree_plus -g "*.*s" tests/more_languages

          Ignore Java files
              > tree_plus -i "*.java" tests

          Override DEFAULT_IGNORE: Only ignore .ini files.
              > tree_plus -o -i "*.ini" tests/dot_dot

          Syntax Highlight python files in src and tests
              > tree_plus -s tree_plus_src/*.py tests/*.py

          Concise Mode (No Parsing)
              > tree_plus -c

Options:
  -i, -I, --ignore TEXT  Patterns to ignore, in quotes: -i "*.java"
  -o, -O, --override     Override DEFAULT_IGNORE (includes ignored content):
                         -o -i "*.java"
  -g, -G, --glob TEXT    Patterns to find, in quotes: -g "*.rs"
  -v, -V, --version      Print the version and exit.
  -d, -D, --debug        Enables $DEBUG_TREE_PLUS.
  -s, -S, --syntax       Enables Syntax Highlighting (WIP).
  -c, -C, --concise      Enables Syntax Highlighting (WIP).
  -H, -h, --help         Show this message and exit.

  v(1.0.36) --- https://github.com/bionicles/tree_plus/blob/main/README.md

Start Quick!

Prerequisites

Ensure you have the following tools installed:

Install Tree Plus

PyPI

pip install tree_plus

Local Hackable Install

  1. Clone the repository and cd into the tree_plus directory
gh repo clone https://github.com/bionicles/tree_plus.git && cd tree_plus
  1. Install tree_plus using Makefile
make cli

Alternatively, if make is not installed, use pip:

pip install -e .[dev]

Now, you can use the tree_plus command.

  1. Add slick aliases like tp to your RC file

Typical RC_FILE values ~/.bash_profile, ~/.bashrc, or ~/.zshrc

Use our idempotent aliasing script: alias_tree_plus.sh

RC_FILE=~/.bash_profile source alias_tree_plus.sh
RC_FILE=~/.bashrc source alias_tree_plus.sh
RC_FILE=~/.zshrc source alias_tree_plus.sh

Alias Usage

Run tree_plus with a shorter alias:

tp

Reinstall tree_plus quickly:

tpcli

cd (change directory) to the TREE_PLUS_PATH:

cdtp

Run "debug mode" (test runner)

Ensure your rig has a global install of nodemon:

npm install -g nodemon

Watch for changes to auto re-test tree_plus:

make debug

Library Usage:

Here's how to import the library

import tree_plus_src as tp

Check out the tree_plus_programs folder for a library usage example. (More to come!)

To run the library usage example (make sure you've installed tree_plus!)

make library_demo

Moar Languages

tree_plus -i group_todo tests/more_languages
๐Ÿ“ more_languages (8 folders, 75 files) 
โ”ฃโ”โ” ๐Ÿ“ group1 (1 folder, 11 files) 
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ addamt.cobol (408 tokens, 41 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” IDENTIFICATION DIVISION.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” PROGRAM-ID.
โ”ƒ   โ”ƒ   โ”ƒ              ADDAMT.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” DATA DIVISION.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” WORKING-STORAGE SECTION.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” 01  KEYED-INPUT.
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     05  CUST-NO-IN.
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     05  AMT1-IN.
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     05  AMT2-IN.
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     05  AMT3-IN.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” 01  DISPLAYED-OUTPUT.
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     05  CUST-NO-OUT.
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     05  TOTAL-OUT.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” 01  MORE-DATA.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” PROCEDURE DIVISION.
โ”ƒ   โ”ƒ   โ”—โ”โ” 100-MAIN.
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ CUSTOMER-INVOICE.CBL (547 tokens, 60 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” IDENTIFICATION DIVISION.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” PROGRAM-ID. CUSTOMER-INVOICE.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” AUTHOR. JANE DOE.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” DATE. 2023-12-30.
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   DATE-COMPILED. 06/30/10.
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     DATE-WRITTEN. 12/34/56.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” ENVIRONMENT DIVISION.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” INPUT-OUTPUT SECTION.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” FILE-CONTROL.
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     SELECT CUSTOMER-FILE.
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     SELECT INVOICE-FILE.
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     SELECT REPORT-FILE.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” DATA DIVISION.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” FILE SECTION.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” FD CUSTOMER-FILE.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” 01 CUSTOMER-RECORD.
โ”ƒ   โ”ƒ   โ”ฃโ”โ”    05 CUSTOMER-ID.
โ”ƒ   โ”ƒ   โ”ฃโ”โ”    05 CUSTOMER-NAME.
โ”ƒ   โ”ƒ   โ”ฃโ”โ”    05 CUSTOMER-BALANCE.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” FD INVOICE-FILE.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” 01 INVOICE-RECORD.
โ”ƒ   โ”ƒ   โ”ฃโ”โ”    05 INVOICE-ID.
โ”ƒ   โ”ƒ   โ”ฃโ”โ”    05 CUSTOMER-ID.
โ”ƒ   โ”ƒ   โ”ฃโ”โ”    05 INVOICE-AMOUNT.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” FD REPORT-FILE.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” 01 REPORT-RECORD.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” WORKING-STORAGE SECTION.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” 01 WS-CUSTOMER-FOUND.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” 01 WS-END-OF-FILE.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” 01 WS-TOTAL-BALANCE.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” PROCEDURE DIVISION.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” 0000-MAIN-ROUTINE.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” 1000-PROCESS-RECORDS.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” 1100-UPDATE-CUSTOMER-BALANCE.
โ”ƒ   โ”ƒ   โ”—โ”โ” END PROGRAM CUSTOMER-INVOICE.
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ JavaTest.java (470 tokens, 87 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” abstract class LivingBeing
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     abstract void breathe()
โ”ƒ   โ”ƒ   โ”ฃโ”โ” interface Communicator
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     String communicate()
โ”ƒ   โ”ƒ   โ”ฃโ”โ” @Log
โ”ƒ   โ”ƒ   โ”ฃโ”โ” @Getter
โ”ƒ   โ”ƒ   โ”ฃโ”โ” @Setter
โ”ƒ   โ”ƒ   โ”ฃโ”โ” class Person extends LivingBeing implements Communicator
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     Person(String name, int age)
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     @Override
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     void breathe()
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     @Override
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     public String communicate()
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     void greet()
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     String personalizedGreeting(String greeting, Optional<Boolean> includeAge)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” @Singleton
โ”ƒ   โ”ƒ   โ”ฃโ”โ” @RestController
โ”ƒ   โ”ƒ   โ”ฃโ”โ” @SpringBootApplication
โ”ƒ   โ”ƒ   โ”ฃโ”โ” public class Example
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     @Inject
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     public Example(Person person)
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     @RequestMapping("/greet")
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     String home(@RequestParam(value = "name", defaultValue = "World") String name,
โ”ƒ   โ”ƒ   โ”ƒ                   @RequestParam(value = "age", defaultValue = "30") int age)
โ”ƒ   โ”ƒ   โ”—โ”โ”     public static void main(String[] args)
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ JuliaTest.jl (482 tokens, 63 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” module JuliaTest_EdgeCase
โ”ƒ   โ”ƒ   โ”ฃโ”โ” struct Location
โ”ƒ   โ”ƒ   โ”ƒ       name::String 
โ”ƒ   โ”ƒ   โ”ƒ       lat::Float32
โ”ƒ   โ”ƒ   โ”ƒ       lon::Float32
โ”ƒ   โ”ƒ   โ”ƒ   end
โ”ƒ   โ”ƒ   โ”ฃโ”โ” mutable struct mPerson
โ”ƒ   โ”ƒ   โ”ƒ       name::String
โ”ƒ   โ”ƒ   โ”ƒ       age::Int
โ”ƒ   โ”ƒ   โ”ƒ   end
โ”ƒ   โ”ƒ   โ”ฃโ”โ” Base.@kwdef mutable struct Param
โ”ƒ   โ”ƒ   โ”ƒ       ฮ”t::Float64 = 0.1
โ”ƒ   โ”ƒ   โ”ƒ       n::Int64
โ”ƒ   โ”ƒ   โ”ƒ       m::Int64
โ”ƒ   โ”ƒ   โ”ƒ   end
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     sic(x,y)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” welcome(l::Location)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” โˆ‘(ฮฑ, ฮฉ)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” function noob()
โ”ƒ   โ”ƒ   โ”ƒ   end
โ”ƒ   โ”ƒ   โ”ฃโ”โ” function ye_olde(hello::String, world::Location)
โ”ƒ   โ”ƒ   โ”ƒ   end
โ”ƒ   โ”ƒ   โ”ฃโ”โ” function multiline_greet(
โ”ƒ   โ”ƒ   โ”ƒ           p::mPerson, 
โ”ƒ   โ”ƒ   โ”ƒ           greeting::String
โ”ƒ   โ”ƒ   โ”ƒ       )
โ”ƒ   โ”ƒ   โ”ƒ   end
โ”ƒ   โ”ƒ   โ”ฃโ”โ” function julia_is_awesome(prob::DiffEqBase.AbstractDAEProblem{uType, duType, tType,
โ”ƒ   โ”ƒ   โ”ƒ           isinplace};
โ”ƒ   โ”ƒ   โ”ƒ       kwargs...) where {uType, duType, tType, isinplace}
โ”ƒ   โ”ƒ   โ”ƒ   end
โ”ƒ   โ”ƒ   โ”—โ”โ” end
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ KotlinTest.kt (998 tokens, 172 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” data class Person(val name: String)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” fun greet(person: Person)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” fun <T> processItems(items: List<T>, processor: (T) -> Unit)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” interface Source<out T>
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     fun nextT(): T
โ”ƒ   โ”ƒ   โ”ฃโ”โ” fun MutableList<Int>.swap(index1: Int, index2: Int)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” fun Any?.toString(): String
โ”ƒ   โ”ƒ   โ”ฃโ”โ” tailrec fun findFixPoint(x: Double = 1.0): Double
โ”ƒ   โ”ƒ   โ”ฃโ”โ” class GenericRepository<T>
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     fun getItem(id: Int): T?
โ”ƒ   โ”ƒ   โ”ฃโ”โ” sealed interface Error
โ”ƒ   โ”ƒ   โ”ฃโ”โ” sealed class IOError(): Error
โ”ƒ   โ”ƒ   โ”ฃโ”โ” object Runner
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     inline fun <reified S: SomeClass<T>, T> run() : T
โ”ƒ   โ”ƒ   โ”ฃโ”โ” infix fun Int.shl(x: Int): Int
โ”ƒ   โ”ƒ   โ”ฃโ”โ” class MyStringCollection
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     infix fun add(s: String)
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     fun build()
โ”ƒ   โ”ƒ   โ”ฃโ”โ” open class Base(p: Int)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” class Derived(p: Int) : Base(p)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” open class Shape
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     open fun draw()
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     fun fill()
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     open fun edge(case: Int)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” interface Thingy
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     fun edge()
โ”ƒ   โ”ƒ   โ”ฃโ”โ” class Circle() : Shape(), Thingy
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     override fun draw()
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     final override fun edge(case: Int)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” interface Base
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     fun print()
โ”ƒ   โ”ƒ   โ”ฃโ”โ” class BaseImpl(val x: Int) : Base
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     override fun print()
โ”ƒ   โ”ƒ   โ”ฃโ”โ” internal class Derived(b: Base) : Base by b
โ”ƒ   โ”ƒ   โ”ฃโ”โ” class Person constructor(firstName: String)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” class People(
โ”ƒ   โ”ƒ   โ”ƒ       firstNames: Array<String>,
โ”ƒ   โ”ƒ   โ”ƒ       ages: Array<Int>(42),
โ”ƒ   โ”ƒ   โ”ƒ   )
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     fun edgeCases(): Boolean
โ”ƒ   โ”ƒ   โ”ฃโ”โ” class Alien public @Inject constructor(
โ”ƒ   โ”ƒ   โ”ƒ       val firstName: String,
โ”ƒ   โ”ƒ   โ”ƒ       val lastName: String,
โ”ƒ   โ”ƒ   โ”ƒ       var age: Int,
โ”ƒ   โ”ƒ   โ”ƒ       val pets: MutableList<Pet> = mutableListOf(),
โ”ƒ   โ”ƒ   โ”ƒ   )
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     fun objectOriented(): String
โ”ƒ   โ”ƒ   โ”ฃโ”โ”  enum class IntArithmetics : BinaryOperator<Int>, IntBinaryOperator
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     PLUS {
โ”ƒ   โ”ƒ   โ”ƒ           override fun apply(t: Int, u: Int): Int
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     TIMES {
โ”ƒ   โ”ƒ   โ”ƒ           override fun apply(t: Int, u: Int): Int
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     override fun applyAsInt(t: Int, u: Int)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” fun reformat(
โ”ƒ   โ”ƒ   โ”ƒ       str: String,
โ”ƒ   โ”ƒ   โ”ƒ       normalizeCase: Boolean = true,
โ”ƒ   โ”ƒ   โ”ƒ       upperCaseFirstLetter: Boolean = true,
โ”ƒ   โ”ƒ   โ”ƒ       divideByCamelHumps: Boolean = false,
โ”ƒ   โ”ƒ   โ”ƒ       wordSeparator: Char = ' ',
โ”ƒ   โ”ƒ   โ”ƒ   )
โ”ƒ   โ”ƒ   โ”ฃโ”โ” operator fun Point.unaryMinus()
โ”ƒ   โ”ƒ   โ”ฃโ”โ” abstract class Polygon
โ”ƒ   โ”ƒ   โ”—โ”โ”     abstract fun draw()
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ lesson.cbl (682 tokens, 79 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” IDENTIFICATION DIVISION.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” PROGRAM-ID.    CBL0002.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” AUTHOR.        Otto B. Fun.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” ENVIRONMENT DIVISION.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” INPUT-OUTPUT SECTION.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” FILE-CONTROL.
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     SELECT PRINT-LINE.
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     SELECT ACCT-REC.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” DATA DIVISION.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” FILE SECTION.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” FD  PRINT-LINE.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” 01  PRINT-REC.
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     05  ACCT-NO-O.
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     05  ACCT-LIMIT-O.
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     05  ACCT-BALANCE-O.
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     05  LAST-NAME-O.
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     05  FIRST-NAME-O.
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     05  COMMENTS-O.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” FD  ACCT-REC.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” 01  ACCT-FIELDS.
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     05  ACCT-NO.
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     05  ACCT-LIMIT.
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     05  ACCT-BALANCE.
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     05  LAST-NAME.
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     05  FIRST-NAME.
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     05  CLIENT-ADDR.
โ”ƒ   โ”ƒ   โ”ฃโ”โ”         10  STREET-ADDR.
โ”ƒ   โ”ƒ   โ”ฃโ”โ”         10  CITY-COUNTY.
โ”ƒ   โ”ƒ   โ”ฃโ”โ”         10  USA-STATE.
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     05  RESERVED.
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     05  COMMENTS.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” WORKING-STORAGE SECTION.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” 01 FLAGS.
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   05 LASTREC.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” PROCEDURE DIVISION.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” OPEN-FILES.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” READ-NEXT-RECORD.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” CLOSE-STOP.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” READ-RECORD.
โ”ƒ   โ”ƒ   โ”—โ”โ” WRITE-RECORD.
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ LuaTest.lua (84 tokens, 16 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” function HelloWorld.new
โ”ƒ   โ”ƒ   โ”ฃโ”โ” function HelloWorld.greet
โ”ƒ   โ”ƒ   โ”—โ”โ” function say_hello
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ ObjectiveCTest.m (59 tokens, 16 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” @interface HelloWorld
โ”ƒ   โ”ƒ   โ”ฃโ”โ” @interface HelloWorld -> (void) sayHello
โ”ƒ   โ”ƒ   โ”ฃโ”โ” @implementation HelloWorld
โ”ƒ   โ”ƒ   โ”ฃโ”โ” @implementation HelloWorld -> (void) sayHello
โ”ƒ   โ”ƒ   โ”—โ”โ” void sayHelloWorld()
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ OcamlTest.ml (53 tokens, 12 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” type color
โ”ƒ   โ”ƒ   โ”ฃโ”โ” class hello
โ”ƒ   โ”ƒ   โ”ฃโ”โ” class hello -> method say_hello
โ”ƒ   โ”ƒ   โ”—โ”โ” let main ()
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ test.js (755 tokens, 154 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” class MyClass
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   myMethod()
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   async asyncMethod(a, b)
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   methodWithDefaultParameters(a = 5, b = 10)
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   multilineMethod(
โ”ƒ   โ”ƒ   โ”ƒ       c,
โ”ƒ   โ”ƒ   โ”ƒ       d
โ”ƒ   โ”ƒ   โ”ƒ     )
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   multilineMethodWithDefaults(
โ”ƒ   โ”ƒ   โ”ƒ       t = "tree",
โ”ƒ   โ”ƒ   โ”ƒ       p = "plus"
โ”ƒ   โ”ƒ   โ”ƒ     )
โ”ƒ   โ”ƒ   โ”ฃโ”โ” function myFunction(param1, param2)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” function multilineFunction(
โ”ƒ   โ”ƒ   โ”ƒ     param1,
โ”ƒ   โ”ƒ   โ”ƒ     param2
โ”ƒ   โ”ƒ   โ”ƒ   )
โ”ƒ   โ”ƒ   โ”ฃโ”โ” const arrowFunction = () =>
โ”ƒ   โ”ƒ   โ”ฃโ”โ” const parametricArrow = (a, b) =>
โ”ƒ   โ”ƒ   โ”ฃโ”โ” function ()
โ”ƒ   โ”ƒ   โ”ฃโ”โ” function outerFunction(outerParam)
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   function innerFunction(innerParam)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” const myObject = {
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   myMethod: function (stuff)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” let myArrowObject = {
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   myArrow: ({
โ”ƒ   โ”ƒ   โ”ƒ       a,
โ”ƒ   โ”ƒ   โ”ƒ       b,
โ”ƒ   โ”ƒ   โ”ƒ       c,
โ”ƒ   โ”ƒ   โ”ƒ     }) =>
โ”ƒ   โ”ƒ   โ”ฃโ”โ” const myAsyncArrowFunction = async () =>
โ”ƒ   โ”ƒ   โ”ฃโ”โ” function functionWithRestParameters(...args)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” const namedFunctionExpression = function myNamedFunction()
โ”ƒ   โ”ƒ   โ”ฃโ”โ” const multilineArrowFunction = (
โ”ƒ   โ”ƒ   โ”ƒ     a,
โ”ƒ   โ”ƒ   โ”ƒ     b
โ”ƒ   โ”ƒ   โ”ƒ   ) =>
โ”ƒ   โ”ƒ   โ”ฃโ”โ” function functionReturningFunction()
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   return function ()
โ”ƒ   โ”ƒ   โ”ฃโ”โ” function destructuringOnMultipleLines({
โ”ƒ   โ”ƒ   โ”ƒ     a,
โ”ƒ   โ”ƒ   โ”ƒ     b,
โ”ƒ   โ”ƒ   โ”ƒ   })
โ”ƒ   โ”ƒ   โ”ฃโ”โ” const arrowFunctionWithDestructuring = ({ a, b }) =>
โ”ƒ   โ”ƒ   โ”ฃโ”โ” const multilineDestructuringArrow = ({
โ”ƒ   โ”ƒ   โ”ƒ     a,
โ”ƒ   โ”ƒ   โ”ƒ     b,
โ”ƒ   โ”ƒ   โ”ƒ   }) =>
โ”ƒ   โ”ƒ   โ”ฃโ”โ” async function asyncFunctionWithErrorHandling()
โ”ƒ   โ”ƒ   โ”ฃโ”โ” class Car
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   constructor(brand)
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   present()
โ”ƒ   โ”ƒ   โ”ฃโ”โ” class Model extends Car
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   constructor(brand, mod)
โ”ƒ   โ”ƒ   โ”—โ”โ”   show()
โ”ƒ   โ”—โ”โ” ๐Ÿ“„ test.ts (871 tokens, 166 lines)
โ”ƒ       โ”ฃโ”โ” type MyType
โ”ƒ       โ”ฃโ”โ” interface MyInterface
โ”ƒ       โ”ฃโ”โ” class TsClass
โ”ƒ       โ”ฃโ”โ”   myMethod()
โ”ƒ       โ”ฃโ”โ”   myMethodWithArgs(param1: string, param2: number): void
โ”ƒ       โ”ฃโ”โ”   static myStaticMethod<T>(param: T): T
โ”ƒ       โ”ฃโ”โ”   multilineMethod(
โ”ƒ       โ”ƒ       c: number,
โ”ƒ       โ”ƒ       d: number
โ”ƒ       โ”ƒ     ): number
โ”ƒ       โ”ฃโ”โ”   multilineMethodWithDefaults(
โ”ƒ       โ”ƒ       t: string = "tree",
โ”ƒ       โ”ƒ       p: string = "plus"
โ”ƒ       โ”ƒ     ): string
โ”ƒ       โ”ฃโ”โ” export class AdvancedComponent implements MyInterface
โ”ƒ       โ”ฃโ”โ”   async myAsyncMethod(
โ”ƒ       โ”ƒ       a: string,
โ”ƒ       โ”ƒ       b: number,
โ”ƒ       โ”ƒ       c: string
โ”ƒ       โ”ƒ     ): Promise<void>
โ”ƒ       โ”ฃโ”โ”   genericMethod<T, U>(
โ”ƒ       โ”ƒ       arg1: T,
โ”ƒ       โ”ƒ       arg2: U
โ”ƒ       โ”ƒ     ): [T, U]
โ”ƒ       โ”ฃโ”โ” export class TicketsComponent implements MyInterface
โ”ƒ       โ”ฃโ”โ”   async myAsyncMethod({ a, b, c }: { a: String; b: Number; c: String })
โ”ƒ       โ”ฃโ”โ” function tsFunction()
โ”ƒ       โ”ฃโ”โ” function tsFunctionSigned(
โ”ƒ       โ”ƒ     param1: number,
โ”ƒ       โ”ƒ     param2: number
โ”ƒ       โ”ƒ   ): void
โ”ƒ       โ”ฃโ”โ” export default async function tsFunctionComplicated<A, B, C>({
โ”ƒ       โ”ƒ     a = 1 | 2,
โ”ƒ       โ”ƒ     b = "bob",
โ”ƒ       โ”ƒ     c = async () => "charlie",
โ”ƒ       โ”ƒ   }: {
โ”ƒ       โ”ƒ     a: number;
โ”ƒ       โ”ƒ     b: string;
โ”ƒ       โ”ƒ     c: () => Promise<string>;
โ”ƒ       โ”ƒ   }): Promise<string>
โ”ƒ       โ”ฃโ”โ” const tsArrowFunctionSigned = ({
โ”ƒ       โ”ƒ     a,
โ”ƒ       โ”ƒ     b,
โ”ƒ       โ”ƒ   }: {
โ”ƒ       โ”ƒ     a: number;
โ”ƒ       โ”ƒ     b: string;
โ”ƒ       โ”ƒ   }) =>
โ”ƒ       โ”ฃโ”โ” export const tsComplicatedArrow = async ({
โ”ƒ       โ”ƒ     a = 1 | 2,
โ”ƒ       โ”ƒ     b = "bob",
โ”ƒ       โ”ƒ     c = async () => "charlie",
โ”ƒ       โ”ƒ   }: {
โ”ƒ       โ”ƒ     a: number;
โ”ƒ       โ”ƒ     b: string;
โ”ƒ       โ”ƒ     c: () => Promise<string>;
โ”ƒ       โ”ƒ   }): Promise<string> =>
โ”ƒ       โ”ฃโ”โ” const arrowFunction = () =>
โ”ƒ       โ”ฃโ”โ” const arrow = (a: String, b: Number) =>
โ”ƒ       โ”ฃโ”โ” const asyncArrowFunction = async () =>
โ”ƒ       โ”ฃโ”โ” const asyncArrow = async (a: String, b: Number) =>
โ”ƒ       โ”ฃโ”โ” let weirdArrow = () =>
โ”ƒ       โ”ฃโ”โ” const asyncPromiseArrow = async (): Promise<void> =>
โ”ƒ       โ”ฃโ”โ” let myWeirdArrowSigned = (x: number): number =>
โ”ƒ       โ”ฃโ”โ” class Person
โ”ƒ       โ”ฃโ”โ”   constructor(private firstName: string, private lastName: string)
โ”ƒ       โ”ฃโ”โ”   getFullName(): string
โ”ƒ       โ”ฃโ”โ”   describe(): string
โ”ƒ       โ”ฃโ”โ” class Employee extends Person
โ”ƒ       โ”ฃโ”โ”   constructor(
โ”ƒ       โ”ƒ       firstName: string,
โ”ƒ       โ”ƒ       lastName: string,
โ”ƒ       โ”ƒ       private jobTitle: string
โ”ƒ       โ”ƒ     )
โ”ƒ       โ”ฃโ”โ”   describe(): string
โ”ƒ       โ”ฃโ”โ” interface Shape
โ”ƒ       โ”—โ”โ” interface Square extends Shape
โ”ฃโ”โ” ๐Ÿ“ group2 (1 folder, 8 files) 
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ apl_test.apl (44 tokens, 5 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” :Namespace HelloWorld
โ”ƒ   โ”ƒ   โ”ฃโ”โ” :Namespace HelloWorld -> hello โ† 'Hello, World!'
โ”ƒ   โ”ƒ   โ”—โ”โ” :Namespace HelloWorld -> plus โ† {โบ+โต}
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ c_test.c (886 tokens, 142 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” struct Point
โ”ƒ   โ”ƒ   โ”ฃโ”โ” struct Point getOrigin()
โ”ƒ   โ”ƒ   โ”ฃโ”โ” float mul_two_floats(float x1, float x2)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” enum days
โ”ƒ   โ”ƒ   โ”ฃโ”โ” long add_two_longs(long x1, long x2)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” double multiplyByTwo(double num)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” char getFirstCharacter(char *str)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” void greet(Person p)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” typedef struct Person
โ”ƒ   โ”ƒ   โ”ฃโ”โ” int main()
โ”ƒ   โ”ƒ   โ”ฃโ”โ” int* getArrayStart(int arr[], int size)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” long complexFunctionWithMultipleArguments(
โ”ƒ   โ”ƒ   โ”ƒ       int param1,
โ”ƒ   โ”ƒ   โ”ƒ       double param2,
โ”ƒ   โ”ƒ   โ”ƒ       char *param3,
โ”ƒ   โ”ƒ   โ”ƒ       struct Point point
โ”ƒ   โ”ƒ   โ”ƒ   )
โ”ƒ   โ”ƒ   โ”ฃโ”โ” keyPattern *ACLKeyPatternCreate(sds pattern, int flags)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” sds sdsCatPatternString(sds base, keyPattern *pat)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” static int ACLCheckChannelAgainstList(list *reference, const char *channel, int channellen, int is_pattern)
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     while((ln = listNext(&li)))
โ”ƒ   โ”ƒ   โ”—โ”โ” static struct config
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ go_test.go (169 tokens, 46 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” type Greeting struct
โ”ƒ   โ”ƒ   โ”ฃโ”โ” func (g Greeting) sayHello()
โ”ƒ   โ”ƒ   โ”ฃโ”โ” func createGreeting(m string) Greeting
โ”ƒ   โ”ƒ   โ”ฃโ”โ” type SomethingLong struct
โ”ƒ   โ”ƒ   โ”ฃโ”โ” func (s *SomethingLong) WithAReasonableName(
โ”ƒ   โ”ƒ   โ”ƒ     ctx context.Context,
โ”ƒ   โ”ƒ   โ”ƒ     param1 string,
โ”ƒ   โ”ƒ   โ”ƒ     param2 int,
โ”ƒ   โ”ƒ   โ”ƒ     param3 map[string]interface{},
โ”ƒ   โ”ƒ   โ”ƒ     callback func(int) error,
โ”ƒ   โ”ƒ   โ”ƒ   ) (resultType, error)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” type resultType struct
โ”ƒ   โ”ƒ   โ”—โ”โ” func main()
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ PerlTest.pl (75 tokens, 20 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” package PerlTest
โ”ƒ   โ”ƒ   โ”ฃโ”โ” package PerlTest -> sub new
โ”ƒ   โ”ƒ   โ”ฃโ”โ” package PerlTest -> sub hello
โ”ƒ   โ”ƒ   โ”—โ”โ” package PerlTest -> sub say_hello
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ PhpTest.php (74 tokens, 19 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” class HelloWorld
โ”ƒ   โ”ƒ   โ”ฃโ”โ” class HelloWorld -> function sayHello
โ”ƒ   โ”ƒ   โ”ฃโ”โ” function greet
โ”ƒ   โ”ƒ   โ”ฃโ”โ” class Person
โ”ƒ   โ”ƒ   โ”—โ”โ” class Person -> function __construct
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ PowershellTest.ps1 (523 tokens, 89 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” function Say-Nothing()
โ”ƒ   โ”ƒ   โ”ฃโ”โ” class Person
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     Person([string]$name)
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     [string]Greet()
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     [string]GreetMany([int]$times)
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     [string]GreetWithDetails([string]$greeting, [int]$times)
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     [string]GreetMultiline(
โ”ƒ   โ”ƒ   โ”ƒ           [string]$greeting,
โ”ƒ   โ”ƒ   โ”ƒ           [int]$times
โ”ƒ   โ”ƒ   โ”ƒ       )
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     NoReturn([int]$times)
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     NoReturnNoArgs()
โ”ƒ   โ”ƒ   โ”ฃโ”โ” function Say-Hello([Person]$person)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” function Multi-Hello([Person]$personA, [Person]$personB)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” function Switch-Item
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   param ([switch]$on)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” function Get-SmallFiles
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   param (
โ”ƒ   โ”ƒ   โ”ƒ         [PSDefaultValue(Help = '100')]
โ”ƒ   โ”ƒ   โ”ƒ         $Size = 100)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” function Get-User
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   [CmdletBinding(DefaultParameterSetName="ID")]
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   [OutputType("System.Int32", ParameterSetName="ID")]
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   [OutputType([String], ParameterSetName="Name")]
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   Param (
โ”ƒ   โ”ƒ   โ”ƒ       [parameter(Mandatory=$true, ParameterSetName="ID")]
โ”ƒ   โ”ƒ   โ”ƒ       [Int[]]
โ”ƒ   โ”ƒ   โ”ƒ       $UserID,
โ”ƒ   โ”ƒ   โ”ƒ       [parameter(Mandatory=$true, ParameterSetName="Name")]
โ”ƒ   โ”ƒ   โ”ƒ       [String[]]
โ”ƒ   โ”ƒ   โ”ƒ       $UserName)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” filter Get-ErrorLog ([switch]$Message)
โ”ƒ   โ”ƒ   โ”—โ”โ” function global:MultilineSignature(
โ”ƒ   โ”ƒ         [string]$param1,
โ”ƒ   โ”ƒ         [int]$param2,
โ”ƒ   โ”ƒ         [Parameter(Mandatory=$true)]
โ”ƒ   โ”ƒ         [string]$param3
โ”ƒ   โ”ƒ       )
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ ScalaTest.scala (217 tokens, 41 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” def sumOfSquares(x: Int, y: Int): Int
โ”ƒ   โ”ƒ   โ”ฃโ”โ” trait Bark
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   def bark: String
โ”ƒ   โ”ƒ   โ”ฃโ”โ” case class Person(name: String)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” class GenericClass[T](
โ”ƒ   โ”ƒ   โ”ƒ       val data: T,
โ”ƒ   โ”ƒ   โ”ƒ       val count: Int
โ”ƒ   โ”ƒ   โ”ƒ   )
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   def getData: T
โ”ƒ   โ”ƒ   โ”ฃโ”โ” object HelloWorld
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   def greet(person: Person): Unit
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   def main(args: Array[String]): Unit
โ”ƒ   โ”ƒ   โ”ฃโ”โ” def complexFunction(
โ”ƒ   โ”ƒ   โ”ƒ       a: Int,
โ”ƒ   โ”ƒ   โ”ƒ       b: String,
โ”ƒ   โ”ƒ   โ”ƒ       c: Float
โ”ƒ   โ”ƒ   โ”ƒ   ): (Int, String) Option
โ”ƒ   โ”ƒ   โ”—โ”โ” def sumOfSquaresShort(x: Int, y: Int): Int
โ”ƒ   โ”—โ”โ” ๐Ÿ“„ test.csv
โ”ƒ       โ”ฃโ”โ” Name
โ”ƒ       โ”ฃโ”โ” Age
โ”ƒ       โ”ฃโ”โ” Country
โ”ƒ       โ”ฃโ”โ” City
โ”ƒ       โ”—โ”โ” Email
โ”ฃโ”โ” ๐Ÿ“ group3 (1 folder, 16 files) 
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ bash_test.sh (154 tokens, 23 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” echo_hello_world()
โ”ƒ   โ”ƒ   โ”ฃโ”โ” function fun_echo_hello_world()
โ”ƒ   โ”ƒ   โ”ฃโ”โ” export SECRET
โ”ƒ   โ”ƒ   โ”ฃโ”โ” alias md='make debug'
โ”ƒ   โ”ƒ   โ”ฃโ”โ” add_alias()
โ”ƒ   โ”ƒ   โ”—โ”โ” create_conda_env()
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ cpp_test.cpp (1,737 tokens, 259 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” class Person
โ”ƒ   โ”ƒ   โ”ฃโ”โ” public:
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     Person(std::string n) : name(n)
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     void greet()
โ”ƒ   โ”ƒ   โ”ฃโ”โ” void globalGreet()
โ”ƒ   โ”ƒ   โ”ฃโ”โ” int main()
โ”ƒ   โ”ƒ   โ”ฃโ”โ” void printMessage(const std::string &message)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” template<typename T>
โ”ƒ   โ”ƒ   โ”ฃโ”โ” void printVector(const std::vector<T>& vec)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” struct Point
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     Point(int x, int y) : x(x), y(y)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” class Animal
โ”ƒ   โ”ƒ   โ”ฃโ”โ” public:
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     Animal(const std::string &name) : name(name)
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     virtual void speak() const
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     virtual ~Animal()
โ”ƒ   โ”ƒ   โ”ฃโ”โ” class Dog : public Animal
โ”ƒ   โ”ƒ   โ”ฃโ”โ” public:
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     Dog(const std::string &name) : Animal(name)
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     void speak() const override
โ”ƒ   โ”ƒ   โ”ฃโ”โ” class Cat : public Animal
โ”ƒ   โ”ƒ   โ”ฃโ”โ” public:
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     Cat(const std::string &name) : Animal(name)
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     void speak() const override
โ”ƒ   โ”ƒ   โ”ฃโ”โ” nb::bytes BuildRnnDescriptor(int input_size, int hidden_size, int num_layers,
โ”ƒ   โ”ƒ   โ”ƒ                                int batch_size, int max_seq_length, float dropout,
โ”ƒ   โ”ƒ   โ”ƒ                                bool bidirectional, bool cudnn_allow_tf32,
โ”ƒ   โ”ƒ   โ”ƒ              int workspace_size, int reserve_space_size)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” int main()
โ”ƒ   โ”ƒ   โ”ฃโ”โ” enum ECarTypes
โ”ƒ   โ”ƒ   โ”ฃโ”โ” ECarTypes GetPreferredCarType()
โ”ƒ   โ”ƒ   โ”ฃโ”โ” enum ECarTypes : uint8_t
โ”ƒ   โ”ƒ   โ”ฃโ”โ” enum class ECarTypes : uint8_t
โ”ƒ   โ”ƒ   โ”ฃโ”โ” void myFunction(string fname, int age)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” template <typename T> T cos(T)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” template <typename T> T sin(T)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” template <typename T> T sqrt(T)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” template<typename T> struct VLEN
โ”ƒ   โ”ƒ   โ”ฃโ”โ” template<typename T> class arr
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   private:
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     static T *ralloc(size_t num)
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     static void dealloc(T *ptr)
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     static T *ralloc(size_t num)
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     static void dealloc(T *ptr)
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   public:
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     arr() : p(0), sz(0)
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     arr(size_t n) : p(ralloc(n)), sz(n)
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     arr(arr &&other)
โ”ƒ   โ”ƒ   โ”ƒ         : p(other.p), sz(other.sz)
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     ~arr()
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     void resize(size_t n)
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     T &operator[](size_t idx)
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     T *data()
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     size_t size() const
โ”ƒ   โ”ƒ   โ”ฃโ”โ” class Buffer
โ”ƒ   โ”ƒ   โ”—โ”โ” std::tuple<array, array, array> quantize(
โ”ƒ   โ”ƒ           const array& w,
โ”ƒ   โ”ƒ           int group_size,
โ”ƒ   โ”ƒ           int bits,
โ”ƒ   โ”ƒ           StreamOrDevice s)
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ csharp_test.cs (850 tokens, 147 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” public interface IExcelTemplate
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     void LoadTemplate(string templateFilePath)
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     void LoadData(Dictionary<string, string> data)
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     void ModifyCell(string cellName, string value)
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     void SaveToFile(string filePath)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” public interface IGreet
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     void Greet()
โ”ƒ   โ”ƒ   โ”ฃโ”โ” public enum WeekDays
โ”ƒ   โ”ƒ   โ”ฃโ”โ” public delegate void DisplayMessage(string message)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” public struct Address
โ”ƒ   โ”ƒ   โ”ฃโ”โ” public static class HelperFunctions
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     public static void PrintMessage(string message)
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     public static int AddNumbers(int a, int b)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” namespace HelloWorldApp
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     class Person : IGreet
โ”ƒ   โ”ƒ   โ”ฃโ”โ”         public Person(string name, int age)
โ”ƒ   โ”ƒ   โ”ฃโ”โ”         public void Greet()
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     class HelloWorld
โ”ƒ   โ”ƒ   โ”ฃโ”โ”         static void Main(string[] args)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” namespace TemplateToExcelServer.Template
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     public interface ITemplateObject
โ”ƒ   โ”ƒ   โ”ฃโ”โ”         string[,] GetContent()
โ”ƒ   โ”ƒ   โ”ฃโ”โ”         string[] GetContentArray()
โ”ƒ   โ”ƒ   โ”ฃโ”โ”         string[] GetFormat()
โ”ƒ   โ”ƒ   โ”ฃโ”โ”         int? GetFormatLength()
โ”ƒ   โ”ƒ   โ”ฃโ”โ”         TemplateObject SetContent(string[,] Content)
โ”ƒ   โ”ƒ   โ”ฃโ”โ”         TemplateObject SetContentArray(string[] value)
โ”ƒ   โ”ƒ   โ”ฃโ”โ”         TemplateObject SetFormat(string[] Header)
โ”ƒ   โ”ƒ   โ”ฃโ”โ”         TemplateObject SetNameOfReport(
โ”ƒ   โ”ƒ   โ”ƒ               ReadOnlyMemory<byte> ReportName,
โ”ƒ   โ”ƒ   โ”ƒ               int[] EdgeCase)
โ”ƒ   โ”ƒ   โ”ฃโ”โ”         TemplateObject SetSheetName(ReadOnlyMemory<byte> SheetName)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” public class BankAccount(string accountID, string owner)
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     public override string ToString() =>
โ”ƒ   โ”ƒ   โ”ฃโ”โ” var IncrementBy = (int source, int increment = 1) =>
โ”ƒ   โ”ƒ   โ”ฃโ”โ” Func<int, int, int> add = (x, y) =>
โ”ƒ   โ”ƒ   โ”ฃโ”โ” button.Click += (sender, args) =>
โ”ƒ   โ”ƒ   โ”ฃโ”โ” public Func<int, int> GetMultiplier(int factor)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” public void Method(
โ”ƒ   โ”ƒ   โ”ƒ           int param1,
โ”ƒ   โ”ƒ   โ”ƒ           int param2,
โ”ƒ   โ”ƒ   โ”ƒ           int param3,
โ”ƒ   โ”ƒ   โ”ƒ           int param4,
โ”ƒ   โ”ƒ   โ”ƒ           int param5,
โ”ƒ   โ”ƒ   โ”ƒ           int param6,
โ”ƒ   โ”ƒ   โ”ƒ       )
โ”ƒ   โ”ƒ   โ”ฃโ”โ” System.Net.ServicePointManager.ServerCertificateValidationCallback +=
โ”ƒ   โ”ƒ   โ”ƒ       (se, cert, chain, sslerror) =>
โ”ƒ   โ”ƒ   โ”ฃโ”โ” class ServerCertificateValidation
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     public bool OnRemoteCertificateValidation(
โ”ƒ   โ”ƒ   โ”ƒ           object se,
โ”ƒ   โ”ƒ   โ”ƒ           X509Certificate cert,
โ”ƒ   โ”ƒ   โ”ƒ           X509Chain chain,
โ”ƒ   โ”ƒ   โ”ƒ           SslPolicyErrors sslerror
โ”ƒ   โ”ƒ   โ”ƒ       )
โ”ƒ   โ”ƒ   โ”ฃโ”โ” s_downloadButton.Clicked += async (o, e) =>
โ”ƒ   โ”ƒ   โ”ฃโ”โ” [HttpGet, Route("DotNetCount")]
โ”ƒ   โ”ƒ   โ”—โ”โ” static public async Task<int> GetDotNetCount(string URL)
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ hallucination.tex (1,465 tokens, 127 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” Harnessing the Master Algorithm: Strategies for AI LLMs to Mitigate Hallucinations
โ”ƒ   โ”ƒ   โ”ฃโ”โ” Hallucinated Pedro Domingos et al.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” Christmas Eve 2023
โ”ƒ   โ”ƒ   โ”ฃโ”โ” 1 Introduction
โ”ƒ   โ”ƒ   โ”ฃโ”โ” 2 Representation in LLMs
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   2.1 Current Representational Models
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   2.2 Incorporating Cognitive Structures
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   2.3 Conceptual Diagrams of Advanced Representational Models
โ”ƒ   โ”ƒ   โ”ฃโ”โ” 3 Evaluation Strategies
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   3.1 Existing Evaluation Metrics for LLMs
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   3.2 Integrating Contextual and Ethical Considerations
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   3.3 Case Studies: Evaluation in Practice
โ”ƒ   โ”ƒ   โ”ฃโ”โ” 4 Optimization Techniques
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   4.1 Continuous Learning Models
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   4.2 Adaptive Algorithms for Real-time Adjustments
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   4.3 Performance Metrics Pre- and Post-Optimization
โ”ƒ   โ”ƒ   โ”ฃโ”โ” 5 Interdisciplinary Insights
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   5.1 Cognitive Science and AI: A Symbiotic Relationship
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   5.2 Learning from Human Cognitive Processes
โ”ƒ   โ”ƒ   โ”ฃโ”โ” 6 Challenges and Future Directions
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   6.1 Addressing Current Limitations
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   6.2 The Road Ahead: Ethical and Practical Considerations
โ”ƒ   โ”ƒ   โ”ฃโ”โ” 7 Conclusion
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   7.1 Summarizing Key Findings
โ”ƒ   โ”ƒ   โ”—โ”โ”   7.2 The Next Steps in AI Development
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ ruby_test.rb (157 tokens, 37 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” module Greeter
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   def self.say_hello
โ”ƒ   โ”ƒ   โ”ฃโ”โ” class HelloWorld
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   def say_hello
โ”ƒ   โ”ƒ   โ”ฃโ”โ” class Human
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   def self.bar
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   def self.bar=(value)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” class Doctor < Human
โ”ƒ   โ”ƒ   โ”—โ”โ”   def brachial_plexus(
โ”ƒ   โ”ƒ             roots,
โ”ƒ   โ”ƒ             trunks,
โ”ƒ   โ”ƒ             divisions: true,
โ”ƒ   โ”ƒ             cords: [],
โ”ƒ   โ”ƒ             branches: Time.now
โ”ƒ   โ”ƒ           )
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ swift_test.swift (525 tokens, 110 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” class Person
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     init(name: String)
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     func greet()
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     func yEdgeCase(
โ”ƒ   โ”ƒ   โ”ƒ           fname: String, 
โ”ƒ   โ”ƒ   โ”ƒ           lname: String, 
โ”ƒ   โ”ƒ   โ”ƒ           age: Int,
โ”ƒ   โ”ƒ   โ”ƒ           address: String, 
โ”ƒ   โ”ƒ   โ”ƒ           phoneNumber: String
โ”ƒ   โ”ƒ   โ”ƒ       )
โ”ƒ   โ”ƒ   โ”ฃโ”โ” func globalGreet()
โ”ƒ   โ”ƒ   โ”ฃโ”โ” struct Point
โ”ƒ   โ”ƒ   โ”ฃโ”โ” protocol Animal
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     func speak()
โ”ƒ   โ”ƒ   โ”ฃโ”โ” struct Dog: Animal
โ”ƒ   โ”ƒ   โ”ฃโ”โ” class Cat: Animal
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     init(name: String)
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     func speak()
โ”ƒ   โ”ƒ   โ”ฃโ”โ” enum CarType
โ”ƒ   โ”ƒ   โ”ฃโ”โ” func getPreferredCarType() -> CarType
โ”ƒ   โ”ƒ   โ”ฃโ”โ” enum CarType: UInt8
โ”ƒ   โ”ƒ   โ”ฃโ”โ” enum class CarType: UInt8
โ”ƒ   โ”ƒ   โ”ฃโ”โ” func myFunction(fname: String, age: Int)
โ”ƒ   โ”ƒ   โ”—โ”โ” func myFunctionWithMultipleParameters(
โ”ƒ   โ”ƒ           fname: String, 
โ”ƒ   โ”ƒ           lname: String, 
โ”ƒ   โ”ƒ           age: Int, 
โ”ƒ   โ”ƒ           address: String, 
โ”ƒ   โ”ƒ           phoneNumber: String
โ”ƒ   โ”ƒ       )
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ test.lean (384 tokens, 43 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” # Advanced Topics in Group Theory
โ”ƒ   โ”ƒ   โ”ฃโ”โ” section GroupDynamics
โ”ƒ   โ”ƒ   โ”ฃโ”โ” lemma group_stability (G : Type*) [Group G] (H : Subgroup G)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” theorem subgroup_closure {G : Type*} [Group G] (S : Set G)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” axiom group_homomorphism_preservation {G H : Type*} [Group G] [Group H] (f : G โ†’ H)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” end GroupDynamics
โ”ƒ   โ”ƒ   โ”ฃโ”โ” section ConstructiveApproach
โ”ƒ   โ”ƒ   โ”ฃโ”โ” lemma finite_group_order (G : Type*) [Group G] [Fintype G]
โ”ƒ   โ”ƒ   โ”ฃโ”โ” lemma complex_lemma {X Y : Type*} [SomeClass X] [AnotherClass Y]
โ”ƒ   โ”ƒ   โ”ƒ     (f : X โ†’ Y) (g : Y โ†’ X)
โ”ƒ   โ”ƒ   โ”—โ”โ” end ConstructiveApproach
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ test.capnp (143 tokens, 31 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” struct Employee
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   id @0 :Int32
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   name @1 :Text
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   role @2 :Text
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   skills @3 :List(Skill)
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   struct Skill
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     name @0 :Text
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     level @1 :Level
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     enum Level
โ”ƒ   โ”ƒ   โ”ฃโ”โ”       beginner @0
โ”ƒ   โ”ƒ   โ”ฃโ”โ”       intermediate @1
โ”ƒ   โ”ƒ   โ”ฃโ”โ”       expert @2
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   status :union
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     active @4 :Void
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     onLeave @5 :Void
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     retired @6 :Void
โ”ƒ   โ”ƒ   โ”ฃโ”โ” struct Company
โ”ƒ   โ”ƒ   โ”—โ”โ”   employees @0 :List(Employee)
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ test.graphql (83 tokens, 21 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” type Query
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     getBooks: [Book]
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     getAuthors: [Author]
โ”ƒ   โ”ƒ   โ”ฃโ”โ” type Mutation
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     addBook(title: String, author: String): Book
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     removeBook(id: ID): Book
โ”ƒ   โ”ƒ   โ”ฃโ”โ” type Book
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     id: ID
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     title: String
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     author: Author
โ”ƒ   โ”ƒ   โ”ฃโ”โ” type Author
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     id: ID
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     name: String
โ”ƒ   โ”ƒ   โ”—โ”โ”     books: [Book]
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ test.proto (150 tokens, 34 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” syntax = "proto3"
โ”ƒ   โ”ƒ   โ”ฃโ”โ” service EmployeeService
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     rpc GetEmployee(EmployeeId) returns (EmployeeInfo)
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     rpc AddEmployee(EmployeeData) returns (EmployeeInfo)
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     rpc UpdateEmployee(EmployeeUpdate) returns (EmployeeInfo)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” message EmployeeId
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     int32 id = 1
โ”ƒ   โ”ƒ   โ”ฃโ”โ” message EmployeeInfo
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     int32 id = 1
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     string name = 2
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     string role = 3
โ”ƒ   โ”ƒ   โ”ฃโ”โ” message EmployeeData
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     string name = 1
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     string role = 2
โ”ƒ   โ”ƒ   โ”ฃโ”โ” message EmployeeUpdate
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     int32 id = 1
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     string name = 2
โ”ƒ   โ”ƒ   โ”—โ”โ”     string role = 3
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ test.sqlite
โ”ƒ   โ”ƒ   โ”ฃโ”โ” students table:
โ”ƒ   โ”ƒ   โ”ฃโ”โ”    id integer primary key
โ”ƒ   โ”ƒ   โ”ฃโ”โ”    name text not null
โ”ƒ   โ”ƒ   โ”ฃโ”โ”    age integer not null
โ”ƒ   โ”ƒ   โ”ฃโ”โ” courses table:
โ”ƒ   โ”ƒ   โ”ฃโ”โ”    id integer primary key
โ”ƒ   โ”ƒ   โ”ฃโ”โ”    title text not null
โ”ƒ   โ”ƒ   โ”—โ”โ”    credits integer not null
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ test_Cargo.toml (165 tokens, 19 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” name: test_cargo
โ”ƒ   โ”ƒ   โ”ฃโ”โ” version: 0.1.0
โ”ƒ   โ”ƒ   โ”ฃโ”โ” description: A test Cargo.toml
โ”ƒ   โ”ƒ   โ”ฃโ”โ” license: MIT OR Apache-2.0
โ”ƒ   โ”ƒ   โ”ฃโ”โ” dependencies:
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   clap 4.4
โ”ƒ   โ”ƒ   โ”—โ”โ”   sqlx 0.7 (features: runtime-tokio, tls-rustls)
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ test_json_rpc_2_0.json (48 tokens, 6 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” jsonrpc: 2.0
โ”ƒ   โ”ƒ   โ”ฃโ”โ” method: subtract
โ”ƒ   โ”ƒ   โ”ฃโ”โ” params:
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     minuend: 42
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     subtrahend: 23
โ”ƒ   โ”ƒ   โ”—โ”โ” id: 1
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ test_openapi.yaml (507 tokens, 93 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” openapi: 3.0.1
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     title: TODO Plugin
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     description: A plugin to create and manage TODO lists using ChatGPT.
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     version: v1
โ”ƒ   โ”ƒ   โ”ฃโ”โ” servers:
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     - url: PLUGIN_HOSTNAME
โ”ƒ   โ”ƒ   โ”ฃโ”โ” paths:
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     '/todos/{username}':
โ”ƒ   โ”ƒ   โ”ฃโ”โ”         GET (getTodos): Get the list of todos
โ”ƒ   โ”ƒ   โ”ฃโ”โ”         POST (addTodo): Add a todo to the list
โ”ƒ   โ”ƒ   โ”—โ”โ”         DELETE (deleteTodo): Delete a todo from the list
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ test_openrpc.json (224 tokens, 44 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” openrpc: 1.2.1
โ”ƒ   โ”ƒ   โ”ฃโ”โ” info:
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     title: Demo Petstore
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     version: 1.0.0
โ”ƒ   โ”ƒ   โ”ฃโ”โ” methods:
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     listPets: List all pets
โ”ƒ   โ”ƒ   โ”ฃโ”โ”         params:
โ”ƒ   โ”ƒ   โ”ฃโ”โ”             - limit: integer
โ”ƒ   โ”ƒ   โ”—โ”โ”         result: pets = An array of pets
โ”ƒ   โ”—โ”โ” ๐Ÿ“„ test_pyproject.toml (311 tokens, 39 lines)
โ”ƒ       โ”ฃโ”โ” name: tree_plus
โ”ƒ       โ”ฃโ”โ” version: 1.0.8
โ”ƒ       โ”ฃโ”โ” description: A `tree` util enhanced with tokens, lines, and components.
โ”ƒ       โ”ฃโ”โ” License :: OSI Approved :: Apache Software License
โ”ƒ       โ”ฃโ”โ” License :: OSI Approved :: MIT License
โ”ƒ       โ”ฃโ”โ” dependencies:
โ”ƒ       โ”ฃโ”โ”     tiktoken
โ”ƒ       โ”ฃโ”โ”     PyYAML
โ”ƒ       โ”ฃโ”โ”     click
โ”ƒ       โ”ฃโ”โ”     rich
โ”ƒ       โ”—โ”โ”     tomli
โ”ฃโ”โ” ๐Ÿ“ group4 (1 folder, 10 files) 
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ erl_test.erl (512 tokens, 69 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” -module(erl_test).
โ”ƒ   โ”ƒ   โ”ฃโ”โ” -record(person).
โ”ƒ   โ”ƒ   โ”ฃโ”โ” -type ra_peer_status().
โ”ƒ   โ”ƒ   โ”ฃโ”โ” -type ra_membership().
โ”ƒ   โ”ƒ   โ”ฃโ”โ” -opaque my_opaq_type().
โ”ƒ   โ”ƒ   โ”ฃโ”โ” -type orddict(Key, Val).
โ”ƒ   โ”ƒ   โ”ฃโ”โ” -type edge(
โ”ƒ   โ”ƒ   โ”ƒ           Cases,
โ”ƒ   โ”ƒ   โ”ƒ           Pwn,
โ”ƒ   โ”ƒ   โ”ƒ       ).
โ”ƒ   โ”ƒ   โ”ฃโ”โ” -spec guarded(X) -> X when X :: tuple().
โ”ƒ   โ”ƒ   โ”ฃโ”โ” -spec edge_case(
โ”ƒ   โ”ƒ   โ”ƒ           {integer(), any()} | [any()]
โ”ƒ   โ”ƒ   โ”ƒ       ) -> processed, integer(), any()} | [{item, any()}].
โ”ƒ   โ”ƒ   โ”ฃโ”โ” -spec complex_function({integer(), any()} | [any()]) -> 
โ”ƒ   โ”ƒ   โ”ƒ       {processed, integer(), any()} | [{item, any()}].
โ”ƒ   โ”ƒ   โ”ฃโ”โ” -spec list_manipulation([integer()]) -> [integer()].
โ”ƒ   โ”ƒ   โ”ฃโ”โ” -spec overload(T1, T2) -> T3
โ”ƒ   โ”ƒ   โ”ƒ           ; (T4, T5) -> T6.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” -spec multiguard({X, integer()}) -> X when X :: atom()
โ”ƒ   โ”ƒ   โ”ƒ           ; ([Y]) -> Y when Y :: number().
โ”ƒ   โ”ƒ   โ”ฃโ”โ” -record(multiline).
โ”ƒ   โ”ƒ   โ”—โ”โ” -record(maybe_undefined).
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ haskell_test.hs (373 tokens, 41 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” data Person
โ”ƒ   โ”ƒ   โ”ฃโ”โ” greet :: Person -> String
โ”ƒ   โ”ƒ   โ”—โ”โ” resolveVariables ::
โ”ƒ   โ”ƒ         forall m fragments.
โ”ƒ   โ”ƒ         (MonadError QErr m, Traversable fragments) =>
โ”ƒ   โ”ƒ         Options.BackwardsCompatibleNullInNonNullableVariables ->
โ”ƒ   โ”ƒ         [G.VariableDefinition] ->
โ”ƒ   โ”ƒ         GH.VariableValues ->
โ”ƒ   โ”ƒ         [G.Directive G.Name] ->
โ”ƒ   โ”ƒ         G.SelectionSet fragments G.Name ->
โ”ƒ   โ”ƒ         m
โ”ƒ   โ”ƒ           ( [G.Directive Variable],
โ”ƒ   โ”ƒ             G.SelectionSet fragments Variable
โ”ƒ   โ”ƒ           )
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ mathematica_test.nb (132 tokens, 21 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” person[name_]
โ”ƒ   โ”ƒ   โ”ฃโ”โ” sayHello[]
โ”ƒ   โ”ƒ   โ”—โ”โ” sumList[list_List]
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ matlab_test.m (45 tokens, 12 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” classdef HelloWorld -> function greet
โ”ƒ   โ”ƒ   โ”—โ”โ” function loneFun
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ RTest.R (367 tokens, 47 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” class(person)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” greet.Person <- function
โ”ƒ   โ”ƒ   โ”ฃโ”โ” ensure_between = function
โ”ƒ   โ”ƒ   โ”—โ”โ” run_intermediate_annealing_process = function
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ rust_test.rs (932 tokens, 166 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” enum Days
โ”ƒ   โ”ƒ   โ”ฃโ”โ” struct Point
โ”ƒ   โ”ƒ   โ”ฃโ”โ” impl Point
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     fn get_origin() -> Point
โ”ƒ   โ”ƒ   โ”ฃโ”โ” struct Person
โ”ƒ   โ”ƒ   โ”ฃโ”โ” impl Person
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     fn greet(&self)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” fn add_two_longs(x1: i64, x2: i64) -> i64
โ”ƒ   โ”ƒ   โ”ฃโ”โ” fn add_two_longs_longer(
โ”ƒ   โ”ƒ   โ”ƒ       x1: i64,
โ”ƒ   โ”ƒ   โ”ƒ       x2: i64,
โ”ƒ   โ”ƒ   โ”ƒ   ) -> i64
โ”ƒ   โ”ƒ   โ”ฃโ”โ” fn multiply_by_two(num: f64) -> f64
โ”ƒ   โ”ƒ   โ”ฃโ”โ” fn get_first_character(s: &str) -> Option<char>
โ”ƒ   โ”ƒ   โ”ฃโ”โ” trait Drawable
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     fn draw(&self)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” impl Drawable for Point
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     fn draw(&self)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” fn main()
โ”ƒ   โ”ƒ   โ”ฃโ”โ” pub struct VisibleStruct
โ”ƒ   โ”ƒ   โ”ฃโ”โ” mod my_module
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     pub struct AlsoVisibleStruct<T>(T, T)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” macro_rules! say_hello
โ”ƒ   โ”ƒ   โ”ฃโ”โ” #[macro_export]
โ”ƒ   โ”ƒ   โ”ƒ   macro_rules! hello_tree_plus
โ”ƒ   โ”ƒ   โ”ฃโ”โ” pub mod lib
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     pub mod interfaces
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     mod engine
โ”ƒ   โ”ƒ   โ”ฃโ”โ” pub fn flow<S1, S2, S3, S4, E, T, L>(
โ”ƒ   โ”ƒ   โ”ƒ       source: S1,
โ”ƒ   โ”ƒ   โ”ƒ       extractor: E, 
โ”ƒ   โ”ƒ   โ”ƒ       inbox: S2, 
โ”ƒ   โ”ƒ   โ”ƒ       transformer: T, 
โ”ƒ   โ”ƒ   โ”ƒ       outbox: S3, 
โ”ƒ   โ”ƒ   โ”ƒ       loader: L, 
โ”ƒ   โ”ƒ   โ”ƒ       sink: &mut S4,
โ”ƒ   โ”ƒ   โ”ƒ   ) -> Result<(), Box<dyn Error>>
โ”ƒ   โ”ƒ   โ”ƒ   where
โ”ƒ   โ”ƒ   โ”ƒ       S1: Extractable,
โ”ƒ   โ”ƒ   โ”ƒ       S2: Extractable + Loadable,
โ”ƒ   โ”ƒ   โ”ƒ       S3: Extractable + Loadable,
โ”ƒ   โ”ƒ   โ”ƒ       S4: Loadable,
โ”ƒ   โ”ƒ   โ”ƒ       E: Extractor<S1, S2>,
โ”ƒ   โ”ƒ   โ”ƒ       T: Transformer<S2, S3>,
โ”ƒ   โ”ƒ   โ”ƒ       L: Loader<S3, S4>
โ”ƒ   โ”ƒ   โ”ฃโ”โ” trait Container
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     fn items(&self) -> impl Iterator<Item = Widget>
โ”ƒ   โ”ƒ   โ”ฃโ”โ” trait HttpService
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     async fn fetch(&self, url: Url) -> HtmlBody
โ”ƒ   โ”ƒ   โ”ฃโ”โ” struct Pair<T, U>
โ”ƒ   โ”ƒ   โ”ฃโ”โ” trait Transformer<T>
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     fn transform(&self, input: T) -> T
โ”ƒ   โ”ƒ   โ”ฃโ”โ” impl<T: std::ops::Add<Output = T> + Copy> Transformer<T> for Pair<T, T>
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     fn transform(&self, input: T) -> T
โ”ƒ   โ”ƒ   โ”ฃโ”โ” fn main()
โ”ƒ   โ”ƒ   โ”—โ”โ” async fn handle_get(State(pool): State<PgPool>) -> Result<Html<String>, (StatusCode, String)> 
โ”ƒ   โ”ƒ       where
โ”ƒ   โ”ƒ           Bion: Cool
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ test.zig (436 tokens, 61 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” pub fn add(a: i32, b: i32) i32
โ”ƒ   โ”ƒ   โ”ฃโ”โ” test "add function"
โ”ƒ   โ”ƒ   โ”ฃโ”โ” const BunBuildOptions = struct
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     pub fn updateRuntime(this: *BunBuildOptions) anyerror!void
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     pub fn step(this: BunBuildOptions, b: anytype) *std.build.OptionsStep
โ”ƒ   โ”ƒ   โ”—โ”โ” pub fn sgemv(
โ”ƒ   โ”ƒ           order: Order,
โ”ƒ   โ”ƒ           trans: Trans,
โ”ƒ   โ”ƒ           m: usize,
โ”ƒ   โ”ƒ           n: usize,
โ”ƒ   โ”ƒ           alpha: f32,
โ”ƒ   โ”ƒ           a: []const f32,
โ”ƒ   โ”ƒ           lda: usize,
โ”ƒ   โ”ƒ           x: []const f32,
โ”ƒ   โ”ƒ           x_add: usize,
โ”ƒ   โ”ƒ           beta: f32,
โ”ƒ   โ”ƒ           y: []f32,
โ”ƒ   โ”ƒ           y_add: usize,
โ”ƒ   โ”ƒ       ) void
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ test_fsharp.fs (127 tokens, 27 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” module TestFSharp
โ”ƒ   โ”ƒ   โ”ฃโ”โ” type Person = {
โ”ƒ   โ”ƒ   โ”ฃโ”โ” let add x y =
โ”ƒ   โ”ƒ   โ”ฃโ”โ” let multiply 
โ”ƒ   โ”ƒ   โ”ƒ       (x: int) 
โ”ƒ   โ”ƒ   โ”ƒ       (y: int): int =
โ”ƒ   โ”ƒ   โ”ฃโ”โ” let complexFunction
โ”ƒ   โ”ƒ   โ”ƒ       (a: int)
โ”ƒ   โ”ƒ   โ”ƒ       (b: string)
โ”ƒ   โ”ƒ   โ”ƒ       (c: float)
โ”ƒ   โ”ƒ   โ”ƒ       : (int * string) option =
โ”ƒ   โ”ƒ   โ”—โ”โ” type Result<'T> =
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ test_tcl_tk.tcl (66 tokens, 17 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” proc sayHello {}
โ”ƒ   โ”ƒ   โ”ฃโ”โ” proc arrg { input }
โ”ƒ   โ”ƒ   โ”—โ”โ” proc multiLine {
โ”ƒ   โ”ƒ           x,
โ”ƒ   โ”ƒ           y
โ”ƒ   โ”ƒ       }
โ”ƒ   โ”—โ”โ” ๐Ÿ“„ tf_test.tf (288 tokens, 39 lines)
โ”ƒ       โ”ฃโ”โ” provider "aws"
โ”ƒ       โ”ฃโ”โ” resource "aws_instance" "example"
โ”ƒ       โ”ฃโ”โ” data "aws_ami" "ubuntu"
โ”ƒ       โ”ฃโ”โ” variable "instance_type"
โ”ƒ       โ”ฃโ”โ” output "instance_public_ip"
โ”ƒ       โ”ฃโ”โ” locals
โ”ƒ       โ”—โ”โ” module "vpc"
โ”ฃโ”โ” ๐Ÿ“ group5 (1 folder, 18 files) 
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ ansible_test.yml (60 tokens, 15 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” Install package
โ”ƒ   โ”ƒ   โ”ฃโ”โ” Start service
โ”ƒ   โ”ƒ   โ”—โ”โ” Create user
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ app-routing.module.ts (242 tokens, 28 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” const routes: Routes = [
โ”ƒ   โ”ƒ   โ”ƒ       { path: '', redirectTo: 'login', pathMatch: 'full' },
โ”ƒ   โ”ƒ   โ”ƒ       { path: '*', redirectTo: 'login' },
โ”ƒ   โ”ƒ   โ”ƒ       { path: 'home', component: HomeComponent },
โ”ƒ   โ”ƒ   โ”ƒ       { path: 'login', component: LoginComponent },
โ”ƒ   โ”ƒ   โ”ƒ       { path: 'register', component: RegisterComponent },
โ”ƒ   โ”ƒ   โ”ƒ       { path: 'events', component: EventsComponent },
โ”ƒ   โ”ƒ   โ”ƒ       { path: 'invites', component: InvitesComponent },
โ”ƒ   โ”ƒ   โ”ƒ       { path: 'rewards', component: RewardsComponent },
โ”ƒ   โ”ƒ   โ”ƒ       { path: 'profile', component: ProfileComponent },
โ”ƒ   โ”ƒ   โ”ƒ   ];
โ”ƒ   โ”ƒ   โ”—โ”โ” export class AppRoutingModule
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ app.component.spec.ts (307 tokens, 48 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” describe 'AppComponent'
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     it should create the app
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     it should welcome the user
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     it should welcome 'Jimbo'
โ”ƒ   โ”ƒ   โ”—โ”โ”     it should request login if not logged in
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ app.component.ts (243 tokens, 45 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” export class AppComponent
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   constructor(private loginService: LoginService)
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   checkSession()
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   async goToEvent(event_id: string)
โ”ƒ   โ”ƒ   โ”—โ”โ”   valInvitedBy(event: any, event_id: string)
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ app.module.ts (269 tokens, 43 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” @NgModule({
โ”ƒ   โ”ƒ   โ”ƒ       declarations: [
โ”ƒ   โ”ƒ   โ”ƒ           AppComponent,
โ”ƒ   โ”ƒ   โ”ƒ           HomeComponent,
โ”ƒ   โ”ƒ   โ”ƒ           LoginComponent,
โ”ƒ   โ”ƒ   โ”ƒ           RegisterComponent,
โ”ƒ   โ”ƒ   โ”ƒ           EventsComponent,
โ”ƒ   โ”ƒ   โ”ƒ           InvitesComponent,
โ”ƒ   โ”ƒ   โ”ƒ           RewardsComponent,
โ”ƒ   โ”ƒ   โ”ƒ           ProfileComponent
โ”ƒ   โ”ƒ   โ”—โ”โ” export class AppModule
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ checkbox_test.md (263 tokens, 22 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” # My Checkbox Test
โ”ƒ   โ”ƒ   โ”ฃโ”โ” ## My No Parens Test
โ”ƒ   โ”ƒ   โ”ฃโ”โ” ## My Empty href Test
โ”ƒ   โ”ƒ   โ”ฃโ”โ” ## My other url Test [Q&A]
โ”ƒ   โ”ƒ   โ”ฃโ”โ” ## My other other url Test [Q&A]
โ”ƒ   โ”ƒ   โ”ฃโ”โ” ## My 2nd other url Test [Q&A]
โ”ƒ   โ”ƒ   โ”ฃโ”โ” ## My 3rd other url Test [Q&A]
โ”ƒ   โ”ƒ   โ”ฃโ”โ” - [ ] Task 1
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     - [ ] No Space Task 1.1
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     - [ ] Two Spaces Task 1.2
โ”ƒ   โ”ƒ   โ”ฃโ”โ”         - [ ] Subtask 1.2.1
โ”ƒ   โ”ƒ   โ”ฃโ”โ” - [ ] Task 2
โ”ƒ   โ”ƒ   โ”ฃโ”โ” - [x] Task 3
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     - [ ] Subtask 3.1
โ”ƒ   โ”ƒ   โ”ฃโ”โ” - [x] Task 6
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     - [x] Subtask 6.1
โ”ƒ   โ”ƒ   โ”—โ”โ”         - [ ] Handle edge cases
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ checkbox_test.txt (276 tokens, 33 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” - [ ] fix phone number format +1
โ”ƒ   โ”ƒ   โ”ฃโ”โ” - [ ] add forgot password
โ”ƒ   โ”ƒ   โ”ฃโ”โ” - [ ] ? add email verification
โ”ƒ   โ”ƒ   โ”ฃโ”โ” - [ ] store token the right way
โ”ƒ   โ”ƒ   โ”ฃโ”โ” - [ ] test nesting of checkboxes
โ”ƒ   โ”ƒ   โ”ฃโ”โ” - [ ] user can use option to buy ticket at 2-referred price
โ”ƒ   โ”ƒ   โ”ฃโ”โ” - [ ] CTA refer 2 people to get instant lower price
โ”ƒ   โ”ƒ   โ”—โ”โ” - [ ] form to send referrals
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ environment.test.ts (193 tokens, 19 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” environment:
โ”ƒ   โ”ƒ   โ”ฃโ”โ”    production
โ”ƒ   โ”ƒ   โ”ฃโ”โ”    cognitoUserPoolId
โ”ƒ   โ”ƒ   โ”ฃโ”โ”    cognitoAppClientId
โ”ƒ   โ”ƒ   โ”—โ”โ”    apiurl
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ k8s_test.yaml (171 tokens, 38 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” apps/v1.Deployment -> my-app
โ”ƒ   โ”ƒ   โ”ฃโ”โ” v1.Service -> my-service
โ”ƒ   โ”ƒ   โ”—โ”โ” v1.ConfigMap -> my-config
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ Makefile (882 tokens, 85 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” include dotenv/dev.env
โ”ƒ   โ”ƒ   โ”ฃโ”โ” .PHONY: dev
โ”ƒ   โ”ƒ   โ”ฃโ”โ” dev
โ”ƒ   โ”ƒ   โ”ฃโ”โ” services-down
โ”ƒ   โ”ƒ   โ”ฃโ”โ” services-stop: services-down
โ”ƒ   โ”ƒ   โ”ฃโ”โ” define CHECK_POSTGRES
โ”ƒ   โ”ƒ   โ”ฃโ”โ” damage-report
โ”ƒ   โ”ƒ   โ”ฃโ”โ” tail-logs
โ”ƒ   โ”ƒ   โ”—โ”โ” cloud
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ requirements_test.txt (40 tokens, 10 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” psycopg2-binary
โ”ƒ   โ”ƒ   โ”ฃโ”โ” pytest
โ”ƒ   โ”ƒ   โ”ฃโ”โ” coverage
โ”ƒ   โ”ƒ   โ”ฃโ”โ” flask[async]
โ”ƒ   โ”ƒ   โ”ฃโ”โ” flask_cors
โ”ƒ   โ”ƒ   โ”ฃโ”โ” stripe
โ”ƒ   โ”ƒ   โ”ฃโ”โ” pyjwt[crypto]
โ”ƒ   โ”ƒ   โ”ฃโ”โ” cognitojwt[async]
โ”ƒ   โ”ƒ   โ”—โ”โ” flask-lambda
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ rust_todo_test.rs (109 tokens, 27 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” TODO (Line 23): This todo tests parse_todo
โ”ƒ   โ”ƒ   โ”ฃโ”โ” enum Color
โ”ƒ   โ”ƒ   โ”ฃโ”โ” struct Point
โ”ƒ   โ”ƒ   โ”ฃโ”โ” trait Drawable
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     fn draw(&self)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” impl Drawable for Point
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     fn draw(&self)
โ”ƒ   โ”ƒ   โ”—โ”โ” fn main()
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ sql_test.sql (300 tokens, 52 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” CREATE TABLE promoters
โ”ƒ   โ”ƒ   โ”ฃโ”โ”    user_id serial PRIMARY KEY,
โ”ƒ   โ”ƒ   โ”ฃโ”โ”    type varchar(20) NOT NULL,
โ”ƒ   โ”ƒ   โ”ฃโ”โ”    username varchar(20) NOT NULL,
โ”ƒ   โ”ƒ   โ”ฃโ”โ”    password varchar(20) NOT NULL,
โ”ƒ   โ”ƒ   โ”ฃโ”โ”    email varchar(30) NOT NULL,
โ”ƒ   โ”ƒ   โ”ฃโ”โ”    phone varchar(20) NOT NULL,
โ”ƒ   โ”ƒ   โ”ฃโ”โ”    promocode varchar(20),
โ”ƒ   โ”ƒ   โ”ฃโ”โ”    info json,
โ”ƒ   โ”ƒ   โ”ฃโ”โ”    going text[],
โ”ƒ   โ”ƒ   โ”ฃโ”โ”    invites text[],
โ”ƒ   โ”ƒ   โ”ฃโ”โ”    balance integer NOT NULL,
โ”ƒ   โ”ƒ   โ”ฃโ”โ”    rewards text[],
โ”ƒ   โ”ƒ   โ”ฃโ”โ”    created timestamp
โ”ƒ   โ”ƒ   โ”ฃโ”โ” CREATE TABLE events
โ”ƒ   โ”ƒ   โ”ฃโ”โ”    event_id serial PRIMARY KEY,
โ”ƒ   โ”ƒ   โ”ฃโ”โ”    name varchar(64) NOT NULL,
โ”ƒ   โ”ƒ   โ”ฃโ”โ”    date varchar(64) NOT NULL,
โ”ƒ   โ”ƒ   โ”ฃโ”โ”    location varchar(64) NOT NULL,
โ”ƒ   โ”ƒ   โ”ฃโ”โ”    performer varchar(64) NOT NULL,
โ”ƒ   โ”ƒ   โ”ฃโ”โ”    rewards json,
โ”ƒ   โ”ƒ   โ”—โ”โ”    created timestamp
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ standard-app-routing.module.ts (93 tokens, 17 lines)
โ”ƒ   โ”ƒ   โ”—โ”โ” const routes: Routes = [
โ”ƒ   โ”ƒ         { path: '', component: HomeComponent },
โ”ƒ   โ”ƒ         {
โ”ƒ   โ”ƒ           path: 'heroes',
โ”ƒ   โ”ƒ           component: HeroesListComponent,
โ”ƒ   โ”ƒ           children: [
โ”ƒ   โ”ƒ             { path: ':id', component: HeroDetailComponent },
โ”ƒ   โ”ƒ             { path: 'new', component: HeroFormComponent },
โ”ƒ   โ”ƒ           ],
โ”ƒ   โ”ƒ         },
โ”ƒ   โ”ƒ         { path: '**', component: PageNotFoundComponent },
โ”ƒ   โ”ƒ       ];
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ test.env (242 tokens, 26 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” PROMO_PATH
โ”ƒ   โ”ƒ   โ”ฃโ”โ” PRODUCTION
โ”ƒ   โ”ƒ   โ”ฃโ”โ” SQL_SCHEMA_PATH
โ”ƒ   โ”ƒ   โ”ฃโ”โ” DB_LOGS
โ”ƒ   โ”ƒ   โ”ฃโ”โ” DB_LOG
โ”ƒ   โ”ƒ   โ”ฃโ”โ” PGPASSWORD
โ”ƒ   โ”ƒ   โ”ฃโ”โ” PGDATABASE
โ”ƒ   โ”ƒ   โ”ฃโ”โ” PGHOST
โ”ƒ   โ”ƒ   โ”ฃโ”โ” PGPORT
โ”ƒ   โ”ƒ   โ”ฃโ”โ” PGUSER
โ”ƒ   โ”ƒ   โ”ฃโ”โ” SERVER_LOG
โ”ƒ   โ”ƒ   โ”ฃโ”โ” SERVER_LOGS
โ”ƒ   โ”ƒ   โ”ฃโ”โ” API_URL
โ”ƒ   โ”ƒ   โ”ฃโ”โ” APP_LOGS
โ”ƒ   โ”ƒ   โ”ฃโ”โ” APP_LOG
โ”ƒ   โ”ƒ   โ”ฃโ”โ” APP_URL
โ”ƒ   โ”ƒ   โ”ฃโ”โ” COGNITO_USER_POOL_ID
โ”ƒ   โ”ƒ   โ”ฃโ”โ” COGNITO_APP_CLIENT_ID
โ”ƒ   โ”ƒ   โ”ฃโ”โ” AWS_REGION
โ”ƒ   โ”ƒ   โ”—โ”โ” STRIPE_SECRET_KEY
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ testJsonSchema.json (294 tokens, 49 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” $schema: http://json-schema.org/draft-07/schema#
โ”ƒ   โ”ƒ   โ”ฃโ”โ” type: object
โ”ƒ   โ”ƒ   โ”ฃโ”โ” title: random_test
โ”ƒ   โ”ƒ   โ”—โ”โ” description: A promoter's activites related to events
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ testPackage.json (458 tokens, 44 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” name: 'promo-app'
โ”ƒ   โ”ƒ   โ”ฃโ”โ” version: 0.0.0
โ”ƒ   โ”ƒ   โ”ฃโ”โ” scripts:
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     ng: 'ng'
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     start: 'ng serve'
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     build: 'ng build'
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     watch: 'ng build --watch --configuration development'
โ”ƒ   โ”ƒ   โ”—โ”โ”     test: 'ng test'
โ”ƒ   โ”—โ”โ” ๐Ÿ“„ tickets.component.ts (6,950 tokens, 903 lines)
โ”ƒ       โ”ฃโ”โ” interface EnrichedTicket extends Ticket
โ”ƒ       โ”ฃโ”โ” interface SpinConfig
โ”ƒ       โ”ฃโ”โ” interface RotationState
โ”ƒ       โ”ฃโ”โ” interface SpeakInput
โ”ƒ       โ”ฃโ”โ” const formatSpeakInput = (input: SpeakInput): string =>
โ”ƒ       โ”ฃโ”โ” function hourToSpeech(hour: number, minute: number, period: string): string
โ”ƒ       โ”ฃโ”โ” export class TicketsComponent implements AfterViewInit
โ”ƒ       โ”ฃโ”โ”   speak(input: SpeakInput)
โ”ƒ       โ”ฃโ”โ”   speakEvent(ticket: EnrichedTicket): void
โ”ƒ       โ”ฃโ”โ”   formatEvent(ticket: EnrichedTicket): string
โ”ƒ       โ”ฃโ”โ”   speakVenue(ticket: EnrichedTicket): void
โ”ƒ       โ”ฃโ”โ”   formatDate(date: Date, oneLiner: boolean = false): string
โ”ƒ       โ”ฃโ”โ”   formatDateForSpeech(date: Date): string
โ”ƒ       โ”ฃโ”โ”   async spinQRCode(
โ”ƒ       โ”ƒ       event: PointerEvent,
โ”ƒ       โ”ƒ       config: SpinConfig = DEFAULT_SPIN_CONFIG
โ”ƒ       โ”ƒ     )
โ”ƒ       โ”ฃโ”โ”   private animateRotation(
โ”ƒ       โ”ƒ       imgElement: HTMLElement,
โ”ƒ       โ”ƒ       targetRotation: number,
โ”ƒ       โ”ƒ       config: SpinConfig,
โ”ƒ       โ”ƒ       cleanup: () => void
โ”ƒ       โ”ƒ     )
โ”ƒ       โ”ฃโ”โ”     const animate = (currentTime: number) =>
โ”ƒ       โ”ฃโ”โ”   private getNext90Degree(currentRotation: number): number
โ”ƒ       โ”ฃโ”โ”   private getCurrentRotation(matrix: string): number
โ”ƒ       โ”ฃโ”โ”   ngAfterViewInit()
โ”ƒ       โ”ฃโ”โ”       const mouseEnterListener = () =>
โ”ƒ       โ”ฃโ”โ”       const mouseLeaveListener = () =>
โ”ƒ       โ”ฃโ”โ”   ngOnDestroy()
โ”ƒ       โ”ฃโ”โ”   toggleColumn(event: MatOptionSelectionChange, column: string)
โ”ƒ       โ”ฃโ”โ”   adjustColumns(event?: Event)
โ”ƒ       โ”ฃโ”โ”   onResize(event: Event)
โ”ƒ       โ”ฃโ”โ”   async ngOnInit()
โ”ƒ       โ”ฃโ”โ”   async loadTickets(): Promise<void>
โ”ƒ       โ”ฃโ”โ”   onDateRangeChange(
โ”ƒ       โ”ƒ       type: "start" | "end",
โ”ƒ       โ”ƒ       event: MatDatepickerInputEvent<Date>
โ”ƒ       โ”ƒ     )
โ”ƒ       โ”ฃโ”โ”   applyFilter(column: string): void
โ”ƒ       โ”ฃโ”โ”   formatDateForComparison(date: Date): string
โ”ƒ       โ”ฃโ”โ”   constructor(private renderer: Renderer2)
โ”ƒ       โ”ฃโ”โ”   onFilterChange(event: Event, column: string)
โ”ƒ       โ”ฃโ”โ”   onLatitudeChange(event: Event)
โ”ƒ       โ”ฃโ”โ”   onLongitudeChange(event: Event)
โ”ƒ       โ”ฃโ”โ”   onRadiusChange(event: Event)
โ”ƒ       โ”ฃโ”โ”   sortData(sort: Sort): void
โ”ƒ       โ”ฃโ”โ”   onRowClick(event: Event, row: any)
โ”ƒ       โ”ฃโ”โ” function isDate(value: Date | undefined | null): value is Date
โ”ƒ       โ”ฃโ”โ” function isNonNullNumber(value: number | null): value is number
โ”ƒ       โ”ฃโ”โ” function hasLocation(
โ”ƒ       โ”ƒ     ticket: any
โ”ƒ       โ”ƒ   ): ticket is
โ”ƒ       โ”ฃโ”โ” const create_faker_ticket = async () =>
โ”ƒ       โ”ฃโ”โ” function compare(a: number | string, b: number | string, isAsc: boolean)
โ”ƒ       โ”ฃโ”โ” function compare_dates(a: Date, b: Date, isAsc: boolean)
โ”ƒ       โ”ฃโ”โ” async function mockMoreTickets(): Promise<Ticket[]>
โ”ƒ       โ”ฃโ”โ” const mockTickets = async () =>
โ”ƒ       โ”—โ”โ” const renderQRCode = async (text: String): Promise<string> =>
โ”ฃโ”โ” ๐Ÿ“ group6 (1 folder, 8 files) 
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ catastrophic.c (4,144 tokens, 581 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” struct Point
โ”ƒ   โ”ƒ   โ”ฃโ”โ” struct Point getOrigin()
โ”ƒ   โ”ƒ   โ”ฃโ”โ” float mul_two_floats(float x1, float x2)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” enum days
โ”ƒ   โ”ƒ   โ”ฃโ”โ” long add_two_longs(long x1, long x2)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” double multiplyByTwo(double num)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” char getFirstCharacter(char *str)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” void greet(Person p)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” typedef struct Person
โ”ƒ   โ”ƒ   โ”ฃโ”โ” typedef struct PersonA
โ”ƒ   โ”ƒ   โ”ฃโ”โ” int main()
โ”ƒ   โ”ƒ   โ”ฃโ”โ” int* getArrayStart(int arr[], int size)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” long complexFunctionWithMultipleArguments(
โ”ƒ   โ”ƒ   โ”ƒ       int param1,
โ”ƒ   โ”ƒ   โ”ƒ       double param2,
โ”ƒ   โ”ƒ   โ”ƒ       char *param3,
โ”ƒ   โ”ƒ   โ”ƒ       struct Point point
โ”ƒ   โ”ƒ   โ”ƒ   )
โ”ƒ   โ”ƒ   โ”ฃโ”โ” keyPattern *ACLKeyPatternCreate(sds pattern, int flags)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” sds sdsCatPatternString(sds base, keyPattern *pat)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” static int ACLCheckChannelAgainstList(list *reference, const char *channel, int channellen, int is_pattern)
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     while((ln = listNext(&li)))
โ”ƒ   โ”ƒ   โ”ฃโ”โ” static struct config
โ”ƒ   โ”ƒ   โ”ฃโ”โ” class Person
โ”ƒ   โ”ƒ   โ”ฃโ”โ” public:
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     Person(std::string n) : name(n)
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     void greet()
โ”ƒ   โ”ƒ   โ”ฃโ”โ” void globalGreet()
โ”ƒ   โ”ƒ   โ”ฃโ”โ” int main()
โ”ƒ   โ”ƒ   โ”ฃโ”โ” void printMessage(const std::string &message)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” template<typename T>
โ”ƒ   โ”ƒ   โ”ฃโ”โ” void printVector(const std::vector<T>& vec)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” struct Point
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     Point(int x, int y) : x(x), y(y)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” class Animal
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   public:
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     Animal(const std::string &name) : name(name)
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     virtual void speak() const
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     virtual ~Animal()
โ”ƒ   โ”ƒ   โ”ฃโ”โ” class Dog : public Animal
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   public:
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     Dog(const std::string &name) : Animal(name)
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     void speak() const override
โ”ƒ   โ”ƒ   โ”ฃโ”โ” class Cat : public Animal
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   public:
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     Cat(const std::string &name) : Animal(name)
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     void speak() const override
โ”ƒ   โ”ƒ   โ”ฃโ”โ” class CatDog: public Animal, public Cat, public Dog
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   public:
โ”ƒ   โ”ƒ   โ”ฃโ”โ”       CatDog(const std::string &name) : Animal(name)
โ”ƒ   โ”ƒ   โ”ฃโ”โ”       int meow_bark()
โ”ƒ   โ”ƒ   โ”ฃโ”โ” nb::bytes BuildRnnDescriptor(int input_size, int hidden_size, int num_layers,
โ”ƒ   โ”ƒ   โ”ƒ                                int batch_size, int max_seq_length, float dropout,
โ”ƒ   โ”ƒ   โ”ƒ                                bool bidirectional, bool cudnn_allow_tf32,
โ”ƒ   โ”ƒ   โ”ƒ              int workspace_size, int reserve_space_size)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” int main()
โ”ƒ   โ”ƒ   โ”ฃโ”โ” enum ECarTypes
โ”ƒ   โ”ƒ   โ”ฃโ”โ” ECarTypes GetPreferredCarType()
โ”ƒ   โ”ƒ   โ”ฃโ”โ” enum ECarTypes : uint8_t
โ”ƒ   โ”ƒ   โ”ฃโ”โ” enum class ECarTypes : uint8_t
โ”ƒ   โ”ƒ   โ”ฃโ”โ” void myFunction(string fname, int age)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” template <typename T> T cos(T)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” template <typename T> T sin(T)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” template <typename T> T sqrt(T)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” template<typename T> struct VLEN
โ”ƒ   โ”ƒ   โ”ฃโ”โ” template<typename T> class arr
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   private:
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     static T *ralloc(size_t num)
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     static void dealloc(T *ptr)
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     static T *ralloc(size_t num)
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     static void dealloc(T *ptr)
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   public:
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     arr() : p(0), sz(0)
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     arr(size_t n) : p(ralloc(n)), sz(n)
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     arr(arr &&other)
โ”ƒ   โ”ƒ   โ”ƒ         : p(other.p), sz(other.sz)
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     ~arr()
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     void resize(size_t n)
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     T &operator[](size_t idx)
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     T *data()
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     size_t size() const
โ”ƒ   โ”ƒ   โ”ฃโ”โ” class Buffer
โ”ƒ   โ”ƒ   โ”ฃโ”โ” std::tuple<array, array, array> quantize(
โ”ƒ   โ”ƒ   โ”ƒ       const array& w,
โ”ƒ   โ”ƒ   โ”ƒ       int group_size,
โ”ƒ   โ”ƒ   โ”ƒ       int bits,
โ”ƒ   โ”ƒ   โ”ƒ       StreamOrDevice s)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” #define PY_SSIZE_T_CLEAN
โ”ƒ   โ”ƒ   โ”ฃโ”โ” #define PLATFORM_IS_X86
โ”ƒ   โ”ƒ   โ”ฃโ”โ” #define PLATFORM_WINDOWS
โ”ƒ   โ”ƒ   โ”ฃโ”โ” #define GETCPUID(a, b, c, d, a_inp, c_inp)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” static int GetXCR0EAX()
โ”ƒ   โ”ƒ   โ”ฃโ”โ” #define GETCPUID(a, b, c, d, a_inp, c_inp)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” static int GetXCR0EAX()
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   asm("XGETBV" : "=a"(eax), "=d"(edx) : "c"(0))
โ”ƒ   โ”ƒ   โ”ฃโ”โ” static void ReportMissingCpuFeature(const char* name)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” static PyObject *CheckCpuFeatures(PyObject *self, PyObject *args)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” static PyObject *CheckCpuFeatures(PyObject *self, PyObject *args)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” static PyMethodDef cpu_feature_guard_methods[]
โ”ƒ   โ”ƒ   โ”ฃโ”โ” static struct PyModuleDef cpu_feature_guard_module
โ”ƒ   โ”ƒ   โ”ฃโ”โ” #define EXPORT_SYMBOL __declspec(dllexport)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” #define EXPORT_SYMBOL __attribute__ ((visibility("default")))
โ”ƒ   โ”ƒ   โ”—โ”โ” EXPORT_SYMBOL PyMODINIT_FUNC PyInit_cpu_feature_guard(void)
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ fractal.thy (2,183 tokens, 148 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” Title:      fractal.thy
โ”ƒ   โ”ƒ   โ”ฃโ”โ” Author:     Isabelle/HOL Contributors!
โ”ƒ   โ”ƒ   โ”ฃโ”โ” Author:     edge cases r us
โ”ƒ   โ”ƒ   โ”ฃโ”โ” theory Simplified_Ring
โ”ƒ   โ”ƒ   โ”ฃโ”โ” section โ€นBasic Algebraic Structuresโ€บ
โ”ƒ   โ”ƒ   โ”ฃโ”โ” class everything = nothing + itself
โ”ƒ   โ”ƒ   โ”ฃโ”โ” subsection โ€นMonoidsโ€บ
โ”ƒ   โ”ƒ   โ”ฃโ”โ” definition ring_hom :: "[('a, 'm) ring_scheme, ('b, 'n) ring_scheme] => ('a => 'b) set"
โ”ƒ   โ”ƒ   โ”ฃโ”โ” fun example_fun :: "nat โ‡’ nat"
โ”ƒ   โ”ƒ   โ”ฃโ”โ” locale monoid =
โ”ƒ   โ”ƒ   โ”ƒ     fixes G (structure)
โ”ƒ   โ”ƒ   โ”ƒ     assumes m_closed: "โŸฆx โˆˆ carrier G; y โˆˆ carrier GโŸง โŸน  x โŠ— y โˆˆ carrier G"
โ”ƒ   โ”ƒ   โ”ƒ       and m_assoc: "โŸฆx โˆˆ carrier G; y โˆˆ carrier G; z โˆˆ carrier GโŸง โŸน  (x โŠ— y) โŠ— z = x โŠ— (y โŠ— z)"
โ”ƒ   โ”ƒ   โ”ƒ       and one_closed: "๐Ÿญ โˆˆ carrier G"
โ”ƒ   โ”ƒ   โ”ƒ       and l_one: "x โˆˆ carrier G โŸน  ๐Ÿญ โŠ— x = x"
โ”ƒ   โ”ƒ   โ”ƒ       and r_one: "x โˆˆ carrier G โŸน  x โŠ— ๐Ÿญ = x"
โ”ƒ   โ”ƒ   โ”ฃโ”โ” subsection โ€นGroupsโ€บ
โ”ƒ   โ”ƒ   โ”ฃโ”โ” locale group = monoid +
โ”ƒ   โ”ƒ   โ”ƒ     assumes Units_closed: "x โˆˆ Units G โŸน  x โˆˆ carrier G"
โ”ƒ   โ”ƒ   โ”ƒ       and l_inv_ex: "x โˆˆ carrier G โŸน  โˆƒ y โˆˆ carrier G. y โŠ— x = ๐Ÿญ"
โ”ƒ   โ”ƒ   โ”ƒ       and r_inv_ex: "x โˆˆ carrier G โŸน  โˆƒ y โˆˆ carrier G. x โŠ— y = ๐Ÿญ"
โ”ƒ   โ”ƒ   โ”ฃโ”โ” subsection โ€นRingsโ€บ
โ”ƒ   โ”ƒ   โ”ฃโ”โ” locale ring = abelian_group R + monoid R +
โ”ƒ   โ”ƒ   โ”ƒ     assumes l_distr: "โŸฆx โˆˆ carrier R; y โˆˆ carrier R; z โˆˆ carrier RโŸง โŸน  (x โŠ• y) โŠ— z = x โŠ— z โŠ• y โŠ— z"
โ”ƒ   โ”ƒ   โ”ƒ       and r_distr: "โŸฆx โˆˆ carrier R; y โˆˆ carrier R; z โˆˆ carrier RโŸง โŸน  z โŠ— (x โŠ• y) = z โŠ— x โŠ• z โŠ— y"
โ”ƒ   โ”ƒ   โ”ฃโ”โ” locale commutative_ring = ring +
โ”ƒ   โ”ƒ   โ”ƒ     assumes m_commutative: "โŸฆx โˆˆ carrier R; y โˆˆ carrier RโŸง โŸน  x โŠ— y = y โŠ— x"
โ”ƒ   โ”ƒ   โ”ฃโ”โ” locale domain = commutative_ring +
โ”ƒ   โ”ƒ   โ”ƒ     assumes no_zero_divisors: "โŸฆa โŠ— b = ๐Ÿฌ; a โˆˆ carrier R; b โˆˆ carrier RโŸง โŸน  a = ๐Ÿฌ โˆจ b = ๐Ÿฌ"
โ”ƒ   โ”ƒ   โ”ฃโ”โ” locale field = domain +
โ”ƒ   โ”ƒ   โ”ƒ     assumes inv_ex: "x โˆˆ carrier R - {๐Ÿฌ} โŸน  inv x โˆˆ carrier R"
โ”ƒ   โ”ƒ   โ”ฃโ”โ” subsection โ€นMorphismsโ€บ
โ”ƒ   โ”ƒ   โ”ฃโ”โ” lemma example_lemma: "example_fun n = n"
โ”ƒ   โ”ƒ   โ”ฃโ”โ” qualified lemma gcd_0:
โ”ƒ   โ”ƒ   โ”ƒ     "gcd a 0 = normalize a"
โ”ƒ   โ”ƒ   โ”ฃโ”โ” lemma abelian_monoidI:
โ”ƒ   โ”ƒ   โ”ƒ     fixes R (structure)
โ”ƒ   โ”ƒ   โ”ƒ         and f :: "'edge::{} โ‡’ 'case::{}"
โ”ƒ   โ”ƒ   โ”ƒ     assumes "โ‹€x y. โŸฆ x โˆˆ carrier R; y โˆˆ carrier R โŸง โŸน  x โŠ• y โˆˆ carrier R"
โ”ƒ   โ”ƒ   โ”ƒ         and "๐Ÿฌ โˆˆ carrier R"
โ”ƒ   โ”ƒ   โ”ƒ         and "โ‹€x y z. โŸฆ x โˆˆ carrier R; y โˆˆ carrier R; z โˆˆ carrier R โŸง โŸน  (x โŠ• y) โŠ• z = x โŠ• (y โŠ• z)"
โ”ƒ   โ”ƒ   โ”ƒ     shows "abelian_monoid R"
โ”ƒ   โ”ƒ   โ”ฃโ”โ” lemma euclidean_size_gcd_le1 [simp]:
โ”ƒ   โ”ƒ   โ”ƒ     assumes "a โ‰  0"
โ”ƒ   โ”ƒ   โ”ƒ     shows "euclidean_size (gcd a b) โ‰ค euclidean_size a"
โ”ƒ   โ”ƒ   โ”ฃโ”โ” theorem Residue_theorem:
โ”ƒ   โ”ƒ   โ”ƒ     fixes S pts::"complex set" and f::"complex โ‡’ complex"
โ”ƒ   โ”ƒ   โ”ƒ       and g::"real โ‡’ complex"
โ”ƒ   โ”ƒ   โ”ƒ     assumes "open S" "connected S" "finite pts" and
โ”ƒ   โ”ƒ   โ”ƒ             holo:"f holomorphic_on S-pts" and
โ”ƒ   โ”ƒ   โ”ƒ             "valid_path g" and
โ”ƒ   โ”ƒ   โ”ƒ             loop:"pathfinish g = pathstart g" and
โ”ƒ   โ”ƒ   โ”ƒ             "path_image g โŠ† S-pts" and
โ”ƒ   โ”ƒ   โ”ƒ             homo:"โˆ€z. (z โˆ‰ S) โŸถ  winding_number g z  = 0"
โ”ƒ   โ”ƒ   โ”ƒ     shows "contour_integral g f = 2 * pi * ๐—‚ *(โˆ‘p โˆˆ pts. winding_number g p * residue f p)"
โ”ƒ   โ”ƒ   โ”ฃโ”โ” corollary fps_coeff_residues_bigo':
โ”ƒ   โ”ƒ   โ”ƒ     fixes f :: "complex โ‡’ complex" and r :: real
โ”ƒ   โ”ƒ   โ”ƒ     assumes exp: "f has_fps_expansion F"
โ”ƒ   โ”ƒ   โ”ƒ     assumes "open A" "connected A" "cball 0 r โŠ† A" "r > 0" 
โ”ƒ   โ”ƒ   โ”ƒ     assumes "f holomorphic_on A - S" "S โŠ† ball 0 r" "finite S" "0 โˆ‰ S"
โ”ƒ   โ”ƒ   โ”ƒ     assumes "eventually (ฮปn. g n = -(โˆ‘z โˆˆ S. residue (ฮปz. f z / z ^ Suc n) z)) sequentially"
โ”ƒ   โ”ƒ   โ”ƒ                (is "eventually (ฮปn. _ = -?g' n) _")
โ”ƒ   โ”ƒ   โ”ƒ     shows   "(ฮปn. fps_nth F n - g n) โˆˆ O(ฮปn. 1 / r ^ n)" (is "(ฮปn. ?c n - _) โˆˆ O(_)")
โ”ƒ   โ”ƒ   โ”—โ”โ” end
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ Microsoft.PowerShell_profile.ps1 (3,854 tokens, 498 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” function Log($message)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” function Remove-ChocolateyFromPath
โ”ƒ   โ”ƒ   โ”ฃโ”โ” function Show-Profiles
โ”ƒ   โ”ƒ   โ”ฃโ”โ” function Show-Path
โ”ƒ   โ”ƒ   โ”ฃโ”โ” function Show-Error($err)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” function Get-ScoopPackagePath
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   param(
โ”ƒ   โ”ƒ   โ”ƒ       [Parameter(Mandatory = $true)]
โ”ƒ   โ”ƒ   โ”ƒ       [string]$PackageName)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” function Check-Command
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   param(
โ”ƒ   โ”ƒ   โ”ƒ       [Parameter(Mandatory = $true)]
โ”ƒ   โ”ƒ   โ”ƒ       [string]$Name)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” function Add-ToPath
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   param(
โ”ƒ   โ”ƒ   โ”ƒ       [Parameter(Mandatory = $true)]
โ”ƒ   โ”ƒ   โ”ƒ       [string]$PathToAdd)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” function Install-Scoop
โ”ƒ   โ”ƒ   โ”ฃโ”โ” function Scoop-Install
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   param(
โ”ƒ   โ”ƒ   โ”ƒ       [Parameter(Mandatory = $true)]
โ”ƒ   โ”ƒ   โ”ƒ       [string]$Name,
โ”ƒ   โ”ƒ   โ”ƒ       [string]$PathToAdd)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” function Start-CondaEnv
โ”ƒ   โ”ƒ   โ”ฃโ”โ” function Install-PipPackage
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   param(
โ”ƒ   โ”ƒ   โ”ƒ           [Parameter(Mandatory = $true)]
โ”ƒ   โ”ƒ   โ”ƒ       [string]$PackageName)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” function Install-VSBuildTools
โ”ƒ   โ”ƒ   โ”ฃโ”โ” function Install-Crate
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   param(
โ”ƒ   โ”ƒ   โ”ƒ           [Parameter(Mandatory = $true)]
โ”ƒ   โ”ƒ   โ”ƒ       [string]$CrateName)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” function Get-ScoopVersion
โ”ƒ   โ”ƒ   โ”ฃโ”โ” function Get-Version
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     param(
โ”ƒ   โ”ƒ   โ”ƒ           [Parameter(Mandatory = $true)]
โ”ƒ   โ”ƒ   โ”ƒ           [string]$ExecutablePath,
โ”ƒ   โ”ƒ   โ”ƒ           [string]$ExecutableName)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” function Show-Requirements
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   function Measure-Status
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     param(
โ”ƒ   โ”ƒ   โ”ƒ         [Parameter(Mandatory = $true)]
โ”ƒ   โ”ƒ   โ”ƒ         [string]$Name)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” function Find-Profile
โ”ƒ   โ”ƒ   โ”ฃโ”โ” function Edit-Profile
โ”ƒ   โ”ƒ   โ”ฃโ”โ” function Set-Profile
โ”ƒ   โ”ƒ   โ”—โ”โ” function Show-Profile
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ ramda__cloneRegExp.js (105 tokens, 9 lines)
โ”ƒ   โ”ƒ   โ”—โ”โ” export default function _cloneRegExp(pattern)
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ ramda_prop.js (747 tokens, 86 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” /**
โ”ƒ   โ”ƒ   โ”ƒ    * Returns a function that when supplied an object returns the indicated
โ”ƒ   โ”ƒ   โ”ƒ    * property of that object, if it exists.
โ”ƒ   โ”ƒ   โ”ƒ    * @category Object
โ”ƒ   โ”ƒ   โ”ƒ    * @typedefn Idx = String | Int | Symbol
โ”ƒ   โ”ƒ   โ”ƒ    * @sig Idx -> {s: a} -> a | Undefined
โ”ƒ   โ”ƒ   โ”ƒ    * @param {String|Number} p The property name or array index
โ”ƒ   โ”ƒ   โ”ƒ    * @param {Object} obj The object to query
โ”ƒ   โ”ƒ   โ”ƒ    * @return {*} The value at `obj.p`.
โ”ƒ   โ”ƒ   โ”ƒ    */
โ”ƒ   โ”ƒ   โ”ƒ   var prop = _curry2(function prop(p, obj)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” /**
โ”ƒ   โ”ƒ   โ”ƒ    * Solves equations of the form a * x = b
โ”ƒ   โ”ƒ   โ”ƒ    * @param {{
โ”ƒ   โ”ƒ   โ”ƒ    *  z: number
โ”ƒ   โ”ƒ   โ”ƒ    * }} x
โ”ƒ   โ”ƒ   โ”ƒ    */
โ”ƒ   โ”ƒ   โ”ƒ   function foo(x)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” /**
โ”ƒ   โ”ƒ   โ”ƒ    * Deconstructs an array field from the input documents to output a document for each element.
โ”ƒ   โ”ƒ   โ”ƒ    * Each output document is the input document with the value of the array field replaced by the element.
โ”ƒ   โ”ƒ   โ”ƒ    * @category Object
โ”ƒ   โ”ƒ   โ”ƒ    * @sig String -> {k: [v]} -> [{k: v}]
โ”ƒ   โ”ƒ   โ”ƒ    * @param {String} key The key to determine which property of the object should be unwound.
โ”ƒ   โ”ƒ   โ”ƒ    * @param {Object} object The object containing the list to unwind at the property named by the key.
โ”ƒ   โ”ƒ   โ”ƒ    * @return {List} A list of new objects, each having the given key associated to an item from the unwound list.
โ”ƒ   โ”ƒ   โ”ƒ    */
โ”ƒ   โ”ƒ   โ”ƒ   var unwind = _curry2(function(key, object)
โ”ƒ   โ”ƒ   โ”—โ”โ”   return _map(function(item)
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ tensorflow_flags.h (7,098 tokens, 668 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” TF_DECLARE_FLAG('test_only_experiment_1')
โ”ƒ   โ”ƒ   โ”ฃโ”โ” TF_DECLARE_FLAG('test_only_experiment_2')
โ”ƒ   โ”ƒ   โ”ฃโ”โ” TF_DECLARE_FLAG('enable_nested_function_shape_inference'):
โ”ƒ   โ”ƒ   โ”ƒ     Allow ops such as tf.cond to invoke the ShapeRefiner on their nested functions.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” TF_DECLARE_FLAG('enable_quantized_dtypes_training'):
โ”ƒ   โ”ƒ   โ”ƒ     Set quantized dtypes, like tf.qint8, to be trainable.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” TF_DECLARE_FLAG('graph_building_optimization'):
โ”ƒ   โ”ƒ   โ”ƒ     Optimize graph building for faster tf.function tracing.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” TF_DECLARE_FLAG('saved_model_fingerprinting'):
โ”ƒ   โ”ƒ   โ”ƒ     Add fingerprint to SavedModels.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” TF_DECLARE_FLAG('more_stack_traces'):
โ”ƒ   โ”ƒ   โ”ƒ     Enable experimental code that preserves and propagates graph node stack traces in C++.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” TF_DECLARE_FLAG('publish_function_graphs'):
โ”ƒ   โ”ƒ   โ”ƒ     Enables the publication of partitioned function graphs via StatsPublisherInterface. Disabling this flag can reduce
โ”ƒ   โ”ƒ   โ”ƒ   memory consumption.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” TF_DECLARE_FLAG('enable_aggressive_constant_replication'):
โ”ƒ   โ”ƒ   โ”ƒ     Replicate constants across CPU devices and even for local CPUs within the same task if available.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” TF_DECLARE_FLAG('enable_colocation_key_propagation_in_while_op_lowering'):
โ”ƒ   โ”ƒ   โ”ƒ     If true, colocation key attributes for the ops will be propagated during while op lowering to switch/merge ops.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” Flag('tf_xla_auto_jit'):
โ”ƒ   โ”ƒ   โ”ƒ     Control compilation of operators into XLA computations on CPU and GPU devices.  0 = use ConfigProto setting; -1 = 
โ”ƒ   โ”ƒ   โ”ƒ   off; 1 = on for things very likely to be improved; 2 = on for everything; (experimental) fusible = only for 
โ”ƒ   โ”ƒ   โ”ƒ   Tensorflow operations that XLA knows how to fuse. If set to single-gpu(<N>) then this resolves to <N> for single-GPU
โ”ƒ   โ”ƒ   โ”ƒ   graphs (graphs that have at least one node placed on a GPU and no more than one GPU is in use through the entire 
โ”ƒ   โ”ƒ   โ”ƒ   graph) and 0 otherwise.  Experimental.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” Flag('tf_xla_min_cluster_size'):
โ”ƒ   โ”ƒ   โ”ƒ     Minimum number of operators in an XLA compilation. Ignored for operators placed on an XLA device or operators 
โ”ƒ   โ”ƒ   โ”ƒ   explicitly marked for compilation.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” Flag('tf_xla_max_cluster_size'):
โ”ƒ   โ”ƒ   โ”ƒ     Maximum number of operators in an XLA compilation.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” Flag('tf_xla_cluster_exclude_ops'):
โ”ƒ   โ”ƒ   โ”ƒ     (experimental) Exclude the operations from auto-clustering. If multiple, separate them with commas. Where, 
โ”ƒ   โ”ƒ   โ”ƒ   Some_other_ops.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” Flag('tf_xla_clustering_debug'):
โ”ƒ   โ”ƒ   โ”ƒ     Dump graphs during XLA compilation.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” Flag('tf_xla_cpu_global_jit'):
โ”ƒ   โ”ƒ   โ”ƒ     Enables global JIT compilation for CPU via SessionOptions.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” Flag('tf_xla_clustering_fuel'):
โ”ƒ   โ”ƒ   โ”ƒ     Places an artificial limit on the number of ops marked as eligible for clustering.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” Flag('tf_xla_disable_deadness_safety_checks_for_debugging'):
โ”ƒ   โ”ƒ   โ”ƒ     Disable deadness related safety checks when clustering (this is unsound).
โ”ƒ   โ”ƒ   โ”ฃโ”โ” Flag('tf_xla_disable_resource_variable_safety_checks_for_debugging'):
โ”ƒ   โ”ƒ   โ”ƒ     Disable resource variables related safety checks when clustering (this is unsound).
โ”ƒ   โ”ƒ   โ”ฃโ”โ” Flag('tf_xla_deterministic_cluster_names'):
โ”ƒ   โ”ƒ   โ”ƒ     Causes the function names assigned by auto clustering to be deterministic from run to run.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” Flag('tf_xla_persistent_cache_directory'):
โ”ƒ   โ”ƒ   โ”ƒ     If non-empty, JIT-compiled executables are saved to and loaded from the specified file system directory path. 
โ”ƒ   โ”ƒ   โ”ƒ   Empty by default.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” Flag('tf_xla_persistent_cache_device_types'):
โ”ƒ   โ”ƒ   โ”ƒ     If non-empty, the persistent cache will only be used for the specified devices (comma separated). Each device type
โ”ƒ   โ”ƒ   โ”ƒ   should be able to be converted to.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” Flag('tf_xla_persistent_cache_read_only'):
โ”ƒ   โ”ƒ   โ”ƒ     If true, the persistent cache will be read-only.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” Flag('tf_xla_disable_strict_signature_checks'):
โ”ƒ   โ”ƒ   โ”ƒ     If true, entires loaded into the XLA compile cache will not have their signatures checked strictly. Defaults to 
โ”ƒ   โ”ƒ   โ”ƒ   false.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” Flag('tf_xla_persistent_cache_prefix'):
โ”ƒ   โ”ƒ   โ”ƒ     Specifies the persistance cache prefix. Default is.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” Flag('tf_xla_sparse_core_disable_table_stacking'):
โ”ƒ   โ”ƒ   โ”ƒ     Disable table stacking for all the tables passed to the SparseCore mid level API.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” Flag('tf_xla_sparse_core_minibatch_max_division_level'):
โ”ƒ   โ”ƒ   โ”ƒ     Max level of division to split input data into minibatches.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” Flag('tf_xla_sparse_core_stacking_mem_limit_bytes'):
โ”ƒ   โ”ƒ   โ”ƒ     If non-zero, limits the size of the activations for a given table to be below these many bytes.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” Flag('tf_xla_sparse_core_stacking_table_shard_limit_bytes'):
โ”ƒ   โ”ƒ   โ”ƒ     If non-zero, limits the size of any table shard to be below these many bytes.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” Flag('always_specialize')
โ”ƒ   โ”ƒ   โ”ฃโ”โ” Flag('cost_driven_async_parallel_for')
โ”ƒ   โ”ƒ   โ”ฃโ”โ” Flag('enable_crash_reproducer')
โ”ƒ   โ”ƒ   โ”ฃโ”โ” Flag('log_query_of_death')
โ”ƒ   โ”ƒ   โ”ฃโ”โ” Flag('vectorize')
โ”ƒ   โ”ƒ   โ”ฃโ”โ” Flag('tf_xla_enable_lazy_compilation')
โ”ƒ   โ”ƒ   โ”ฃโ”โ” Flag('tf_xla_print_cluster_outputs'):
โ”ƒ   โ”ƒ   โ”ƒ     If true then insert Print nodes to print out values produced by XLA clusters.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” Flag('tf_xla_check_cluster_input_numerics'):
โ”ƒ   โ”ƒ   โ”ƒ     If true then insert CheckNumerics nodes to check all cluster inputs.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” Flag('tf_xla_check_cluster_output_numerics'):
โ”ƒ   โ”ƒ   โ”ƒ     If true then insert CheckNumerics nodes to check all cluster outputs.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” Flag('tf_xla_disable_constant_folding'):
โ”ƒ   โ”ƒ   โ”ƒ     If true then disables constant folding on TF graph before XLA compilation.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” Flag('tf_xla_disable_full_embedding_pipelining'):
โ”ƒ   โ”ƒ   โ”ƒ     If true then disables full embedding pipelining and instead use strict SparseCore / TensorCore sequencing.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” Flag('tf_xla_embedding_parallel_iterations'):
โ”ƒ   โ”ƒ   โ”ƒ     If >0 then use this many parallel iterations in embedding_pipelining and embedding_sequency. By default, use the 
โ”ƒ   โ”ƒ   โ”ƒ   parallel_iterations on the original model WhileOp.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” Flag('tf_xla_compile_on_demand'):
โ”ƒ   โ”ƒ   โ”ƒ     Switch a device into 'on-demand' mode, where instead of autoclustering ops are compiled one by one just-in-time.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” Flag('tf_xla_enable_xla_devices'):
โ”ƒ   โ”ƒ   โ”ƒ     Generate XLA_* devices, where placing a computation on such a device forces compilation by XLA. Deprecated.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” Flag('tf_xla_always_defer_compilation')
โ”ƒ   โ”ƒ   โ”ฃโ”โ” Flag('tf_xla_async_compilation'):
โ”ƒ   โ”ƒ   โ”ƒ     When lazy compilation is enabled, asynchronous compilation starts the cluster compilation in the background, and 
โ”ƒ   โ”ƒ   โ”ƒ   the fallback path is executed until the compilation has finished.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” Flag('tf_xla_use_device_api_for_xla_launch'):
โ”ƒ   โ”ƒ   โ”ƒ     If true, uses Device API (PjRt) for single device compilation and execution of functions marked for JIT 
โ”ƒ   โ”ƒ   โ”ƒ   compilation i.e. jit_compile=True. Defaults to false.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” Flag('tf_xla_use_device_api_for_compile_on_demand'):
โ”ƒ   โ”ƒ   โ”ƒ     If true, uses Device API (PjRt) for compiling and executing ops one by one in 'on-demand' mode. Defaults to false.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” Flag('tf_xla_use_device_api_for_auto_jit'):
โ”ƒ   โ”ƒ   โ”ƒ     If true, uses Device API (PjRt) for compilation and execution when auto-clustering is enabled. Defaults to false.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” Flag('tf_xla_use_device_api'):
โ”ƒ   โ”ƒ   โ”ƒ     If true, uses Device API (PjRt) for compilation and execution of ops one-by-one in 'on-demand' mode, for functions
โ”ƒ   โ”ƒ   โ”ƒ   marked for JIT compilation, or when auto-clustering is enabled. Defaults to false.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” Flag('tf_xla_enable_device_api_for_gpu'):
โ”ƒ   โ”ƒ   โ”ƒ     If true, uses Device API (PjRt) for TF GPU device. This is a helper flag so that individual tests can turn on PjRt
โ”ƒ   โ”ƒ   โ”ƒ   for GPU specifically.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” Flag('tf_xla_call_module_disabled_checks'):
โ”ƒ   โ”ƒ   โ”ƒ     A comma-sepated list of directives specifying the safety checks to be skipped when compiling XlaCallModuleOp. See 
โ”ƒ   โ”ƒ   โ”ƒ   the op documentation for the recognized values.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” Flag('tf_mlir_enable_mlir_bridge'):
โ”ƒ   โ”ƒ   โ”ƒ     Enables experimental MLIR-Based TensorFlow Compiler Bridge.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” Flag('tf_mlir_enable_merge_control_flow_pass'):
โ”ƒ   โ”ƒ   โ”ƒ     Enables MergeControlFlow pass for MLIR-Based TensorFlow Compiler Bridge.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” Flag('tf_mlir_enable_convert_control_to_data_outputs_pass'):
โ”ƒ   โ”ƒ   โ”ƒ     Enables MLIR-Based TensorFlow Compiler Bridge.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” Flag('tf_mlir_enable_strict_clusters'):
โ”ƒ   โ”ƒ   โ”ƒ     Do not allow clusters that have cyclic control dependencies.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” Flag('tf_mlir_enable_multiple_local_cpu_devices'):
โ”ƒ   โ”ƒ   โ”ƒ     Enable multiple local CPU devices. CPU ops which are outside compiled inside the tpu cluster will also be 
โ”ƒ   โ”ƒ   โ”ƒ   replicated across multiple cpu devices.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” Flag('tf_dump_graphs_in_tfg'):
โ”ƒ   โ”ƒ   โ”ƒ     When tf_dump_graphs_in_tfg is true, graphs after transformations are dumped in MLIR TFG dialect and not in 
โ”ƒ   โ”ƒ   โ”ƒ   GraphDef.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” Flag('tf_mlir_enable_generic_outside_compilation'):
โ”ƒ   โ”ƒ   โ”ƒ     Enables OutsideCompilation passes for MLIR-Based TensorFlow Generic Compiler Bridge.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” Flag('tf_mlir_enable_tpu_variable_runtime_reformatting_pass'):
โ”ƒ   โ”ƒ   โ”ƒ     Enables TPUVariableRuntimeReformatting pass for MLIR-Based TensorFlow Compiler Bridge. This enables weight update 
โ”ƒ   โ”ƒ   โ”ƒ   sharding and creates TPUReshardVariables ops.
โ”ƒ   โ”ƒ   โ”ฃโ”โ” TF_PY_DECLARE_FLAG('test_only_experiment_1')
โ”ƒ   โ”ƒ   โ”ฃโ”โ” TF_PY_DECLARE_FLAG('test_only_experiment_2')
โ”ƒ   โ”ƒ   โ”ฃโ”โ” TF_PY_DECLARE_FLAG('enable_nested_function_shape_inference')
โ”ƒ   โ”ƒ   โ”ฃโ”โ” TF_PY_DECLARE_FLAG('enable_quantized_dtypes_training')
โ”ƒ   โ”ƒ   โ”ฃโ”โ” TF_PY_DECLARE_FLAG('graph_building_optimization')
โ”ƒ   โ”ƒ   โ”ฃโ”โ” TF_PY_DECLARE_FLAG('op_building_optimization')
โ”ƒ   โ”ƒ   โ”ฃโ”โ” TF_PY_DECLARE_FLAG('saved_model_fingerprinting')
โ”ƒ   โ”ƒ   โ”ฃโ”โ” TF_PY_DECLARE_FLAG('tf_shape_default_int64')
โ”ƒ   โ”ƒ   โ”ฃโ”โ” TF_PY_DECLARE_FLAG('more_stack_traces')
โ”ƒ   โ”ƒ   โ”ฃโ”โ” TF_PY_DECLARE_FLAG('publish_function_graphs')
โ”ƒ   โ”ƒ   โ”ฃโ”โ” TF_PY_DECLARE_FLAG('enable_aggressive_constant_replication')
โ”ƒ   โ”ƒ   โ”ฃโ”โ” TF_PY_DECLARE_FLAG('enable_colocation_key_propagation_in_while_op_lowering')
โ”ƒ   โ”ƒ   โ”ฃโ”โ” #define TENSORFLOW_CORE_CONFIG_FLAG_DEFS_H_
โ”ƒ   โ”ƒ   โ”ฃโ”โ” class Flags
โ”ƒ   โ”ƒ   โ”ฃโ”โ” bool SetterForXlaAutoJitFlag(const string& value)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” bool SetterForXlaCallModuleDisabledChecks(const string& value)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” void AppendMarkForCompilationPassFlagsInternal(std::vector<Flag>* flag_list)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” void AllocateAndParseJitRtFlags()
โ”ƒ   โ”ƒ   โ”ฃโ”โ” void AllocateAndParseFlags()
โ”ƒ   โ”ƒ   โ”ฃโ”โ” void ResetFlags()
โ”ƒ   โ”ƒ   โ”ฃโ”โ” bool SetXlaAutoJitFlagFromFlagString(const string& value)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” BuildXlaOpsPassFlags* GetBuildXlaOpsPassFlags()
โ”ƒ   โ”ƒ   โ”ฃโ”โ” MarkForCompilationPassFlags* GetMarkForCompilationPassFlags()
โ”ƒ   โ”ƒ   โ”ฃโ”โ” XlaSparseCoreFlags* GetXlaSparseCoreFlags()
โ”ƒ   โ”ƒ   โ”ฃโ”โ” XlaDeviceFlags* GetXlaDeviceFlags()
โ”ƒ   โ”ƒ   โ”ฃโ”โ” XlaOpsCommonFlags* GetXlaOpsCommonFlags()
โ”ƒ   โ”ƒ   โ”ฃโ”โ” XlaCallModuleFlags* GetXlaCallModuleFlags()
โ”ƒ   โ”ƒ   โ”ฃโ”โ” MlirCommonFlags* GetMlirCommonFlags()
โ”ƒ   โ”ƒ   โ”ฃโ”โ” void ResetJitCompilerFlags()
โ”ƒ   โ”ƒ   โ”ฃโ”โ” const JitRtFlags& GetJitRtFlags()
โ”ƒ   โ”ƒ   โ”ฃโ”โ” ConfigProto::Experimental::MlirBridgeRollout GetMlirBridgeRolloutState(
โ”ƒ   โ”ƒ   โ”ƒ       std::optional<const ConfigProto> config_proto)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” void AppendMarkForCompilationPassFlags(std::vector<Flag>* flag_list)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” void DisableXlaCompilation()
โ”ƒ   โ”ƒ   โ”ฃโ”โ” void EnableXlaCompilation()
โ”ƒ   โ”ƒ   โ”ฃโ”โ” bool FailOnXlaCompilation()
โ”ƒ   โ”ƒ   โ”—โ”โ” #define TF_PY_DECLARE_FLAG(flag_name)
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ test.f (200 tokens, 31 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” MODULE basic_mod
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     TYPE :: person
โ”ƒ   โ”ƒ   โ”ƒ           CHARACTER(LEN=50) :: name
โ”ƒ   โ”ƒ   โ”ƒ           INTEGER :: age
โ”ƒ   โ”ƒ   โ”ƒ       END TYPE person
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     SUBROUTINE short_hello(happy, path)
โ”ƒ   โ”ƒ   โ”ƒ       END SUBROUTINE short_hello
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     SUBROUTINE long_hello(
โ”ƒ   โ”ƒ   โ”ƒ           p,
โ”ƒ   โ”ƒ   โ”ƒ           message
โ”ƒ   โ”ƒ   โ”ƒ       )
โ”ƒ   โ”ƒ   โ”ƒ       END SUBROUTINE long_hello
โ”ƒ   โ”ƒ   โ”ฃโ”โ” END MODULE basic_mod
โ”ƒ   โ”ƒ   โ”—โ”โ” PROGRAM HelloFortran
โ”ƒ   โ”ƒ       END PROGRAM HelloFortran
โ”ƒ   โ”—โ”โ” ๐Ÿ“„ torch.rst (53 tokens, 9 lines)
โ”ƒ       โ”ฃโ”โ” # libtorch (C++-only)
โ”ƒ       โ”—โ”โ” - Building libtorch using Python
โ”—โ”โ” ๐Ÿ“ group_lisp (1 folder, 4 files) 
    โ”ฃโ”โ” ๐Ÿ“„ clojure_test.clj (726 tokens, 86 lines)
    โ”ƒ   โ”ฃโ”โ” defprotocol P
    โ”ƒ   โ”ฃโ”โ” defrecord Person
    โ”ƒ   โ”ฃโ”โ” defn -main
    โ”ƒ   โ”ฃโ”โ” ns bion.likes_trees
    โ”ƒ   โ”ฃโ”โ” def repo-url
    โ”ƒ   โ”ฃโ”โ” defn config
    โ”ƒ   โ”ฃโ”โ” defmacro with-os
    โ”ƒ   โ”—โ”โ” defrecord SetFullElement
    โ”ฃโ”โ” ๐Ÿ“„ LispTest.lisp (31 tokens, 6 lines)
    โ”ƒ   โ”ฃโ”โ” defstruct person
    โ”ƒ   โ”—โ”โ” defun greet
    โ”ฃโ”โ” ๐Ÿ“„ racket_struct.rkt (17 tokens, 2 lines)
    โ”ƒ   โ”—โ”โ” struct point
    โ”—โ”โ” ๐Ÿ“„ test_scheme.scm (389 tokens, 45 lines)
        โ”ฃโ”โ” define topological-sort
        โ”ฃโ”โ”   define table
        โ”ฃโ”โ”   define queue
        โ”ฃโ”โ”   define result
        โ”ฃโ”โ”   define set-up
        โ”—โ”โ”   define traverse

tree_plus v(1.0.36) ignore=('group_todo',) globs=() syntax=False paths=('tests/more_languages',)
8 folder(s), 75 file(s), 6,434 line(s), 48,517 token(s) in 0.49 second(s).

Got Globs?

tree_plus -g "*.*s" -i group_todo tests/more_languages
๐Ÿ“ more_languages (6 folders, 16 files) 
โ”ฃโ”โ” ๐Ÿ“ group1 (1 folder, 2 files) 
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ test.js (755 tokens, 154 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” class MyClass
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   myMethod()
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   async asyncMethod(a, b)
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   methodWithDefaultParameters(a = 5, b = 10)
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   multilineMethod(
โ”ƒ   โ”ƒ   โ”ƒ       c,
โ”ƒ   โ”ƒ   โ”ƒ       d
โ”ƒ   โ”ƒ   โ”ƒ     )
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   multilineMethodWithDefaults(
โ”ƒ   โ”ƒ   โ”ƒ       t = "tree",
โ”ƒ   โ”ƒ   โ”ƒ       p = "plus"
โ”ƒ   โ”ƒ   โ”ƒ     )
โ”ƒ   โ”ƒ   โ”ฃโ”โ” function myFunction(param1, param2)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” function multilineFunction(
โ”ƒ   โ”ƒ   โ”ƒ     param1,
โ”ƒ   โ”ƒ   โ”ƒ     param2
โ”ƒ   โ”ƒ   โ”ƒ   )
โ”ƒ   โ”ƒ   โ”ฃโ”โ” const arrowFunction = () =>
โ”ƒ   โ”ƒ   โ”ฃโ”โ” const parametricArrow = (a, b) =>
โ”ƒ   โ”ƒ   โ”ฃโ”โ” function ()
โ”ƒ   โ”ƒ   โ”ฃโ”โ” function outerFunction(outerParam)
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   function innerFunction(innerParam)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” const myObject = {
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   myMethod: function (stuff)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” let myArrowObject = {
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   myArrow: ({
โ”ƒ   โ”ƒ   โ”ƒ       a,
โ”ƒ   โ”ƒ   โ”ƒ       b,
โ”ƒ   โ”ƒ   โ”ƒ       c,
โ”ƒ   โ”ƒ   โ”ƒ     }) =>
โ”ƒ   โ”ƒ   โ”ฃโ”โ” const myAsyncArrowFunction = async () =>
โ”ƒ   โ”ƒ   โ”ฃโ”โ” function functionWithRestParameters(...args)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” const namedFunctionExpression = function myNamedFunction()
โ”ƒ   โ”ƒ   โ”ฃโ”โ” const multilineArrowFunction = (
โ”ƒ   โ”ƒ   โ”ƒ     a,
โ”ƒ   โ”ƒ   โ”ƒ     b
โ”ƒ   โ”ƒ   โ”ƒ   ) =>
โ”ƒ   โ”ƒ   โ”ฃโ”โ” function functionReturningFunction()
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   return function ()
โ”ƒ   โ”ƒ   โ”ฃโ”โ” function destructuringOnMultipleLines({
โ”ƒ   โ”ƒ   โ”ƒ     a,
โ”ƒ   โ”ƒ   โ”ƒ     b,
โ”ƒ   โ”ƒ   โ”ƒ   })
โ”ƒ   โ”ƒ   โ”ฃโ”โ” const arrowFunctionWithDestructuring = ({ a, b }) =>
โ”ƒ   โ”ƒ   โ”ฃโ”โ” const multilineDestructuringArrow = ({
โ”ƒ   โ”ƒ   โ”ƒ     a,
โ”ƒ   โ”ƒ   โ”ƒ     b,
โ”ƒ   โ”ƒ   โ”ƒ   }) =>
โ”ƒ   โ”ƒ   โ”ฃโ”โ” async function asyncFunctionWithErrorHandling()
โ”ƒ   โ”ƒ   โ”ฃโ”โ” class Car
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   constructor(brand)
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   present()
โ”ƒ   โ”ƒ   โ”ฃโ”โ” class Model extends Car
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   constructor(brand, mod)
โ”ƒ   โ”ƒ   โ”—โ”โ”   show()
โ”ƒ   โ”—โ”โ” ๐Ÿ“„ test.ts (871 tokens, 166 lines)
โ”ƒ       โ”ฃโ”โ” type MyType
โ”ƒ       โ”ฃโ”โ” interface MyInterface
โ”ƒ       โ”ฃโ”โ” class TsClass
โ”ƒ       โ”ฃโ”โ”   myMethod()
โ”ƒ       โ”ฃโ”โ”   myMethodWithArgs(param1: string, param2: number): void
โ”ƒ       โ”ฃโ”โ”   static myStaticMethod<T>(param: T): T
โ”ƒ       โ”ฃโ”โ”   multilineMethod(
โ”ƒ       โ”ƒ       c: number,
โ”ƒ       โ”ƒ       d: number
โ”ƒ       โ”ƒ     ): number
โ”ƒ       โ”ฃโ”โ”   multilineMethodWithDefaults(
โ”ƒ       โ”ƒ       t: string = "tree",
โ”ƒ       โ”ƒ       p: string = "plus"
โ”ƒ       โ”ƒ     ): string
โ”ƒ       โ”ฃโ”โ” export class AdvancedComponent implements MyInterface
โ”ƒ       โ”ฃโ”โ”   async myAsyncMethod(
โ”ƒ       โ”ƒ       a: string,
โ”ƒ       โ”ƒ       b: number,
โ”ƒ       โ”ƒ       c: string
โ”ƒ       โ”ƒ     ): Promise<void>
โ”ƒ       โ”ฃโ”โ”   genericMethod<T, U>(
โ”ƒ       โ”ƒ       arg1: T,
โ”ƒ       โ”ƒ       arg2: U
โ”ƒ       โ”ƒ     ): [T, U]
โ”ƒ       โ”ฃโ”โ” export class TicketsComponent implements MyInterface
โ”ƒ       โ”ฃโ”โ”   async myAsyncMethod({ a, b, c }: { a: String; b: Number; c: String })
โ”ƒ       โ”ฃโ”โ” function tsFunction()
โ”ƒ       โ”ฃโ”โ” function tsFunctionSigned(
โ”ƒ       โ”ƒ     param1: number,
โ”ƒ       โ”ƒ     param2: number
โ”ƒ       โ”ƒ   ): void
โ”ƒ       โ”ฃโ”โ” export default async function tsFunctionComplicated<A, B, C>({
โ”ƒ       โ”ƒ     a = 1 | 2,
โ”ƒ       โ”ƒ     b = "bob",
โ”ƒ       โ”ƒ     c = async () => "charlie",
โ”ƒ       โ”ƒ   }: {
โ”ƒ       โ”ƒ     a: number;
โ”ƒ       โ”ƒ     b: string;
โ”ƒ       โ”ƒ     c: () => Promise<string>;
โ”ƒ       โ”ƒ   }): Promise<string>
โ”ƒ       โ”ฃโ”โ” const tsArrowFunctionSigned = ({
โ”ƒ       โ”ƒ     a,
โ”ƒ       โ”ƒ     b,
โ”ƒ       โ”ƒ   }: {
โ”ƒ       โ”ƒ     a: number;
โ”ƒ       โ”ƒ     b: string;
โ”ƒ       โ”ƒ   }) =>
โ”ƒ       โ”ฃโ”โ” export const tsComplicatedArrow = async ({
โ”ƒ       โ”ƒ     a = 1 | 2,
โ”ƒ       โ”ƒ     b = "bob",
โ”ƒ       โ”ƒ     c = async () => "charlie",
โ”ƒ       โ”ƒ   }: {
โ”ƒ       โ”ƒ     a: number;
โ”ƒ       โ”ƒ     b: string;
โ”ƒ       โ”ƒ     c: () => Promise<string>;
โ”ƒ       โ”ƒ   }): Promise<string> =>
โ”ƒ       โ”ฃโ”โ” const arrowFunction = () =>
โ”ƒ       โ”ฃโ”โ” const arrow = (a: String, b: Number) =>
โ”ƒ       โ”ฃโ”โ” const asyncArrowFunction = async () =>
โ”ƒ       โ”ฃโ”โ” const asyncArrow = async (a: String, b: Number) =>
โ”ƒ       โ”ฃโ”โ” let weirdArrow = () =>
โ”ƒ       โ”ฃโ”โ” const asyncPromiseArrow = async (): Promise<void> =>
โ”ƒ       โ”ฃโ”โ” let myWeirdArrowSigned = (x: number): number =>
โ”ƒ       โ”ฃโ”โ” class Person
โ”ƒ       โ”ฃโ”โ”   constructor(private firstName: string, private lastName: string)
โ”ƒ       โ”ฃโ”โ”   getFullName(): string
โ”ƒ       โ”ฃโ”โ”   describe(): string
โ”ƒ       โ”ฃโ”โ” class Employee extends Person
โ”ƒ       โ”ฃโ”โ”   constructor(
โ”ƒ       โ”ƒ       firstName: string,
โ”ƒ       โ”ƒ       lastName: string,
โ”ƒ       โ”ƒ       private jobTitle: string
โ”ƒ       โ”ƒ     )
โ”ƒ       โ”ฃโ”โ”   describe(): string
โ”ƒ       โ”ฃโ”โ” interface Shape
โ”ƒ       โ”—โ”โ” interface Square extends Shape
โ”ฃโ”โ” ๐Ÿ“ group3 (1 folder, 1 file) 
โ”ƒ   โ”—โ”โ” ๐Ÿ“„ csharp_test.cs (850 tokens, 147 lines)
โ”ƒ       โ”ฃโ”โ” public interface IExcelTemplate
โ”ƒ       โ”ฃโ”โ”     void LoadTemplate(string templateFilePath)
โ”ƒ       โ”ฃโ”โ”     void LoadData(Dictionary<string, string> data)
โ”ƒ       โ”ฃโ”โ”     void ModifyCell(string cellName, string value)
โ”ƒ       โ”ฃโ”โ”     void SaveToFile(string filePath)
โ”ƒ       โ”ฃโ”โ” public interface IGreet
โ”ƒ       โ”ฃโ”โ”     void Greet()
โ”ƒ       โ”ฃโ”โ” public enum WeekDays
โ”ƒ       โ”ฃโ”โ” public delegate void DisplayMessage(string message)
โ”ƒ       โ”ฃโ”โ” public struct Address
โ”ƒ       โ”ฃโ”โ” public static class HelperFunctions
โ”ƒ       โ”ฃโ”โ”     public static void PrintMessage(string message)
โ”ƒ       โ”ฃโ”โ”     public static int AddNumbers(int a, int b)
โ”ƒ       โ”ฃโ”โ” namespace HelloWorldApp
โ”ƒ       โ”ฃโ”โ”     class Person : IGreet
โ”ƒ       โ”ฃโ”โ”         public Person(string name, int age)
โ”ƒ       โ”ฃโ”โ”         public void Greet()
โ”ƒ       โ”ฃโ”โ”     class HelloWorld
โ”ƒ       โ”ฃโ”โ”         static void Main(string[] args)
โ”ƒ       โ”ฃโ”โ” namespace TemplateToExcelServer.Template
โ”ƒ       โ”ฃโ”โ”     public interface ITemplateObject
โ”ƒ       โ”ฃโ”โ”         string[,] GetContent()
โ”ƒ       โ”ฃโ”โ”         string[] GetContentArray()
โ”ƒ       โ”ฃโ”โ”         string[] GetFormat()
โ”ƒ       โ”ฃโ”โ”         int? GetFormatLength()
โ”ƒ       โ”ฃโ”โ”         TemplateObject SetContent(string[,] Content)
โ”ƒ       โ”ฃโ”โ”         TemplateObject SetContentArray(string[] value)
โ”ƒ       โ”ฃโ”โ”         TemplateObject SetFormat(string[] Header)
โ”ƒ       โ”ฃโ”โ”         TemplateObject SetNameOfReport(
โ”ƒ       โ”ƒ               ReadOnlyMemory<byte> ReportName,
โ”ƒ       โ”ƒ               int[] EdgeCase)
โ”ƒ       โ”ฃโ”โ”         TemplateObject SetSheetName(ReadOnlyMemory<byte> SheetName)
โ”ƒ       โ”ฃโ”โ” public class BankAccount(string accountID, string owner)
โ”ƒ       โ”ฃโ”โ”     public override string ToString() =>
โ”ƒ       โ”ฃโ”โ” var IncrementBy = (int source, int increment = 1) =>
โ”ƒ       โ”ฃโ”โ” Func<int, int, int> add = (x, y) =>
โ”ƒ       โ”ฃโ”โ” button.Click += (sender, args) =>
โ”ƒ       โ”ฃโ”โ” public Func<int, int> GetMultiplier(int factor)
โ”ƒ       โ”ฃโ”โ” public void Method(
โ”ƒ       โ”ƒ           int param1,
โ”ƒ       โ”ƒ           int param2,
โ”ƒ       โ”ƒ           int param3,
โ”ƒ       โ”ƒ           int param4,
โ”ƒ       โ”ƒ           int param5,
โ”ƒ       โ”ƒ           int param6,
โ”ƒ       โ”ƒ       )
โ”ƒ       โ”ฃโ”โ” System.Net.ServicePointManager.ServerCertificateValidationCallback +=
โ”ƒ       โ”ƒ       (se, cert, chain, sslerror) =>
โ”ƒ       โ”ฃโ”โ” class ServerCertificateValidation
โ”ƒ       โ”ฃโ”โ”     public bool OnRemoteCertificateValidation(
โ”ƒ       โ”ƒ           object se,
โ”ƒ       โ”ƒ           X509Certificate cert,
โ”ƒ       โ”ƒ           X509Chain chain,
โ”ƒ       โ”ƒ           SslPolicyErrors sslerror
โ”ƒ       โ”ƒ       )
โ”ƒ       โ”ฃโ”โ” s_downloadButton.Clicked += async (o, e) =>
โ”ƒ       โ”ฃโ”โ” [HttpGet, Route("DotNetCount")]
โ”ƒ       โ”—โ”โ” static public async Task<int> GetDotNetCount(string URL)
โ”ฃโ”โ” ๐Ÿ“ group4 (1 folder, 3 files) 
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ haskell_test.hs (373 tokens, 41 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” data Person
โ”ƒ   โ”ƒ   โ”ฃโ”โ” greet :: Person -> String
โ”ƒ   โ”ƒ   โ”—โ”โ” resolveVariables ::
โ”ƒ   โ”ƒ         forall m fragments.
โ”ƒ   โ”ƒ         (MonadError QErr m, Traversable fragments) =>
โ”ƒ   โ”ƒ         Options.BackwardsCompatibleNullInNonNullableVariables ->
โ”ƒ   โ”ƒ         [G.VariableDefinition] ->
โ”ƒ   โ”ƒ         GH.VariableValues ->
โ”ƒ   โ”ƒ         [G.Directive G.Name] ->
โ”ƒ   โ”ƒ         G.SelectionSet fragments G.Name ->
โ”ƒ   โ”ƒ         m
โ”ƒ   โ”ƒ           ( [G.Directive Variable],
โ”ƒ   โ”ƒ             G.SelectionSet fragments Variable
โ”ƒ   โ”ƒ           )
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ rust_test.rs (932 tokens, 166 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” enum Days
โ”ƒ   โ”ƒ   โ”ฃโ”โ” struct Point
โ”ƒ   โ”ƒ   โ”ฃโ”โ” impl Point
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     fn get_origin() -> Point
โ”ƒ   โ”ƒ   โ”ฃโ”โ” struct Person
โ”ƒ   โ”ƒ   โ”ฃโ”โ” impl Person
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     fn greet(&self)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” fn add_two_longs(x1: i64, x2: i64) -> i64
โ”ƒ   โ”ƒ   โ”ฃโ”โ” fn add_two_longs_longer(
โ”ƒ   โ”ƒ   โ”ƒ       x1: i64,
โ”ƒ   โ”ƒ   โ”ƒ       x2: i64,
โ”ƒ   โ”ƒ   โ”ƒ   ) -> i64
โ”ƒ   โ”ƒ   โ”ฃโ”โ” fn multiply_by_two(num: f64) -> f64
โ”ƒ   โ”ƒ   โ”ฃโ”โ” fn get_first_character(s: &str) -> Option<char>
โ”ƒ   โ”ƒ   โ”ฃโ”โ” trait Drawable
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     fn draw(&self)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” impl Drawable for Point
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     fn draw(&self)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” fn main()
โ”ƒ   โ”ƒ   โ”ฃโ”โ” pub struct VisibleStruct
โ”ƒ   โ”ƒ   โ”ฃโ”โ” mod my_module
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     pub struct AlsoVisibleStruct<T>(T, T)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” macro_rules! say_hello
โ”ƒ   โ”ƒ   โ”ฃโ”โ” #[macro_export]
โ”ƒ   โ”ƒ   โ”ƒ   macro_rules! hello_tree_plus
โ”ƒ   โ”ƒ   โ”ฃโ”โ” pub mod lib
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     pub mod interfaces
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     mod engine
โ”ƒ   โ”ƒ   โ”ฃโ”โ” pub fn flow<S1, S2, S3, S4, E, T, L>(
โ”ƒ   โ”ƒ   โ”ƒ       source: S1,
โ”ƒ   โ”ƒ   โ”ƒ       extractor: E, 
โ”ƒ   โ”ƒ   โ”ƒ       inbox: S2, 
โ”ƒ   โ”ƒ   โ”ƒ       transformer: T, 
โ”ƒ   โ”ƒ   โ”ƒ       outbox: S3, 
โ”ƒ   โ”ƒ   โ”ƒ       loader: L, 
โ”ƒ   โ”ƒ   โ”ƒ       sink: &mut S4,
โ”ƒ   โ”ƒ   โ”ƒ   ) -> Result<(), Box<dyn Error>>
โ”ƒ   โ”ƒ   โ”ƒ   where
โ”ƒ   โ”ƒ   โ”ƒ       S1: Extractable,
โ”ƒ   โ”ƒ   โ”ƒ       S2: Extractable + Loadable,
โ”ƒ   โ”ƒ   โ”ƒ       S3: Extractable + Loadable,
โ”ƒ   โ”ƒ   โ”ƒ       S4: Loadable,
โ”ƒ   โ”ƒ   โ”ƒ       E: Extractor<S1, S2>,
โ”ƒ   โ”ƒ   โ”ƒ       T: Transformer<S2, S3>,
โ”ƒ   โ”ƒ   โ”ƒ       L: Loader<S3, S4>
โ”ƒ   โ”ƒ   โ”ฃโ”โ” trait Container
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     fn items(&self) -> impl Iterator<Item = Widget>
โ”ƒ   โ”ƒ   โ”ฃโ”โ” trait HttpService
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     async fn fetch(&self, url: Url) -> HtmlBody
โ”ƒ   โ”ƒ   โ”ฃโ”โ” struct Pair<T, U>
โ”ƒ   โ”ƒ   โ”ฃโ”โ” trait Transformer<T>
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     fn transform(&self, input: T) -> T
โ”ƒ   โ”ƒ   โ”ฃโ”โ” impl<T: std::ops::Add<Output = T> + Copy> Transformer<T> for Pair<T, T>
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     fn transform(&self, input: T) -> T
โ”ƒ   โ”ƒ   โ”ฃโ”โ” fn main()
โ”ƒ   โ”ƒ   โ”—โ”โ” async fn handle_get(State(pool): State<PgPool>) -> Result<Html<String>, (StatusCode, String)> 
โ”ƒ   โ”ƒ       where
โ”ƒ   โ”ƒ           Bion: Cool
โ”ƒ   โ”—โ”โ” ๐Ÿ“„ test_fsharp.fs (127 tokens, 27 lines)
โ”ƒ       โ”ฃโ”โ” module TestFSharp
โ”ƒ       โ”ฃโ”โ” type Person = {
โ”ƒ       โ”ฃโ”โ” let add x y =
โ”ƒ       โ”ฃโ”โ” let multiply 
โ”ƒ       โ”ƒ       (x: int) 
โ”ƒ       โ”ƒ       (y: int): int =
โ”ƒ       โ”ฃโ”โ” let complexFunction
โ”ƒ       โ”ƒ       (a: int)
โ”ƒ       โ”ƒ       (b: string)
โ”ƒ       โ”ƒ       (c: float)
โ”ƒ       โ”ƒ       : (int * string) option =
โ”ƒ       โ”—โ”โ” type Result<'T> =
โ”ฃโ”โ” ๐Ÿ“ group5 (1 folder, 8 files) 
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ app-routing.module.ts (242 tokens, 28 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” const routes: Routes = [
โ”ƒ   โ”ƒ   โ”ƒ       { path: '', redirectTo: 'login', pathMatch: 'full' },
โ”ƒ   โ”ƒ   โ”ƒ       { path: '*', redirectTo: 'login' },
โ”ƒ   โ”ƒ   โ”ƒ       { path: 'home', component: HomeComponent },
โ”ƒ   โ”ƒ   โ”ƒ       { path: 'login', component: LoginComponent },
โ”ƒ   โ”ƒ   โ”ƒ       { path: 'register', component: RegisterComponent },
โ”ƒ   โ”ƒ   โ”ƒ       { path: 'events', component: EventsComponent },
โ”ƒ   โ”ƒ   โ”ƒ       { path: 'invites', component: InvitesComponent },
โ”ƒ   โ”ƒ   โ”ƒ       { path: 'rewards', component: RewardsComponent },
โ”ƒ   โ”ƒ   โ”ƒ       { path: 'profile', component: ProfileComponent },
โ”ƒ   โ”ƒ   โ”ƒ   ];
โ”ƒ   โ”ƒ   โ”—โ”โ” export class AppRoutingModule
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ app.component.spec.ts (307 tokens, 48 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” describe 'AppComponent'
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     it should create the app
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     it should welcome the user
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     it should welcome 'Jimbo'
โ”ƒ   โ”ƒ   โ”—โ”โ”     it should request login if not logged in
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ app.component.ts (243 tokens, 45 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” export class AppComponent
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   constructor(private loginService: LoginService)
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   checkSession()
โ”ƒ   โ”ƒ   โ”ฃโ”โ”   async goToEvent(event_id: string)
โ”ƒ   โ”ƒ   โ”—โ”โ”   valInvitedBy(event: any, event_id: string)
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ app.module.ts (269 tokens, 43 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” @NgModule({
โ”ƒ   โ”ƒ   โ”ƒ       declarations: [
โ”ƒ   โ”ƒ   โ”ƒ           AppComponent,
โ”ƒ   โ”ƒ   โ”ƒ           HomeComponent,
โ”ƒ   โ”ƒ   โ”ƒ           LoginComponent,
โ”ƒ   โ”ƒ   โ”ƒ           RegisterComponent,
โ”ƒ   โ”ƒ   โ”ƒ           EventsComponent,
โ”ƒ   โ”ƒ   โ”ƒ           InvitesComponent,
โ”ƒ   โ”ƒ   โ”ƒ           RewardsComponent,
โ”ƒ   โ”ƒ   โ”ƒ           ProfileComponent
โ”ƒ   โ”ƒ   โ”—โ”โ” export class AppModule
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ environment.test.ts (193 tokens, 19 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” environment:
โ”ƒ   โ”ƒ   โ”ฃโ”โ”    production
โ”ƒ   โ”ƒ   โ”ฃโ”โ”    cognitoUserPoolId
โ”ƒ   โ”ƒ   โ”ฃโ”โ”    cognitoAppClientId
โ”ƒ   โ”ƒ   โ”—โ”โ”    apiurl
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ rust_todo_test.rs (109 tokens, 27 lines)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” TODO (Line 23): This todo tests parse_todo
โ”ƒ   โ”ƒ   โ”ฃโ”โ” enum Color
โ”ƒ   โ”ƒ   โ”ฃโ”โ” struct Point
โ”ƒ   โ”ƒ   โ”ฃโ”โ” trait Drawable
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     fn draw(&self)
โ”ƒ   โ”ƒ   โ”ฃโ”โ” impl Drawable for Point
โ”ƒ   โ”ƒ   โ”ฃโ”โ”     fn draw(&self)
โ”ƒ   โ”ƒ   โ”—โ”โ” fn main()
โ”ƒ   โ”ฃโ”โ” ๐Ÿ“„ standard-app-routing.module.ts (93 tokens, 17 lines)
โ”ƒ   โ”ƒ   โ”—โ”โ” const routes: Routes = [
โ”ƒ   โ”ƒ         { path: '', component: HomeComponent },
โ”ƒ   โ”ƒ         {
โ”ƒ   โ”ƒ           path: 'heroes',
โ”ƒ   โ”ƒ           component: HeroesListComponent,
โ”ƒ   โ”ƒ           children: [
โ”ƒ   โ”ƒ             { path: ':id', component: HeroDetailComponent },
โ”ƒ   โ”ƒ             { path: 'new', component: HeroFormComponent },
โ”ƒ   โ”ƒ           ],
โ”ƒ   โ”ƒ         },
โ”ƒ   โ”ƒ         { path: '**', component: PageNotFoundComponent },
โ”ƒ   โ”ƒ       ];
โ”ƒ   โ”—โ”โ” ๐Ÿ“„ tickets.component.ts (6,950 tokens, 903 lines)
โ”ƒ       โ”ฃโ”โ” interface EnrichedTicket extends Ticket
โ”ƒ       โ”ฃโ”โ” interface SpinConfig
โ”ƒ       โ”ฃโ”โ” interface RotationState
โ”ƒ       โ”ฃโ”โ” interface SpeakInput
โ”ƒ       โ”ฃโ”โ” const formatSpeakInput = (input: SpeakInput): string =>
โ”ƒ       โ”ฃโ”โ” function hourToSpeech(hour: number, minute: number, period: string): string
โ”ƒ       โ”ฃโ”โ” export class TicketsComponent implements AfterViewInit
โ”ƒ       โ”ฃโ”โ”   speak(input: SpeakInput)
โ”ƒ       โ”ฃโ”โ”   speakEvent(ticket: EnrichedTicket): void
โ”ƒ       โ”ฃโ”โ”   formatEvent(ticket: EnrichedTicket): string
โ”ƒ       โ”ฃโ”โ”   speakVenue(ticket: EnrichedTicket): void
โ”ƒ       โ”ฃโ”โ”   formatDate(date: Date, oneLiner: boolean = false): string
โ”ƒ       โ”ฃโ”โ”   formatDateForSpeech(date: Date): string
โ”ƒ       โ”ฃโ”โ”   async spinQRCode(
โ”ƒ       โ”ƒ       event: PointerEvent,
โ”ƒ       โ”ƒ       config: SpinConfig = DEFAULT_SPIN_CONFIG
โ”ƒ       โ”ƒ     )
โ”ƒ       โ”ฃโ”โ”   private animateRotation(
โ”ƒ       โ”ƒ       imgElement: HTMLElement,
โ”ƒ       โ”ƒ       targetRotation: number,
โ”ƒ       โ”ƒ       config: SpinConfig,
โ”ƒ       โ”ƒ       cleanup: () => void
โ”ƒ       โ”ƒ     )
โ”ƒ       โ”ฃโ”โ”     const animate = (currentTime: number) =>
โ”ƒ       โ”ฃโ”โ”   private getNext90Degree(currentRotation: number): number
โ”ƒ       โ”ฃโ”โ”   private getCurrentRotation(matrix: string): number
โ”ƒ       โ”ฃโ”โ”   ngAfterViewInit()
โ”ƒ       โ”ฃโ”โ”       const mouseEnterListener = () =>
โ”ƒ       โ”ฃโ”โ”       const mouseLeaveListener = () =>
โ”ƒ       โ”ฃโ”โ”   ngOnDestroy()
โ”ƒ       โ”ฃโ”โ”   toggleColumn(event: MatOptionSelectionChange, column: string)
โ”ƒ       โ”ฃโ”โ”   adjustColumns(event?: Event)
โ”ƒ       โ”ฃโ”โ”   onResize(event: Event)
โ”ƒ       โ”ฃโ”โ”   async ngOnInit()
โ”ƒ       โ”ฃโ”โ”   async loadTickets(): Promise<void>
โ”ƒ       โ”ฃโ”โ”   onDateRangeChange(
โ”ƒ       โ”ƒ       type: "start" | "end",
โ”ƒ       โ”ƒ       event: MatDatepickerInputEvent<Date>
โ”ƒ       โ”ƒ     )
โ”ƒ       โ”ฃโ”โ”   applyFilter(column: string): void
โ”ƒ       โ”ฃโ”โ”   formatDateForComparison(date: Date): string
โ”ƒ       โ”ฃโ”โ”   constructor(private renderer: Renderer2)
โ”ƒ       โ”ฃโ”โ”   onFilterChange(event: Event, column: string)
โ”ƒ       โ”ฃโ”โ”   onLatitudeChange(event: Event)
โ”ƒ       โ”ฃโ”โ”   onLongitudeChange(event: Event)
โ”ƒ       โ”ฃโ”โ”   onRadiusChange(event: Event)
โ”ƒ       โ”ฃโ”โ”   sortData(sort: Sort): void
โ”ƒ       โ”ฃโ”โ”   onRowClick(event: Event, row: any)
โ”ƒ       โ”ฃโ”โ” function isDate(value: Date | undefined | null): value is Date
โ”ƒ       โ”ฃโ”โ” function isNonNullNumber(value: number | null): value is number
โ”ƒ       โ”ฃโ”โ” function hasLocation(
โ”ƒ       โ”ƒ     ticket: any
โ”ƒ       โ”ƒ   ): ticket is
โ”ƒ       โ”ฃโ”โ” const create_faker_ticket = async () =>
โ”ƒ       โ”ฃโ”โ” function compare(a: number | string, b: number | string, isAsc: boolean)
โ”ƒ       โ”ฃโ”โ” function compare_dates(a: Date, b: Date, isAsc: boolean)
โ”ƒ       โ”ฃโ”โ” async function mockMoreTickets(): Promise<Ticket[]>
โ”ƒ       โ”ฃโ”โ” const mockTickets = async () =>
โ”ƒ       โ”—โ”โ” const renderQRCode = async (text: String): Promise<string> =>
โ”—โ”โ” ๐Ÿ“ group6 (1 folder, 2 files) 
    โ”ฃโ”โ” ๐Ÿ“„ ramda__cloneRegExp.js (105 tokens, 9 lines)
    โ”ƒ   โ”—โ”โ” export default function _cloneRegExp(pattern)
    โ”—โ”โ” ๐Ÿ“„ ramda_prop.js (747 tokens, 86 lines)
        โ”ฃโ”โ” /**
        โ”ƒ    * Returns a function that when supplied an object returns the indicated
        โ”ƒ    * property of that object, if it exists.
        โ”ƒ    * @category Object
        โ”ƒ    * @typedefn Idx = String | Int | Symbol
        โ”ƒ    * @sig Idx -> {s: a} -> a | Undefined
        โ”ƒ    * @param {String|Number} p The property name or array index
        โ”ƒ    * @param {Object} obj The object to query
        โ”ƒ    * @return {*} The value at `obj.p`.
        โ”ƒ    */
        โ”ƒ   var prop = _curry2(function prop(p, obj)
        โ”ฃโ”โ” /**
        โ”ƒ    * Solves equations of the form a * x = b
        โ”ƒ    * @param {{
        โ”ƒ    *  z: number
        โ”ƒ    * }} x
        โ”ƒ    */
        โ”ƒ   function foo(x)
        โ”ฃโ”โ” /**
        โ”ƒ    * Deconstructs an array field from the input documents to output a document for each element.
        โ”ƒ    * Each output document is the input document with the value of the array field replaced by the element.
        โ”ƒ    * @category Object
        โ”ƒ    * @sig String -> {k: [v]} -> [{k: v}]
        โ”ƒ    * @param {String} key The key to determine which property of the object should be unwound.
        โ”ƒ    * @param {Object} object The object containing the list to unwind at the property named by the key.
        โ”ƒ    * @return {List} A list of new objects, each having the given key associated to an item from the unwound list.
        โ”ƒ    */
        โ”ƒ   var unwind = _curry2(function(key, object)
        โ”—โ”โ”   return _map(function(item)

tree_plus v(1.0.36) ignore=('group_todo',) globs=('*.*s',) syntax=False paths=('tests/more_languages',)
6 folder(s), 16 file(s), 1,926 line(s), 13,166 token(s) in 0.14 second(s).

Languages Todo:

Help me add to and priorize this list of languages to support!

tree_plus tests/more_languages/group_todo
๐Ÿ“ group_todo (1 folder, 8 files) 
โ”ฃโ”โ” ๐Ÿ“„ crystal_test.cr (56 tokens, 15 lines)
โ”ฃโ”โ” ๐Ÿ“„ dart_test.dart (106 tokens, 24 lines)
โ”ฃโ”โ” ๐Ÿ“„ elixir_test.exs (49 tokens, 10 lines)
โ”ฃโ”โ” ๐Ÿ“„ nodemon.json (120 tokens, 21 lines)
โ”ฃโ”โ” ๐Ÿ“„ sas_test.sas (104 tokens, 22 lines)
โ”ฃโ”โ” ๐Ÿ“„ test_setup_py.test (118 tokens, 24 lines)
โ”ฃโ”โ” ๐Ÿ“„ testTypings.d.ts (149 tokens, 23 lines)
โ”—โ”โ” ๐Ÿ“„ vba_test.bas (72 tokens, 16 lines)

tree_plus v(1.0.36) ignore=() globs=() syntax=False paths=('tests/more_languages/group_todo',)
1 folder(s), 8 file(s), 155 line(s), 774 token(s) in 0.02 second(s).

Oppose Unfair Business Practices

Please consider contacting the authorities to report the issue described in this document:

California OpenAI Complaint - Customer Noncompete Clause

Remember: Your Voice Matters!

License

MIT or Apache 2.0, at your option.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tree_plus-1.0.36.tar.gz (165.7 kB view hashes)

Uploaded Source

Built Distribution

tree_plus-1.0.36-py3-none-any.whl (75.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page