Name | tree-plus JSON |
Version |
1.0.35
JSON |
| download |
home_page | None |
Summary | A `tree` util enhanced with tokens, lines, and components. |
upload_time | 2024-03-21 18:15:19 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.8 |
license | None |
keywords |
tree
util
cli
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# Tree Plus
**A `tree` util enhanced with tokens, lines, and components. Why? To see the big picture!**
[![License](https://img.shields.io/badge/license-MIT%2FApache--2.0-brightgreen)](https://choosealicense.com/licenses/)
[![Docs](https://img.shields.io/badge/docs-README-blue)](https://github.com/bionicles/tree_plus/blob/main/README.md)
[![Linux & MacOS](https://github.com/bionicles/tree_plus/actions/workflows/unix.yml/badge.svg)](https://github.com/bionicles/tree_plus/actions/workflows/unix.yml)
[![Microsoft](https://github.com/bionicles/tree_plus/actions/workflows/microsoft.yml/badge.svg)](https://github.com/bionicles/tree_plus/actions/workflows/microsoft.yml)
**Supported Python Versions:**
![Python 3.8](https://img.shields.io/badge/Python-3.8-blue)
![Python 3.9](https://img.shields.io/badge/Python-3.9-blue)
![Python 3.10](https://img.shields.io/badge/Python-3.10-blue)
![Python 3.11](https://img.shields.io/badge/Python-3.11-blue)
![Python 3.12](https://img.shields.io/badge/Python-3.12-blue)
**Supported Operating Systems:**
![Ubuntu](https://img.shields.io/badge/Supports-Ubuntu-orange)
![MacOS](https://img.shields.io/badge/Supports-MacOS-orange)
![Windows](https://img.shields.io/badge/Supports-Windows-orange)
**Support Free, Open-Source Software:**
[![Support Tree Plus](https://img.shields.io/badge/Support%20Tree%20Plus-8A2BE2)](https://www.buymeacoffee.com/bionicles)
`pip install -U tree_plus`
## Example Output:
- [ ] Demonstrate Parsed Checkboxes
<!-- t1-start -->
```sh
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,873 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,098 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,021 tokens, 2,404 lines)
┃ ┣━━ BUG (Line 670): 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.35"
tree_plus v(1.0.35) ignore=('tests',) globs=() syntax=False paths=()
5 folder(s), 25 file(s), 10,203 line(s), 136,259 token(s) in 0.23 second(s).
```
<!-- t1-end -->
- [x] Demonstrate Parsed Checkboxes
Here's how `tree_plus --help` looks (`-h` and `-H` both also work)
<!-- t5-start -->
```sh
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.35) --- https://github.com/bionicles/tree_plus/blob/main/README.md
```
<!-- t5-end -->
## Start Quick!
### Prerequisites
Ensure you have the following tools installed:
- [Miniconda3 (conda)](https://docs.conda.io/en/latest/miniconda.html)
- [GitHub CLI (gh)](https://cli.github.com/manual/installation)
### Install Tree Plus
#### PyPI
```bash
pip install tree_plus
```
#### Local Hackable Install
1. Clone the repository and cd into the tree_plus directory
```bash
gh repo clone https://github.com/bionicles/tree_plus.git && cd tree_plus
```
2. Install tree_plus using Makefile
```bash
make cli
```
Alternatively, if `make` is not installed, use `pip`:
```bash
pip install -e .[dev]
```
Now, you can use the `tree_plus` command.
3. 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](https://github.com/bionicles/tree_plus/blob/main/tree_plus_src/scripts/alias_tree_plus.sh)
```bash
RC_FILE=~/.bash_profile source alias_tree_plus.sh
```
```bash
RC_FILE=~/.bashrc source alias_tree_plus.sh
```
```zsh
RC_FILE=~/.zshrc source alias_tree_plus.sh
```
### Alias Usage
Run `tree_plus` with a shorter alias:
```sh
tp
```
Reinstall `tree_plus` quickly:
```sh
tpcli
```
`cd` (change directory) to the `TREE_PLUS_PATH`:
```sh
cdtp
```
Run "debug mode" (test runner)
Ensure your rig has a global install of [nodemon](https://www.npmjs.com/package/nodemon):
```sh
npm install -g nodemon
```
Watch for changes to auto re-test `tree_plus`:
```sh
make debug
```
## Library Usage:
Here's how to import the library
```py
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`!)
```sh
make library_demo
```
## Moar Languages
<!-- t2-start -->
```sh
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 (890 tokens, 159 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()
┃ ┣━━ 📄 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.35) ignore=('group_todo',) globs=() syntax=False paths=('tests/more_languages',)
8 folder(s), 75 file(s), 6,427 line(s), 48,475 token(s) in 0.51 second(s).
```
<!-- t2-end -->
## Got Globs?
<!-- t3-start -->
```sh
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 (890 tokens, 159 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()
┃ ┗━━ 📄 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.35) ignore=('group_todo',) globs=('*.*s',) syntax=False paths=('tests/more_languages',)
6 folder(s), 16 file(s), 1,919 line(s), 13,124 token(s) in 0.14 second(s).
```
<!-- t3-end -->
## Languages Todo:
Help me **add to** and **priorize** this list of languages to support!
- [Open a `tree_plus` GitHub Issue](https://github.com/bionicles/tree_plus/issues/new), or
- [Contact Bion on X](https://twitter.com/flesheatingemu)
<!-- t4-start -->
```sh
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.35) 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).
```
<!-- t4-end -->
## Oppose Unfair Business Practices
Please consider contacting the authorities to report the issue described in this document:
[California OpenAI Complaint - Customer Noncompete Clause](https://www.tinyurl.com/cali-openai-complaint)
_Remember_: **Your Voice Matters!**
## License
MIT or Apache 2.0, at your option.
Raw data
{
"_id": null,
"home_page": null,
"name": "tree-plus",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "tree, util, cli",
"author": null,
"author_email": "Bion Howard <bion@atomiclogic.com>",
"download_url": "https://files.pythonhosted.org/packages/2c/6c/be2102c4314cdfe79515477c2db5b29035686088b8232cebe0fd0f435826/tree_plus-1.0.35.tar.gz",
"platform": null,
"description": "# Tree Plus\n\n**A `tree` util enhanced with tokens, lines, and components. Why? To see the big picture!**\n\n[![License](https://img.shields.io/badge/license-MIT%2FApache--2.0-brightgreen)](https://choosealicense.com/licenses/)\n[![Docs](https://img.shields.io/badge/docs-README-blue)](https://github.com/bionicles/tree_plus/blob/main/README.md)\n[![Linux & MacOS](https://github.com/bionicles/tree_plus/actions/workflows/unix.yml/badge.svg)](https://github.com/bionicles/tree_plus/actions/workflows/unix.yml)\n[![Microsoft](https://github.com/bionicles/tree_plus/actions/workflows/microsoft.yml/badge.svg)](https://github.com/bionicles/tree_plus/actions/workflows/microsoft.yml)\n\n**Supported Python Versions:**\n\n![Python 3.8](https://img.shields.io/badge/Python-3.8-blue)\n![Python 3.9](https://img.shields.io/badge/Python-3.9-blue)\n![Python 3.10](https://img.shields.io/badge/Python-3.10-blue)\n![Python 3.11](https://img.shields.io/badge/Python-3.11-blue)\n![Python 3.12](https://img.shields.io/badge/Python-3.12-blue)\n\n**Supported Operating Systems:**\n\n![Ubuntu](https://img.shields.io/badge/Supports-Ubuntu-orange)\n![MacOS](https://img.shields.io/badge/Supports-MacOS-orange)\n![Windows](https://img.shields.io/badge/Supports-Windows-orange)\n\n**Support Free, Open-Source Software:**\n\n[![Support Tree Plus](https://img.shields.io/badge/Support%20Tree%20Plus-8A2BE2)](https://www.buymeacoffee.com/bionicles)\n\n\n`pip install -U tree_plus`\n\n## Example Output:\n- [ ] Demonstrate Parsed Checkboxes\n<!-- t1-start -->\n```sh\ntree_plus -i tests\n\ud83d\udcc1 tree_plus (5 folders, 25 files) \n\u2523\u2501\u2501 \ud83d\udcc4 .env.test (5 tokens, 1 line)\n\u2503 \u2517\u2501\u2501 DEBUG_TREE_PLUS\n\u2523\u2501\u2501 \ud83d\udcc1 .github (2 folders, 3 files) \n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 dependabot.yml (107 tokens, 11 lines)\n\u2503 \u2503 \u2517\u2501\u2501 Unsupported YAML Category\n\u2503 \u2517\u2501\u2501 \ud83d\udcc1 workflows (1 folder, 2 files) \n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 microsoft.yml (323 tokens, 40 lines)\n\u2503 \u2503 \u2523\u2501\u2501 Microsoft\n\u2503 \u2503 \u2523\u2501\u2501 job: build\n\u2503 \u2503 \u2523\u2501\u2501 - Set up Python ${{ matrix.python-version }}\n\u2503 \u2503 \u2523\u2501\u2501 - Install tree_plus\n\u2503 \u2503 \u2523\u2501\u2501 - Create .env file\n\u2503 \u2503 \u2523\u2501\u2501 - Set PYTHONUTF8 for Windows\n\u2503 \u2503 \u2523\u2501\u2501 - Run generic tests\n\u2503 \u2503 \u2517\u2501\u2501 - Run specific test\n\u2503 \u2517\u2501\u2501 \ud83d\udcc4 unix.yml (715 tokens, 88 lines)\n\u2503 \u2523\u2501\u2501 Linux & MacOS\n\u2503 \u2523\u2501\u2501 job: test\n\u2503 \u2523\u2501\u2501 - Set up Python ${{ matrix.python-version }}\n\u2503 \u2523\u2501\u2501 - Install tree_plus\n\u2503 \u2523\u2501\u2501 - Create .env file\n\u2503 \u2523\u2501\u2501 - Run generic tests\n\u2503 \u2523\u2501\u2501 - Run specific test\n\u2503 \u2523\u2501\u2501 job: deploy\n\u2503 \u2523\u2501\u2501 - Set up Python\n\u2503 \u2523\u2501\u2501 - Install dependencies\n\u2503 \u2523\u2501\u2501 - Increment Version\n\u2503 \u2523\u2501\u2501 - Build\n\u2503 \u2523\u2501\u2501 - Install\n\u2503 \u2523\u2501\u2501 - Test\n\u2503 \u2523\u2501\u2501 - Update README\n\u2503 \u2523\u2501\u2501 - Build Again\n\u2503 \u2523\u2501\u2501 - Commit Updates\n\u2503 \u2517\u2501\u2501 - Publish to PyPI\n\u2523\u2501\u2501 \ud83d\udcc4 .gitignore (210 tokens, 50 lines)\n\u2523\u2501\u2501 \ud83d\udcc1 coverage (1 folder, 1 file) \n\u2503 \u2517\u2501\u2501 \ud83d\udcc4 lcov.info (48,873 tokens, 2,175 lines)\n\u2523\u2501\u2501 \ud83d\udcc4 LICENSE (2,123 tokens, 81 lines)\n\u2523\u2501\u2501 \ud83d\udcc4 Makefile (677 tokens, 102 lines)\n\u2503 \u2523\u2501\u2501 SHELL := /bin/bash\n\u2503 \u2523\u2501\u2501 cli\n\u2503 \u2523\u2501\u2501 library_demo\n\u2503 \u2523\u2501\u2501 coverage\n\u2503 \u2523\u2501\u2501 debug\n\u2503 \u2523\u2501\u2501 .PHONY: debug_command\n\u2503 \u2523\u2501\u2501 debug_command: test_parallel\n\u2503 \u2523\u2501\u2501 test_parallel\n\u2503 \u2523\u2501\u2501 test_sequential\n\u2503 \u2523\u2501\u2501 test_more_languages\n\u2503 \u2523\u2501\u2501 test: test_parallel\n\u2503 \u2523\u2501\u2501 test_units\n\u2503 \u2523\u2501\u2501 test_tp_dotdot\n\u2503 \u2523\u2501\u2501 test_e2e\n\u2503 \u2523\u2501\u2501 test_cli: cli\n\u2503 \u2523\u2501\u2501 test_programs\n\u2503 \u2523\u2501\u2501 test_deploy\n\u2503 \u2523\u2501\u2501 vulture: install_vulture\n\u2503 \u2523\u2501\u2501 install_vulture\n\u2503 \u2523\u2501\u2501 build: install-build-tool clean-dist\n\u2503 \u2523\u2501\u2501 install-wheel\n\u2503 \u2523\u2501\u2501 install-build-tool\n\u2503 \u2523\u2501\u2501 test-publish: install-twine\n\u2503 \u2523\u2501\u2501 install-twine\n\u2503 \u2523\u2501\u2501 publish: install-twine\n\u2503 \u2523\u2501\u2501 clean-dist\n\u2503 \u2523\u2501\u2501 t1\n\u2503 \u2523\u2501\u2501 t2\n\u2503 \u2523\u2501\u2501 t3\n\u2503 \u2523\u2501\u2501 t4\n\u2503 \u2517\u2501\u2501 t5\n\u2523\u2501\u2501 \ud83d\udcc4 nodemon.json (140 tokens, 25 lines)\n\u2523\u2501\u2501 \ud83d\udcc4 pyproject.toml (347 tokens, 41 lines)\n\u2503 \u2523\u2501\u2501 name: tree_plus\n\u2503 \u2523\u2501\u2501 version: N/A\n\u2503 \u2523\u2501\u2501 description: A `tree` util enhanced with tokens, lines, and components.\n\u2503 \u2523\u2501\u2501 License :: OSI Approved :: Apache Software License\n\u2503 \u2523\u2501\u2501 License :: OSI Approved :: MIT License\n\u2503 \u2523\u2501\u2501 dependencies:\n\u2503 \u2523\u2501\u2501 tiktoken\n\u2503 \u2523\u2501\u2501 PyYAML\n\u2503 \u2523\u2501\u2501 click\n\u2503 \u2523\u2501\u2501 rich\n\u2503 \u2523\u2501\u2501 tomli\n\u2503 \u2517\u2501\u2501 natsort>=7.1\n\u2523\u2501\u2501 \ud83d\udcc4 pytest.ini (21 tokens, 5 lines)\n\u2523\u2501\u2501 \ud83d\udcc4 README.md (42,098 tokens, 2,763 lines)\n\u2503 \u2523\u2501\u2501 # Tree Plus\n\u2503 \u2523\u2501\u2501 ## Example Output:\n\u2503 \u2523\u2501\u2501 - [ ] Demonstrate Parsed Checkboxes\n\u2503 \u2523\u2501\u2501 ## Start Quick!\n\u2503 \u2523\u2501\u2501 ### Prerequisites\n\u2503 \u2523\u2501\u2501 ### Install Tree Plus\n\u2503 \u2523\u2501\u2501 #### PyPI\n\u2503 \u2523\u2501\u2501 #### Local Hackable Install\n\u2503 \u2523\u2501\u2501 ### Alias Usage\n\u2503 \u2523\u2501\u2501 ## Library Usage:\n\u2503 \u2523\u2501\u2501 ## Moar Languages\n\u2503 \u2523\u2501\u2501 ## Got Globs?\n\u2503 \u2523\u2501\u2501 ## Languages Todo:\n\u2503 \u2523\u2501\u2501 ## Oppose Unfair Business Practices\n\u2503 \u2517\u2501\u2501 ## License\n\u2523\u2501\u2501 \ud83d\udcc4 tree_plus_cli.py (973 tokens, 161 lines)\n\u2503 \u2517\u2501\u2501 def main(\n\u2503 glob: Optional[Tuple[str]],\n\u2503 paths: Optional[Union[str, Tuple[str]]],\n\u2503 ignore: Tuple[str],\n\u2503 override: bool,\n\u2503 debug: bool,\n\u2503 version: bool,\n\u2503 syntax: bool,\n\u2503 concise: bool,\n\u2503 )\n\u2523\u2501\u2501 \ud83d\udcc1 tree_plus_programs (1 folder, 3 files) \n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 hello_tree_plus.py (528 tokens, 80 lines)\n\u2503 \u2503 \u2523\u2501\u2501 class ItHappened\n\u2503 \u2503 \u2523\u2501\u2501 def main()\n\u2503 \u2503 \u2517\u2501\u2501 def trees(\n\u2503 \u2503 or_: bool,\n\u2503 \u2503 it: int,\n\u2503 \u2503 didnt: str,\n\u2503 \u2503 happen: tuple,\n\u2503 \u2503 ) -> ItHappened\n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 stub_tests.py (1,162 tokens, 180 lines)\n\u2503 \u2503 \u2523\u2501\u2501 TODO (Line 124): fix this path\",\n\u2503 \u2503 \u2523\u2501\u2501 TODO (Line 126): fill in these stubs:\",\n\u2503 \u2503 \u2523\u2501\u2501 @lru_cache\n\u2503 \u2503 \u2503 def remove_decorators(component: str) -> str\n\u2503 \u2503 \u2523\u2501\u2501 def make_import_path(path: Path) -> str\n\u2503 \u2503 \u2523\u2501\u2501 def stub_tests(\n\u2503 \u2503 \u2503 input_path: str,\n\u2503 \u2503 \u2503 output_path: Optional[str],\n\u2503 \u2503 \u2503 rewrite_ok: bool,\n\u2503 \u2503 \u2503 ) -> Tuple[List[str], str, bool]\n\u2503 \u2503 \u2523\u2501\u2501 def main(\n\u2503 \u2503 \u2503 input_path: str,\n\u2503 \u2503 \u2503 output_path: Optional[str],\n\u2503 \u2503 \u2503 rewrite_ok: bool,\n\u2503 \u2503 \u2503 )\n\u2503 \u2503 \u2523\u2501\u2501 class Vehicle\n\u2503 \u2503 \u2517\u2501\u2501 class Car(Vehicle)\n\u2503 \u2517\u2501\u2501 \ud83d\udcc4 test_stub_tests.py (83 tokens, 20 lines)\n\u2503 \u2523\u2501\u2501 TODO (Line 1): fix this path\n\u2503 \u2523\u2501\u2501 TODO (Line 3): fill in these stubs:\n\u2503 \u2523\u2501\u2501 def test_remove_decorators()\n\u2503 \u2523\u2501\u2501 def test_make_import_path()\n\u2503 \u2523\u2501\u2501 def test_stub_tests()\n\u2503 \u2523\u2501\u2501 def test_main()\n\u2503 \u2523\u2501\u2501 def test_class_vehicle()\n\u2503 \u2517\u2501\u2501 def test_class_car()\n\u2517\u2501\u2501 \ud83d\udcc1 tree_plus_src (2 folders, 9 files) \n \u2523\u2501\u2501 \ud83d\udcc4 count_tokens_lines.py (868 tokens, 144 lines)\n \u2503 \u2523\u2501\u2501 TODO (Line 14): show off how well we parse_todo!\n \u2503 \u2523\u2501\u2501 @dataclass(frozen=True)\n \u2503 \u2503 class TokenLineCount\n \u2503 \u2523\u2501\u2501 def count_tokens_lines(file_path: Union[str, Path]) -> Optional[TokenLineCount]\n \u2503 \u2517\u2501\u2501 def add_tokens_lines(\n \u2503 lhs_count: TokenLineCount, rhs_count: TokenLineCount\n \u2503 ) -> TokenLineCount\n \u2523\u2501\u2501 \ud83d\udcc4 debug.py (167 tokens, 39 lines)\n \u2503 \u2523\u2501\u2501 def disable_debug()\n \u2503 \u2523\u2501\u2501 @lru_cache\n \u2503 \u2503 def debug_enabled()\n \u2503 \u2523\u2501\u2501 def debug_print(*args, **kwargs)\n \u2503 \u2523\u2501\u2501 def enable_debug()\n \u2503 \u2517\u2501\u2501 @contextmanager\n \u2503 def debug_disabled()\n \u2523\u2501\u2501 \ud83d\udcc4 deploy.py (1,771 tokens, 210 lines)\n \u2503 \u2523\u2501\u2501 def extract(path: str = None) -> str\n \u2503 \u2523\u2501\u2501 def load(content: str = None, path: str = None)\n \u2503 \u2523\u2501\u2501 def extract_version(source_path: str = None) -> Tuple[int, int, int]\n \u2503 \u2523\u2501\u2501 def increment_version(\n \u2503 \u2503 source_path: str = None,\n \u2503 \u2503 sink_path: str = None,\n \u2503 \u2503 )\n \u2503 \u2523\u2501\u2501 def run_command(command: str = None, debug: bool = False)\n \u2503 \u2523\u2501\u2501 def replace_readme_section(\n \u2503 \u2503 source_path: str = None,\n \u2503 \u2503 sink_path: str = None,\n \u2503 \u2503 marker: str = None,\n \u2503 \u2503 command: str = None,\n \u2503 \u2503 )\n \u2503 \u2523\u2501\u2501 def update_readme(source_path: str = None, sink_path: str = None)\n \u2503 \u2517\u2501\u2501 def main()\n \u2523\u2501\u2501 \ud83d\udcc4 engine.py (6,333 tokens, 759 lines)\n \u2503 \u2523\u2501\u2501 TODO (Line 40): MOVE TIMEOUT_SECONDS TO ENV VAR & CLI INPUT\n \u2503 \u2523\u2501\u2501 TODO (Line 427): research & decide about globs as paths instead of as filters\n \u2503 \u2523\u2501\u2501 NOTE (Line 461): here we add directly input file_paths to the amortized glob matches\n \u2503 \u2523\u2501\u2501 TODO (Line 534): decide if we apply glob patterns to glob paths (currently NO)\n \u2503 \u2523\u2501\u2501 TODO (Line 573): decide between glob and rglob in _from_glob\n \u2503 \u2523\u2501\u2501 TODO (Line 580): decide if we need to re-amortize the globs in the glob seed\n \u2503 \u2523\u2501\u2501 TODO (Line 582): clarify ignore in glob seed context, skipping for now\n \u2503 \u2523\u2501\u2501 class Category(Enum)\n \u2503 \u2523\u2501\u2501 @dataclass\n \u2503 \u2503 class TreePlus\n \u2503 \u2523\u2501\u2501 def is_root(self) -> bool\n \u2503 \u2523\u2501\u2501 def is_folder(self) -> bool\n \u2503 \u2523\u2501\u2501 def is_file(self) -> bool\n \u2503 \u2523\u2501\u2501 def is_glob(self) -> bool\n \u2503 \u2523\u2501\u2501 def is_component(self) -> bool\n \u2503 \u2523\u2501\u2501 def into_rich_tree(self) -> Tree\n \u2503 \u2523\u2501\u2501 def into_str(self) -> str\n \u2503 \u2523\u2501\u2501 def render(self)\n \u2503 \u2523\u2501\u2501 def stats(self) -> str\n \u2503 \u2523\u2501\u2501 @lru_cache\n \u2503 \u2503 def remove_trailing_space(x: str) -> str\n \u2503 \u2523\u2501\u2501 def tree_to_string(tree: Tree) -> str\n \u2503 \u2523\u2501\u2501 def clean_string(input_str: str) -> str\n \u2503 \u2523\u2501\u2501 def safe_print(\n \u2503 \u2503 tree: Tree,\n \u2503 \u2503 style: Optional[str] = None,\n \u2503 \u2503 highlight: bool = True,\n \u2503 \u2503 markup: bool = False,\n \u2503 \u2503 capturing: bool = False,\n \u2503 \u2503 )\n \u2503 \u2523\u2501\u2501 def _make_rich_tree(label: str) -> Tree\n \u2503 \u2523\u2501\u2501 def into_rich_tree(*, root: TreePlus = None) -> Tree\n \u2503 \u2523\u2501\u2501 @lru_cache\n \u2503 \u2503 def categorize(\n \u2503 \u2503 x: Union[Path, Tuple[str], str],\n \u2503 \u2503 check_strs_globs: bool = True,\n \u2503 \u2503 check_strs_paths: bool = True,\n \u2503 \u2503 raise_if_component: bool = True,\n \u2503 \u2503 ) -> Category\n \u2503 \u2523\u2501\u2501 def from_seed(\n \u2503 \u2503 maybe_seed_str=None,\n \u2503 \u2503 *,\n \u2503 \u2503 maybe_ignore: Optional[Tuple[str]] = DEFAULT_IGNORE,\n \u2503 \u2503 maybe_globs: Optional[Tuple[str]] = None,\n \u2503 \u2503 syntax_highlighting: bool = False,\n \u2503 \u2503 override_ignore: bool = False,\n \u2503 \u2503 concise: bool = False,\n \u2503 \u2503 ) -> TreePlus\n \u2503 \u2523\u2501\u2501 def from_seeds(\n \u2503 \u2503 maybe_seed_strs: Optional[Tuple[str]] = None,\n \u2503 \u2503 *,\n \u2503 \u2503 maybe_ignore: Optional[Tuple[str]] = DEFAULT_IGNORE,\n \u2503 \u2503 maybe_globs: Optional[Tuple[str]] = None,\n \u2503 \u2503 syntax_highlighting: bool = False,\n \u2503 \u2503 override_ignore: bool = False,\n \u2503 \u2503 concise: bool = False,\n \u2503 \u2503 ) -> TreePlus\n \u2503 \u2523\u2501\u2501 def _reduce_forest(*, forest: Tuple[TreePlus] = None) -> TreePlus\n \u2503 \u2523\u2501\u2501 def _map_seeds(\n \u2503 \u2503 *,\n \u2503 \u2503 seeds: Tuple[str] = None,\n \u2503 \u2503 maybe_ignore: Optional[Tuple[str]] = DEFAULT_IGNORE,\n \u2503 \u2503 maybe_globs: Optional[Tuple[str]] = None,\n \u2503 \u2503 syntax_highlighting: bool = False,\n \u2503 \u2503 concise: bool = False,\n \u2503 \u2503 ) -> Tuple[TreePlus]\n \u2503 \u2523\u2501\u2501 def _from_seed(\n \u2503 \u2503 *,\n \u2503 \u2503 seed_path: Optional[Path] = None,\n \u2503 \u2503 maybe_ignore: Optional[Tuple[str]] = DEFAULT_IGNORE,\n \u2503 \u2503 maybe_globs: Optional[AmortizedGlobs] = None,\n \u2503 \u2503 syntax_highlighting: bool = False,\n \u2503 \u2503 concise: bool = False,\n \u2503 \u2503 ) -> TreePlus\n \u2503 \u2523\u2501\u2501 def _add_subtree(\n \u2503 \u2503 *,\n \u2503 \u2503 root: TreePlus = None,\n \u2503 \u2503 subtree: TreePlus = None,\n \u2503 \u2503 )\n \u2503 \u2523\u2501\u2501 def _from_glob(\n \u2503 \u2503 *,\n \u2503 \u2503 pattern: str,\n \u2503 \u2503 maybe_ignore: Optional[Tuple[str]] = DEFAULT_IGNORE,\n \u2503 \u2503 maybe_globs: Optional[AmortizedGlobs] = None,\n \u2503 \u2503 syntax_highlighting: bool = False,\n \u2503 \u2503 concise: bool = False,\n \u2503 \u2503 ) -> TreePlus\n \u2503 \u2523\u2501\u2501 def _from_folder(\n \u2503 \u2503 *,\n \u2503 \u2503 folder_path: Path,\n \u2503 \u2503 maybe_ignore: Optional[Tuple[str]] = DEFAULT_IGNORE,\n \u2503 \u2503 maybe_globs: Optional[AmortizedGlobs] = None,\n \u2503 \u2503 syntax_highlighting: bool = False,\n \u2503 \u2503 concise: bool = False,\n \u2503 \u2503 ) -> TreePlus\n \u2503 \u2523\u2501\u2501 def _from_file(\n \u2503 \u2503 *,\n \u2503 \u2503 file_path: Path,\n \u2503 \u2503 syntax_highlighting: bool = False,\n \u2503 \u2503 concise: bool = False,\n \u2503 \u2503 ) -> TreePlus\n \u2503 \u2523\u2501\u2501 def _get_lexer(file_path: Path) -> str\n \u2503 \u2517\u2501\u2501 def _syntax_highlight(\n \u2503 *,\n \u2503 file_path: Path = None,\n \u2503 components: List[str] = None,\n \u2503 ) -> Union[Syntax, str]\n \u2523\u2501\u2501 \ud83d\udcc4 ignore.py (2,335 tokens, 329 lines)\n \u2503 \u2523\u2501\u2501 TODO (Line 129): incorporate gitignore\n \u2503 \u2523\u2501\u2501 def _is_all_str(x: Any) -> bool\n \u2503 \u2523\u2501\u2501 def can_parse(x) -> bool\n \u2503 \u2523\u2501\u2501 @lru_cache\n \u2503 \u2503 def parse_ignore(\n \u2503 \u2503 maybe_ignore_tuple: Optional[Tuple[str]] = None, override: bool = False\n \u2503 \u2503 ) -> Optional[Tuple[str]]\n \u2503 \u2523\u2501\u2501 @lru_cache\n \u2503 \u2503 def is_glob(x: str) -> bool\n \u2503 \u2523\u2501\u2501 @lru_cache\n \u2503 \u2503 def parse_globs(\n \u2503 \u2503 maybe_globs_tuple: Optional[Tuple[str]] = None,\n \u2503 \u2503 ) -> Tuple[str]\n \u2503 \u2523\u2501\u2501 @dataclass(frozen=True)\n \u2503 \u2503 class AmortizedGlobs\n \u2503 \u2523\u2501\u2501 def amortize_globs(paths: Tuple[Path], globs: Tuple[str]) -> Optional[AmortizedGlobs]\n \u2503 \u2517\u2501\u2501 @lru_cache(maxsize=None)\n \u2503 def should_ignore(\n \u2503 path: Path,\n \u2503 ignore: Optional[Tuple[str]] = DEFAULT_IGNORE,\n \u2503 globs: Optional[AmortizedGlobs] = None,\n \u2503 ) -> bool\n \u2523\u2501\u2501 \ud83d\udcc4 isabelle_symbols.py (4,084 tokens, 462 lines)\n \u2503 \u2523\u2501\u2501 @lru_cache\n \u2503 \u2503 def _replace_symbol(match: re.Match) -> str\n \u2503 \u2517\u2501\u2501 def replace_isabelle_symbols(content: str) -> str\n \u2523\u2501\u2501 \ud83d\udcc4 parse_file.py (22,021 tokens, 2,404 lines)\n \u2503 \u2523\u2501\u2501 BUG (Line 670): catastrophic backtracking in some c files\n \u2503 \u2523\u2501\u2501 @lru_cache(maxsize=None)\n \u2503 \u2503 def read_file(\n \u2503 \u2503 file_path: str,\n \u2503 \u2503 raise_exceptions: bool = False,\n \u2503 \u2503 n_lines: Optional[int] = None,\n \u2503 \u2503 ) -> str\n \u2503 \u2523\u2501\u2501 def parse_file(file_path: Union[str, Path]) -> List[str]\n \u2503 \u2523\u2501\u2501 def extract_groups(match: re.Match, named_only: bool = False) -> dict\n \u2503 \u2523\u2501\u2501 def assemble_tensorflow_flag(\n \u2503 \u2503 flag_type: str, flag: str, description: Optional[List[str]] = None\n \u2503 \u2503 ) -> str\n \u2503 \u2523\u2501\u2501 def parse_tensorflow_flags(contents: str) -> List[str]\n \u2503 \u2523\u2501\u2501 def parse_rst(contents: str) -> List[str]\n \u2503 \u2523\u2501\u2501 def parse_c(contents: str) -> List[str]\n \u2503 \u2523\u2501\u2501 @lru_cache\n \u2503 \u2503 def is_binary_string(data: bytes) -> bool\n \u2503 \u2523\u2501\u2501 @lru_cache\n \u2503 \u2503 def is_binary(file_path: str) -> bool\n \u2503 \u2523\u2501\u2501 def clean_isabelle_text(content: str) -> str\n \u2503 \u2523\u2501\u2501 def parse_isabelle(contents: str) -> List[str]\n \u2503 \u2523\u2501\u2501 def parse_fortran(contents: str) -> List[str]\n \u2503 \u2523\u2501\u2501 def remove_c_comments(contents: str) -> str\n \u2503 \u2523\u2501\u2501 def parse_ts(contents: str) -> List[str]\n \u2503 \u2523\u2501\u2501 def remove_py_comments(input_string: str) -> str\n \u2503 \u2523\u2501\u2501 def parse_py(contents: str) -> List[str]\n \u2503 \u2523\u2501\u2501 def parse_rb(contents: str) -> List[str]\n \u2503 \u2523\u2501\u2501 def parse_fsharp(contents: str) -> List[str]\n \u2503 \u2523\u2501\u2501 def parse_tcl(contents: str) -> List[str]\n \u2503 \u2523\u2501\u2501 def parse_erl(contents: str) -> List[str]\n \u2503 \u2523\u2501\u2501 def parse_rs(contents: str) -> List[str]\n \u2503 \u2523\u2501\u2501 def parse_csv(contents: str, max_leaves=11) -> List[str]\n \u2503 \u2523\u2501\u2501 def parse_mathematica(contents: str) -> List[str]\n \u2503 \u2523\u2501\u2501 def parse_r(contents: str) -> List[str]\n \u2503 \u2523\u2501\u2501 def parse_zig(contents: str) -> List[str]\n \u2503 \u2523\u2501\u2501 def parse_hs(contents: str) -> List[str]\n \u2503 \u2523\u2501\u2501 def parse_lisp(content: str) -> List[str]\n \u2503 \u2523\u2501\u2501 def parse_capnp(contents: str) -> List[str]\n \u2503 \u2523\u2501\u2501 def parse_grpc(contents: str) -> List[str]\n \u2503 \u2523\u2501\u2501 def parse_openrpc_json(contents: str) -> List[str]\n \u2503 \u2523\u2501\u2501 def parse_json_rpc(contents: str) -> List[str]\n \u2503 \u2523\u2501\u2501 def parse_graphql(contents: str) -> List[str]\n \u2503 \u2523\u2501\u2501 def format_dependency(name, details)\n \u2503 \u2523\u2501\u2501 def parse_cargo_toml(contents: str) -> List[str]\n \u2503 \u2523\u2501\u2501 def parse_pyproject_toml(contents: str) -> List[str]\n \u2503 \u2523\u2501\u2501 def parse_lean(lean_content: str) -> List[str]\n \u2503 \u2523\u2501\u2501 def parse_cs(contents: str) -> List[str]\n \u2503 \u2523\u2501\u2501 def parse_tex(tex_content: str) -> List[str]\n \u2503 \u2523\u2501\u2501 def parse_go(contents: str) -> List[str]\n \u2503 \u2523\u2501\u2501 def parse_swift(contents: str) -> List[str]\n \u2503 \u2523\u2501\u2501 def parse_bash(contents: str) -> List[str]\n \u2503 \u2523\u2501\u2501 def parse_d_dot_ts(contents: str) -> List[str]\n \u2503 \u2523\u2501\u2501 def parse_angular_app_module(contents: str) -> List[str]\n \u2503 \u2523\u2501\u2501 def parse_angular_routes(content: str) -> List[str]\n \u2503 \u2523\u2501\u2501 def parse_angular_spec(content: str) -> List[str]\n \u2503 \u2523\u2501\u2501 def parse_environment_ts(contents: str) -> List[str]\n \u2503 \u2523\u2501\u2501 def parse_dot_env(contents: str) -> List[str]\n \u2503 \u2523\u2501\u2501 def parse_requirements_txt(contents: str) -> List[str]\n \u2503 \u2523\u2501\u2501 def parse_json_schema(contents: str) -> List[str]\n \u2503 \u2523\u2501\u2501 def parse_package_json(contents: str) -> List[str]\n \u2503 \u2523\u2501\u2501 def parse_makefile(contents: str) -> List[str]\n \u2503 \u2523\u2501\u2501 def parse_sql(contents: str) -> List[str]\n \u2503 \u2523\u2501\u2501 def is_openapi_yml(ymls: Tuple[dict]) -> bool\n \u2503 \u2523\u2501\u2501 def is_k8s_yml(ymls: Tuple[dict]) -> bool\n \u2503 \u2523\u2501\u2501 def is_ansible_yml(ymls: Tuple[dict]) -> bool\n \u2503 \u2523\u2501\u2501 def is_github_yml(ymls: Tuple[dict]) -> bool\n \u2503 \u2523\u2501\u2501 def parse_github_yml(ymls: Tuple[dict]) -> List[str]\n \u2503 \u2523\u2501\u2501 def parse_k8s(ymls: Tuple[dict]) -> List[str]\n \u2503 \u2523\u2501\u2501 def parse_ansible(ymls: Tuple[dict]) -> List[str]\n \u2503 \u2523\u2501\u2501 def parse_openapi_yml(ymls: Tuple[dict]) -> List[str]\n \u2503 \u2523\u2501\u2501 def parse_yml(contents: str) -> List[str]\n \u2503 \u2523\u2501\u2501 def parse_db(db_path: str) -> List[str]\n \u2503 \u2523\u2501\u2501 def dedent_components(components: List[str]) -> List[str]\n \u2503 \u2523\u2501\u2501 def parse_cbl(content: str) -> List[str]\n \u2503 \u2523\u2501\u2501 def parse_java(contents: str) -> List[str]\n \u2503 \u2523\u2501\u2501 def parse_jl(contents: str) -> List[str]\n \u2503 \u2523\u2501\u2501 def parse_kt(contents: str) -> List[str]\n \u2503 \u2523\u2501\u2501 def parse_lua(content: str) -> List[str]\n \u2503 \u2523\u2501\u2501 def parse_objective_c(content: str) -> List[str]\n \u2503 \u2523\u2501\u2501 def parse_ocaml(content: str) -> List[str]\n \u2503 \u2523\u2501\u2501 def parse_apl(content: str) -> List[str]\n \u2503 \u2523\u2501\u2501 def parse_perl(content: str) -> List[str]\n \u2503 \u2523\u2501\u2501 def parse_php(content: str) -> List[str]\n \u2503 \u2523\u2501\u2501 def parse_ps1(contents: str) -> List[str]\n \u2503 \u2523\u2501\u2501 def parse_matlab(content: str) -> List[str]\n \u2503 \u2523\u2501\u2501 def parse_scala(contents: str) -> List[str]\n \u2503 \u2523\u2501\u2501 def parse_tf(contents: str) -> List[str]\n \u2503 \u2523\u2501\u2501 def parse_md(content: str) -> List[str]\n \u2503 \u2523\u2501\u2501 def parse_txt(content: str) -> List[str]\n \u2503 \u2517\u2501\u2501 def parse_markers(content: str) -> List[str]\n \u2523\u2501\u2501 \ud83d\udcc1 scripts (1 folder, 1 file) \n \u2503 \u2517\u2501\u2501 \ud83d\udcc4 alias_tree_plus.sh (277 tokens, 31 lines)\n \u2503 \u2523\u2501\u2501 add_alias()\n \u2503 \u2517\u2501\u2501 create_conda_env()\n \u2517\u2501\u2501 \ud83d\udcc4 version.py (18 tokens, 2 lines)\n \u2517\u2501\u2501 __version__ = \"1.0.35\"\n\ntree_plus v(1.0.35) ignore=('tests',) globs=() syntax=False paths=()\n5 folder(s), 25 file(s), 10,203 line(s), 136,259 token(s) in 0.23 second(s).\n\n```\n<!-- t1-end -->\n- [x] Demonstrate Parsed Checkboxes\n\nHere's how `tree_plus --help` looks (`-h` and `-H` both also work) \n<!-- t5-start -->\n```sh\ntree_plus -h\nUsage: tree_plus [OPTIONS] [PATHS]...\n\n A `tree` util enhanced with tokens, lines, and components.\n\n Wrap patterns in quotes: -i \"*.py\" / -g \"*.rs\"\n\n Examples:\n\n Show tree_plus_src and tests simultaneously\n > tree_plus tree_plus_src tests\n\n Show files matching \"*.*s\" within tests/more_languages\n > tree_plus -g \"*.*s\" tests/more_languages\n\n Ignore Java files\n > tree_plus -i \"*.java\" tests\n\n Override DEFAULT_IGNORE: Only ignore .ini files.\n > tree_plus -o -i \"*.ini\" tests/dot_dot\n\n Syntax Highlight python files in src and tests\n > tree_plus -s tree_plus_src/*.py tests/*.py\n\n Concise Mode (No Parsing)\n > tree_plus -c\n\nOptions:\n -i, -I, --ignore TEXT Patterns to ignore, in quotes: -i \"*.java\"\n -o, -O, --override Override DEFAULT_IGNORE (includes ignored content):\n -o -i \"*.java\"\n -g, -G, --glob TEXT Patterns to find, in quotes: -g \"*.rs\"\n -v, -V, --version Print the version and exit.\n -d, -D, --debug Enables $DEBUG_TREE_PLUS.\n -s, -S, --syntax Enables Syntax Highlighting (WIP).\n -c, -C, --concise Enables Syntax Highlighting (WIP).\n -H, -h, --help Show this message and exit.\n\n v(1.0.35) --- https://github.com/bionicles/tree_plus/blob/main/README.md\n\n```\n<!-- t5-end -->\n\n## Start Quick!\n\n### Prerequisites\n\nEnsure you have the following tools installed:\n\n- [Miniconda3 (conda)](https://docs.conda.io/en/latest/miniconda.html)\n- [GitHub CLI (gh)](https://cli.github.com/manual/installation)\n\n### Install Tree Plus\n\n#### PyPI\n\n```bash\npip install tree_plus\n```\n\n#### Local Hackable Install\n\n1. Clone the repository and cd into the tree_plus directory\n```bash\ngh repo clone https://github.com/bionicles/tree_plus.git && cd tree_plus\n```\n\n2. Install tree_plus using Makefile\n```bash\nmake cli\n```\n\nAlternatively, if `make` is not installed, use `pip`:\n```bash\npip install -e .[dev]\n```\n\nNow, you can use the `tree_plus` command.\n\n3. Add slick aliases like `tp` to your RC file\n\nTypical RC_FILE values `~/.bash_profile`, `~/.bashrc`, or `~/.zshrc`\n\nUse our **idempotent aliasing script**: [alias_tree_plus.sh](https://github.com/bionicles/tree_plus/blob/main/tree_plus_src/scripts/alias_tree_plus.sh)\n```bash\nRC_FILE=~/.bash_profile source alias_tree_plus.sh\n```\n```bash\nRC_FILE=~/.bashrc source alias_tree_plus.sh\n```\n```zsh\nRC_FILE=~/.zshrc source alias_tree_plus.sh\n```\n\n### Alias Usage\n\nRun `tree_plus` with a shorter alias:\n\n```sh\ntp\n```\n\nReinstall `tree_plus` quickly:\n\n```sh\ntpcli\n```\n\n`cd` (change directory) to the `TREE_PLUS_PATH`:\n\n```sh\ncdtp\n```\n\nRun \"debug mode\" (test runner)\n\nEnsure your rig has a global install of [nodemon](https://www.npmjs.com/package/nodemon):\n```sh\nnpm install -g nodemon\n```\n\nWatch for changes to auto re-test `tree_plus`:\n```sh\nmake debug\n```\n\n## Library Usage:\n\nHere's how to import the library\n```py\nimport tree_plus_src as tp\n```\n\nCheck out the **tree_plus_programs** folder for a library usage example.\n(More to come!) \n\nTo run the library usage example (make sure you've installed `tree_plus`!)\n```sh\nmake library_demo\n```\n\n## Moar Languages\n\n<!-- t2-start -->\n```sh\ntree_plus -i group_todo tests/more_languages\n\ud83d\udcc1 more_languages (8 folders, 75 files) \n\u2523\u2501\u2501 \ud83d\udcc1 group1 (1 folder, 11 files) \n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 addamt.cobol (408 tokens, 41 lines)\n\u2503 \u2503 \u2523\u2501\u2501 IDENTIFICATION DIVISION.\n\u2503 \u2503 \u2523\u2501\u2501 PROGRAM-ID.\n\u2503 \u2503 \u2503 ADDAMT.\n\u2503 \u2503 \u2523\u2501\u2501 DATA DIVISION.\n\u2503 \u2503 \u2523\u2501\u2501 WORKING-STORAGE SECTION.\n\u2503 \u2503 \u2523\u2501\u2501 01 KEYED-INPUT.\n\u2503 \u2503 \u2523\u2501\u2501 05 CUST-NO-IN.\n\u2503 \u2503 \u2523\u2501\u2501 05 AMT1-IN.\n\u2503 \u2503 \u2523\u2501\u2501 05 AMT2-IN.\n\u2503 \u2503 \u2523\u2501\u2501 05 AMT3-IN.\n\u2503 \u2503 \u2523\u2501\u2501 01 DISPLAYED-OUTPUT.\n\u2503 \u2503 \u2523\u2501\u2501 05 CUST-NO-OUT.\n\u2503 \u2503 \u2523\u2501\u2501 05 TOTAL-OUT.\n\u2503 \u2503 \u2523\u2501\u2501 01 MORE-DATA.\n\u2503 \u2503 \u2523\u2501\u2501 PROCEDURE DIVISION.\n\u2503 \u2503 \u2517\u2501\u2501 100-MAIN.\n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 CUSTOMER-INVOICE.CBL (547 tokens, 60 lines)\n\u2503 \u2503 \u2523\u2501\u2501 IDENTIFICATION DIVISION.\n\u2503 \u2503 \u2523\u2501\u2501 PROGRAM-ID. CUSTOMER-INVOICE.\n\u2503 \u2503 \u2523\u2501\u2501 AUTHOR. JANE DOE.\n\u2503 \u2503 \u2523\u2501\u2501 DATE. 2023-12-30.\n\u2503 \u2503 \u2523\u2501\u2501 DATE-COMPILED. 06/30/10.\n\u2503 \u2503 \u2523\u2501\u2501 DATE-WRITTEN. 12/34/56.\n\u2503 \u2503 \u2523\u2501\u2501 ENVIRONMENT DIVISION.\n\u2503 \u2503 \u2523\u2501\u2501 INPUT-OUTPUT SECTION.\n\u2503 \u2503 \u2523\u2501\u2501 FILE-CONTROL.\n\u2503 \u2503 \u2523\u2501\u2501 SELECT CUSTOMER-FILE.\n\u2503 \u2503 \u2523\u2501\u2501 SELECT INVOICE-FILE.\n\u2503 \u2503 \u2523\u2501\u2501 SELECT REPORT-FILE.\n\u2503 \u2503 \u2523\u2501\u2501 DATA DIVISION.\n\u2503 \u2503 \u2523\u2501\u2501 FILE SECTION.\n\u2503 \u2503 \u2523\u2501\u2501 FD CUSTOMER-FILE.\n\u2503 \u2503 \u2523\u2501\u2501 01 CUSTOMER-RECORD.\n\u2503 \u2503 \u2523\u2501\u2501 05 CUSTOMER-ID.\n\u2503 \u2503 \u2523\u2501\u2501 05 CUSTOMER-NAME.\n\u2503 \u2503 \u2523\u2501\u2501 05 CUSTOMER-BALANCE.\n\u2503 \u2503 \u2523\u2501\u2501 FD INVOICE-FILE.\n\u2503 \u2503 \u2523\u2501\u2501 01 INVOICE-RECORD.\n\u2503 \u2503 \u2523\u2501\u2501 05 INVOICE-ID.\n\u2503 \u2503 \u2523\u2501\u2501 05 CUSTOMER-ID.\n\u2503 \u2503 \u2523\u2501\u2501 05 INVOICE-AMOUNT.\n\u2503 \u2503 \u2523\u2501\u2501 FD REPORT-FILE.\n\u2503 \u2503 \u2523\u2501\u2501 01 REPORT-RECORD.\n\u2503 \u2503 \u2523\u2501\u2501 WORKING-STORAGE SECTION.\n\u2503 \u2503 \u2523\u2501\u2501 01 WS-CUSTOMER-FOUND.\n\u2503 \u2503 \u2523\u2501\u2501 01 WS-END-OF-FILE.\n\u2503 \u2503 \u2523\u2501\u2501 01 WS-TOTAL-BALANCE.\n\u2503 \u2503 \u2523\u2501\u2501 PROCEDURE DIVISION.\n\u2503 \u2503 \u2523\u2501\u2501 0000-MAIN-ROUTINE.\n\u2503 \u2503 \u2523\u2501\u2501 1000-PROCESS-RECORDS.\n\u2503 \u2503 \u2523\u2501\u2501 1100-UPDATE-CUSTOMER-BALANCE.\n\u2503 \u2503 \u2517\u2501\u2501 END PROGRAM CUSTOMER-INVOICE.\n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 JavaTest.java (470 tokens, 87 lines)\n\u2503 \u2503 \u2523\u2501\u2501 abstract class LivingBeing\n\u2503 \u2503 \u2523\u2501\u2501 abstract void breathe()\n\u2503 \u2503 \u2523\u2501\u2501 interface Communicator\n\u2503 \u2503 \u2523\u2501\u2501 String communicate()\n\u2503 \u2503 \u2523\u2501\u2501 @Log\n\u2503 \u2503 \u2523\u2501\u2501 @Getter\n\u2503 \u2503 \u2523\u2501\u2501 @Setter\n\u2503 \u2503 \u2523\u2501\u2501 class Person extends LivingBeing implements Communicator\n\u2503 \u2503 \u2523\u2501\u2501 Person(String name, int age)\n\u2503 \u2503 \u2523\u2501\u2501 @Override\n\u2503 \u2503 \u2523\u2501\u2501 void breathe()\n\u2503 \u2503 \u2523\u2501\u2501 @Override\n\u2503 \u2503 \u2523\u2501\u2501 public String communicate()\n\u2503 \u2503 \u2523\u2501\u2501 void greet()\n\u2503 \u2503 \u2523\u2501\u2501 String personalizedGreeting(String greeting, Optional<Boolean> includeAge)\n\u2503 \u2503 \u2523\u2501\u2501 @Singleton\n\u2503 \u2503 \u2523\u2501\u2501 @RestController\n\u2503 \u2503 \u2523\u2501\u2501 @SpringBootApplication\n\u2503 \u2503 \u2523\u2501\u2501 public class Example\n\u2503 \u2503 \u2523\u2501\u2501 @Inject\n\u2503 \u2503 \u2523\u2501\u2501 public Example(Person person)\n\u2503 \u2503 \u2523\u2501\u2501 @RequestMapping(\"/greet\")\n\u2503 \u2503 \u2523\u2501\u2501 String home(@RequestParam(value = \"name\", defaultValue = \"World\") String name,\n\u2503 \u2503 \u2503 @RequestParam(value = \"age\", defaultValue = \"30\") int age)\n\u2503 \u2503 \u2517\u2501\u2501 public static void main(String[] args)\n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 JuliaTest.jl (482 tokens, 63 lines)\n\u2503 \u2503 \u2523\u2501\u2501 module JuliaTest_EdgeCase\n\u2503 \u2503 \u2523\u2501\u2501 struct Location\n\u2503 \u2503 \u2503 name::String \n\u2503 \u2503 \u2503 lat::Float32\n\u2503 \u2503 \u2503 lon::Float32\n\u2503 \u2503 \u2503 end\n\u2503 \u2503 \u2523\u2501\u2501 mutable struct mPerson\n\u2503 \u2503 \u2503 name::String\n\u2503 \u2503 \u2503 age::Int\n\u2503 \u2503 \u2503 end\n\u2503 \u2503 \u2523\u2501\u2501 Base.@kwdef mutable struct Param\n\u2503 \u2503 \u2503 \u0394t::Float64 = 0.1\n\u2503 \u2503 \u2503 n::Int64\n\u2503 \u2503 \u2503 m::Int64\n\u2503 \u2503 \u2503 end\n\u2503 \u2503 \u2523\u2501\u2501 sic(x,y)\n\u2503 \u2503 \u2523\u2501\u2501 welcome(l::Location)\n\u2503 \u2503 \u2523\u2501\u2501 \u2211(\u03b1, \u03a9)\n\u2503 \u2503 \u2523\u2501\u2501 function noob()\n\u2503 \u2503 \u2503 end\n\u2503 \u2503 \u2523\u2501\u2501 function ye_olde(hello::String, world::Location)\n\u2503 \u2503 \u2503 end\n\u2503 \u2503 \u2523\u2501\u2501 function multiline_greet(\n\u2503 \u2503 \u2503 p::mPerson, \n\u2503 \u2503 \u2503 greeting::String\n\u2503 \u2503 \u2503 )\n\u2503 \u2503 \u2503 end\n\u2503 \u2503 \u2523\u2501\u2501 function julia_is_awesome(prob::DiffEqBase.AbstractDAEProblem{uType, duType, tType,\n\u2503 \u2503 \u2503 isinplace};\n\u2503 \u2503 \u2503 kwargs...) where {uType, duType, tType, isinplace}\n\u2503 \u2503 \u2503 end\n\u2503 \u2503 \u2517\u2501\u2501 end\n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 KotlinTest.kt (998 tokens, 172 lines)\n\u2503 \u2503 \u2523\u2501\u2501 data class Person(val name: String)\n\u2503 \u2503 \u2523\u2501\u2501 fun greet(person: Person)\n\u2503 \u2503 \u2523\u2501\u2501 fun <T> processItems(items: List<T>, processor: (T) -> Unit)\n\u2503 \u2503 \u2523\u2501\u2501 interface Source<out T>\n\u2503 \u2503 \u2523\u2501\u2501 fun nextT(): T\n\u2503 \u2503 \u2523\u2501\u2501 fun MutableList<Int>.swap(index1: Int, index2: Int)\n\u2503 \u2503 \u2523\u2501\u2501 fun Any?.toString(): String\n\u2503 \u2503 \u2523\u2501\u2501 tailrec fun findFixPoint(x: Double = 1.0): Double\n\u2503 \u2503 \u2523\u2501\u2501 class GenericRepository<T>\n\u2503 \u2503 \u2523\u2501\u2501 fun getItem(id: Int): T?\n\u2503 \u2503 \u2523\u2501\u2501 sealed interface Error\n\u2503 \u2503 \u2523\u2501\u2501 sealed class IOError(): Error\n\u2503 \u2503 \u2523\u2501\u2501 object Runner\n\u2503 \u2503 \u2523\u2501\u2501 inline fun <reified S: SomeClass<T>, T> run() : T\n\u2503 \u2503 \u2523\u2501\u2501 infix fun Int.shl(x: Int): Int\n\u2503 \u2503 \u2523\u2501\u2501 class MyStringCollection\n\u2503 \u2503 \u2523\u2501\u2501 infix fun add(s: String)\n\u2503 \u2503 \u2523\u2501\u2501 fun build()\n\u2503 \u2503 \u2523\u2501\u2501 open class Base(p: Int)\n\u2503 \u2503 \u2523\u2501\u2501 class Derived(p: Int) : Base(p)\n\u2503 \u2503 \u2523\u2501\u2501 open class Shape\n\u2503 \u2503 \u2523\u2501\u2501 open fun draw()\n\u2503 \u2503 \u2523\u2501\u2501 fun fill()\n\u2503 \u2503 \u2523\u2501\u2501 open fun edge(case: Int)\n\u2503 \u2503 \u2523\u2501\u2501 interface Thingy\n\u2503 \u2503 \u2523\u2501\u2501 fun edge()\n\u2503 \u2503 \u2523\u2501\u2501 class Circle() : Shape(), Thingy\n\u2503 \u2503 \u2523\u2501\u2501 override fun draw()\n\u2503 \u2503 \u2523\u2501\u2501 final override fun edge(case: Int)\n\u2503 \u2503 \u2523\u2501\u2501 interface Base\n\u2503 \u2503 \u2523\u2501\u2501 fun print()\n\u2503 \u2503 \u2523\u2501\u2501 class BaseImpl(val x: Int) : Base\n\u2503 \u2503 \u2523\u2501\u2501 override fun print()\n\u2503 \u2503 \u2523\u2501\u2501 internal class Derived(b: Base) : Base by b\n\u2503 \u2503 \u2523\u2501\u2501 class Person constructor(firstName: String)\n\u2503 \u2503 \u2523\u2501\u2501 class People(\n\u2503 \u2503 \u2503 firstNames: Array<String>,\n\u2503 \u2503 \u2503 ages: Array<Int>(42),\n\u2503 \u2503 \u2503 )\n\u2503 \u2503 \u2523\u2501\u2501 fun edgeCases(): Boolean\n\u2503 \u2503 \u2523\u2501\u2501 class Alien public @Inject constructor(\n\u2503 \u2503 \u2503 val firstName: String,\n\u2503 \u2503 \u2503 val lastName: String,\n\u2503 \u2503 \u2503 var age: Int,\n\u2503 \u2503 \u2503 val pets: MutableList<Pet> = mutableListOf(),\n\u2503 \u2503 \u2503 )\n\u2503 \u2503 \u2523\u2501\u2501 fun objectOriented(): String\n\u2503 \u2503 \u2523\u2501\u2501 enum class IntArithmetics : BinaryOperator<Int>, IntBinaryOperator\n\u2503 \u2503 \u2523\u2501\u2501 PLUS {\n\u2503 \u2503 \u2503 override fun apply(t: Int, u: Int): Int\n\u2503 \u2503 \u2523\u2501\u2501 TIMES {\n\u2503 \u2503 \u2503 override fun apply(t: Int, u: Int): Int\n\u2503 \u2503 \u2523\u2501\u2501 override fun applyAsInt(t: Int, u: Int)\n\u2503 \u2503 \u2523\u2501\u2501 fun reformat(\n\u2503 \u2503 \u2503 str: String,\n\u2503 \u2503 \u2503 normalizeCase: Boolean = true,\n\u2503 \u2503 \u2503 upperCaseFirstLetter: Boolean = true,\n\u2503 \u2503 \u2503 divideByCamelHumps: Boolean = false,\n\u2503 \u2503 \u2503 wordSeparator: Char = ' ',\n\u2503 \u2503 \u2503 )\n\u2503 \u2503 \u2523\u2501\u2501 operator fun Point.unaryMinus()\n\u2503 \u2503 \u2523\u2501\u2501 abstract class Polygon\n\u2503 \u2503 \u2517\u2501\u2501 abstract fun draw()\n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 lesson.cbl (682 tokens, 79 lines)\n\u2503 \u2503 \u2523\u2501\u2501 IDENTIFICATION DIVISION.\n\u2503 \u2503 \u2523\u2501\u2501 PROGRAM-ID. CBL0002.\n\u2503 \u2503 \u2523\u2501\u2501 AUTHOR. Otto B. Fun.\n\u2503 \u2503 \u2523\u2501\u2501 ENVIRONMENT DIVISION.\n\u2503 \u2503 \u2523\u2501\u2501 INPUT-OUTPUT SECTION.\n\u2503 \u2503 \u2523\u2501\u2501 FILE-CONTROL.\n\u2503 \u2503 \u2523\u2501\u2501 SELECT PRINT-LINE.\n\u2503 \u2503 \u2523\u2501\u2501 SELECT ACCT-REC.\n\u2503 \u2503 \u2523\u2501\u2501 DATA DIVISION.\n\u2503 \u2503 \u2523\u2501\u2501 FILE SECTION.\n\u2503 \u2503 \u2523\u2501\u2501 FD PRINT-LINE.\n\u2503 \u2503 \u2523\u2501\u2501 01 PRINT-REC.\n\u2503 \u2503 \u2523\u2501\u2501 05 ACCT-NO-O.\n\u2503 \u2503 \u2523\u2501\u2501 05 ACCT-LIMIT-O.\n\u2503 \u2503 \u2523\u2501\u2501 05 ACCT-BALANCE-O.\n\u2503 \u2503 \u2523\u2501\u2501 05 LAST-NAME-O.\n\u2503 \u2503 \u2523\u2501\u2501 05 FIRST-NAME-O.\n\u2503 \u2503 \u2523\u2501\u2501 05 COMMENTS-O.\n\u2503 \u2503 \u2523\u2501\u2501 FD ACCT-REC.\n\u2503 \u2503 \u2523\u2501\u2501 01 ACCT-FIELDS.\n\u2503 \u2503 \u2523\u2501\u2501 05 ACCT-NO.\n\u2503 \u2503 \u2523\u2501\u2501 05 ACCT-LIMIT.\n\u2503 \u2503 \u2523\u2501\u2501 05 ACCT-BALANCE.\n\u2503 \u2503 \u2523\u2501\u2501 05 LAST-NAME.\n\u2503 \u2503 \u2523\u2501\u2501 05 FIRST-NAME.\n\u2503 \u2503 \u2523\u2501\u2501 05 CLIENT-ADDR.\n\u2503 \u2503 \u2523\u2501\u2501 10 STREET-ADDR.\n\u2503 \u2503 \u2523\u2501\u2501 10 CITY-COUNTY.\n\u2503 \u2503 \u2523\u2501\u2501 10 USA-STATE.\n\u2503 \u2503 \u2523\u2501\u2501 05 RESERVED.\n\u2503 \u2503 \u2523\u2501\u2501 05 COMMENTS.\n\u2503 \u2503 \u2523\u2501\u2501 WORKING-STORAGE SECTION.\n\u2503 \u2503 \u2523\u2501\u2501 01 FLAGS.\n\u2503 \u2503 \u2523\u2501\u2501 05 LASTREC.\n\u2503 \u2503 \u2523\u2501\u2501 PROCEDURE DIVISION.\n\u2503 \u2503 \u2523\u2501\u2501 OPEN-FILES.\n\u2503 \u2503 \u2523\u2501\u2501 READ-NEXT-RECORD.\n\u2503 \u2503 \u2523\u2501\u2501 CLOSE-STOP.\n\u2503 \u2503 \u2523\u2501\u2501 READ-RECORD.\n\u2503 \u2503 \u2517\u2501\u2501 WRITE-RECORD.\n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 LuaTest.lua (84 tokens, 16 lines)\n\u2503 \u2503 \u2523\u2501\u2501 function HelloWorld.new\n\u2503 \u2503 \u2523\u2501\u2501 function HelloWorld.greet\n\u2503 \u2503 \u2517\u2501\u2501 function say_hello\n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 ObjectiveCTest.m (59 tokens, 16 lines)\n\u2503 \u2503 \u2523\u2501\u2501 @interface HelloWorld\n\u2503 \u2503 \u2523\u2501\u2501 @interface HelloWorld -> (void) sayHello\n\u2503 \u2503 \u2523\u2501\u2501 @implementation HelloWorld\n\u2503 \u2503 \u2523\u2501\u2501 @implementation HelloWorld -> (void) sayHello\n\u2503 \u2503 \u2517\u2501\u2501 void sayHelloWorld()\n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 OcamlTest.ml (53 tokens, 12 lines)\n\u2503 \u2503 \u2523\u2501\u2501 type color\n\u2503 \u2503 \u2523\u2501\u2501 class hello\n\u2503 \u2503 \u2523\u2501\u2501 class hello -> method say_hello\n\u2503 \u2503 \u2517\u2501\u2501 let main ()\n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 test.js (755 tokens, 154 lines)\n\u2503 \u2503 \u2523\u2501\u2501 class MyClass\n\u2503 \u2503 \u2523\u2501\u2501 myMethod()\n\u2503 \u2503 \u2523\u2501\u2501 async asyncMethod(a, b)\n\u2503 \u2503 \u2523\u2501\u2501 methodWithDefaultParameters(a = 5, b = 10)\n\u2503 \u2503 \u2523\u2501\u2501 multilineMethod(\n\u2503 \u2503 \u2503 c,\n\u2503 \u2503 \u2503 d\n\u2503 \u2503 \u2503 )\n\u2503 \u2503 \u2523\u2501\u2501 multilineMethodWithDefaults(\n\u2503 \u2503 \u2503 t = \"tree\",\n\u2503 \u2503 \u2503 p = \"plus\"\n\u2503 \u2503 \u2503 )\n\u2503 \u2503 \u2523\u2501\u2501 function myFunction(param1, param2)\n\u2503 \u2503 \u2523\u2501\u2501 function multilineFunction(\n\u2503 \u2503 \u2503 param1,\n\u2503 \u2503 \u2503 param2\n\u2503 \u2503 \u2503 )\n\u2503 \u2503 \u2523\u2501\u2501 const arrowFunction = () =>\n\u2503 \u2503 \u2523\u2501\u2501 const parametricArrow = (a, b) =>\n\u2503 \u2503 \u2523\u2501\u2501 function ()\n\u2503 \u2503 \u2523\u2501\u2501 function outerFunction(outerParam)\n\u2503 \u2503 \u2523\u2501\u2501 function innerFunction(innerParam)\n\u2503 \u2503 \u2523\u2501\u2501 const myObject = {\n\u2503 \u2503 \u2523\u2501\u2501 myMethod: function (stuff)\n\u2503 \u2503 \u2523\u2501\u2501 let myArrowObject = {\n\u2503 \u2503 \u2523\u2501\u2501 myArrow: ({\n\u2503 \u2503 \u2503 a,\n\u2503 \u2503 \u2503 b,\n\u2503 \u2503 \u2503 c,\n\u2503 \u2503 \u2503 }) =>\n\u2503 \u2503 \u2523\u2501\u2501 const myAsyncArrowFunction = async () =>\n\u2503 \u2503 \u2523\u2501\u2501 function functionWithRestParameters(...args)\n\u2503 \u2503 \u2523\u2501\u2501 const namedFunctionExpression = function myNamedFunction()\n\u2503 \u2503 \u2523\u2501\u2501 const multilineArrowFunction = (\n\u2503 \u2503 \u2503 a,\n\u2503 \u2503 \u2503 b\n\u2503 \u2503 \u2503 ) =>\n\u2503 \u2503 \u2523\u2501\u2501 function functionReturningFunction()\n\u2503 \u2503 \u2523\u2501\u2501 return function ()\n\u2503 \u2503 \u2523\u2501\u2501 function destructuringOnMultipleLines({\n\u2503 \u2503 \u2503 a,\n\u2503 \u2503 \u2503 b,\n\u2503 \u2503 \u2503 })\n\u2503 \u2503 \u2523\u2501\u2501 const arrowFunctionWithDestructuring = ({ a, b }) =>\n\u2503 \u2503 \u2523\u2501\u2501 const multilineDestructuringArrow = ({\n\u2503 \u2503 \u2503 a,\n\u2503 \u2503 \u2503 b,\n\u2503 \u2503 \u2503 }) =>\n\u2503 \u2503 \u2523\u2501\u2501 async function asyncFunctionWithErrorHandling()\n\u2503 \u2503 \u2523\u2501\u2501 class Car\n\u2503 \u2503 \u2523\u2501\u2501 constructor(brand)\n\u2503 \u2503 \u2523\u2501\u2501 present()\n\u2503 \u2503 \u2523\u2501\u2501 class Model extends Car\n\u2503 \u2503 \u2523\u2501\u2501 constructor(brand, mod)\n\u2503 \u2503 \u2517\u2501\u2501 show()\n\u2503 \u2517\u2501\u2501 \ud83d\udcc4 test.ts (871 tokens, 166 lines)\n\u2503 \u2523\u2501\u2501 type MyType\n\u2503 \u2523\u2501\u2501 interface MyInterface\n\u2503 \u2523\u2501\u2501 class TsClass\n\u2503 \u2523\u2501\u2501 myMethod()\n\u2503 \u2523\u2501\u2501 myMethodWithArgs(param1: string, param2: number): void\n\u2503 \u2523\u2501\u2501 static myStaticMethod<T>(param: T): T\n\u2503 \u2523\u2501\u2501 multilineMethod(\n\u2503 \u2503 c: number,\n\u2503 \u2503 d: number\n\u2503 \u2503 ): number\n\u2503 \u2523\u2501\u2501 multilineMethodWithDefaults(\n\u2503 \u2503 t: string = \"tree\",\n\u2503 \u2503 p: string = \"plus\"\n\u2503 \u2503 ): string\n\u2503 \u2523\u2501\u2501 export class AdvancedComponent implements MyInterface\n\u2503 \u2523\u2501\u2501 async myAsyncMethod(\n\u2503 \u2503 a: string,\n\u2503 \u2503 b: number,\n\u2503 \u2503 c: string\n\u2503 \u2503 ): Promise<void>\n\u2503 \u2523\u2501\u2501 genericMethod<T, U>(\n\u2503 \u2503 arg1: T,\n\u2503 \u2503 arg2: U\n\u2503 \u2503 ): [T, U]\n\u2503 \u2523\u2501\u2501 export class TicketsComponent implements MyInterface\n\u2503 \u2523\u2501\u2501 async myAsyncMethod({ a, b, c }: { a: String; b: Number; c: String })\n\u2503 \u2523\u2501\u2501 function tsFunction()\n\u2503 \u2523\u2501\u2501 function tsFunctionSigned(\n\u2503 \u2503 param1: number,\n\u2503 \u2503 param2: number\n\u2503 \u2503 ): void\n\u2503 \u2523\u2501\u2501 export default async function tsFunctionComplicated<A, B, C>({\n\u2503 \u2503 a = 1 | 2,\n\u2503 \u2503 b = \"bob\",\n\u2503 \u2503 c = async () => \"charlie\",\n\u2503 \u2503 }: {\n\u2503 \u2503 a: number;\n\u2503 \u2503 b: string;\n\u2503 \u2503 c: () => Promise<string>;\n\u2503 \u2503 }): Promise<string>\n\u2503 \u2523\u2501\u2501 const tsArrowFunctionSigned = ({\n\u2503 \u2503 a,\n\u2503 \u2503 b,\n\u2503 \u2503 }: {\n\u2503 \u2503 a: number;\n\u2503 \u2503 b: string;\n\u2503 \u2503 }) =>\n\u2503 \u2523\u2501\u2501 export const tsComplicatedArrow = async ({\n\u2503 \u2503 a = 1 | 2,\n\u2503 \u2503 b = \"bob\",\n\u2503 \u2503 c = async () => \"charlie\",\n\u2503 \u2503 }: {\n\u2503 \u2503 a: number;\n\u2503 \u2503 b: string;\n\u2503 \u2503 c: () => Promise<string>;\n\u2503 \u2503 }): Promise<string> =>\n\u2503 \u2523\u2501\u2501 const arrowFunction = () =>\n\u2503 \u2523\u2501\u2501 const arrow = (a: String, b: Number) =>\n\u2503 \u2523\u2501\u2501 const asyncArrowFunction = async () =>\n\u2503 \u2523\u2501\u2501 const asyncArrow = async (a: String, b: Number) =>\n\u2503 \u2523\u2501\u2501 let weirdArrow = () =>\n\u2503 \u2523\u2501\u2501 const asyncPromiseArrow = async (): Promise<void> =>\n\u2503 \u2523\u2501\u2501 let myWeirdArrowSigned = (x: number): number =>\n\u2503 \u2523\u2501\u2501 class Person\n\u2503 \u2523\u2501\u2501 constructor(private firstName: string, private lastName: string)\n\u2503 \u2523\u2501\u2501 getFullName(): string\n\u2503 \u2523\u2501\u2501 describe(): string\n\u2503 \u2523\u2501\u2501 class Employee extends Person\n\u2503 \u2523\u2501\u2501 constructor(\n\u2503 \u2503 firstName: string,\n\u2503 \u2503 lastName: string,\n\u2503 \u2503 private jobTitle: string\n\u2503 \u2503 )\n\u2503 \u2523\u2501\u2501 describe(): string\n\u2503 \u2523\u2501\u2501 interface Shape\n\u2503 \u2517\u2501\u2501 interface Square extends Shape\n\u2523\u2501\u2501 \ud83d\udcc1 group2 (1 folder, 8 files) \n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 apl_test.apl (44 tokens, 5 lines)\n\u2503 \u2503 \u2523\u2501\u2501 :Namespace HelloWorld\n\u2503 \u2503 \u2523\u2501\u2501 :Namespace HelloWorld -> hello \u2190 'Hello, World!'\n\u2503 \u2503 \u2517\u2501\u2501 :Namespace HelloWorld -> plus \u2190 {\u237a+\u2375}\n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 c_test.c (886 tokens, 142 lines)\n\u2503 \u2503 \u2523\u2501\u2501 struct Point\n\u2503 \u2503 \u2523\u2501\u2501 struct Point getOrigin()\n\u2503 \u2503 \u2523\u2501\u2501 float mul_two_floats(float x1, float x2)\n\u2503 \u2503 \u2523\u2501\u2501 enum days\n\u2503 \u2503 \u2523\u2501\u2501 long add_two_longs(long x1, long x2)\n\u2503 \u2503 \u2523\u2501\u2501 double multiplyByTwo(double num)\n\u2503 \u2503 \u2523\u2501\u2501 char getFirstCharacter(char *str)\n\u2503 \u2503 \u2523\u2501\u2501 void greet(Person p)\n\u2503 \u2503 \u2523\u2501\u2501 typedef struct Person\n\u2503 \u2503 \u2523\u2501\u2501 int main()\n\u2503 \u2503 \u2523\u2501\u2501 int* getArrayStart(int arr[], int size)\n\u2503 \u2503 \u2523\u2501\u2501 long complexFunctionWithMultipleArguments(\n\u2503 \u2503 \u2503 int param1,\n\u2503 \u2503 \u2503 double param2,\n\u2503 \u2503 \u2503 char *param3,\n\u2503 \u2503 \u2503 struct Point point\n\u2503 \u2503 \u2503 )\n\u2503 \u2503 \u2523\u2501\u2501 keyPattern *ACLKeyPatternCreate(sds pattern, int flags)\n\u2503 \u2503 \u2523\u2501\u2501 sds sdsCatPatternString(sds base, keyPattern *pat)\n\u2503 \u2503 \u2523\u2501\u2501 static int ACLCheckChannelAgainstList(list *reference, const char *channel, int channellen, int is_pattern)\n\u2503 \u2503 \u2523\u2501\u2501 while((ln = listNext(&li)))\n\u2503 \u2503 \u2517\u2501\u2501 static struct config\n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 go_test.go (169 tokens, 46 lines)\n\u2503 \u2503 \u2523\u2501\u2501 type Greeting struct\n\u2503 \u2503 \u2523\u2501\u2501 func (g Greeting) sayHello()\n\u2503 \u2503 \u2523\u2501\u2501 func createGreeting(m string) Greeting\n\u2503 \u2503 \u2523\u2501\u2501 type SomethingLong struct\n\u2503 \u2503 \u2523\u2501\u2501 func (s *SomethingLong) WithAReasonableName(\n\u2503 \u2503 \u2503 ctx context.Context,\n\u2503 \u2503 \u2503 param1 string,\n\u2503 \u2503 \u2503 param2 int,\n\u2503 \u2503 \u2503 param3 map[string]interface{},\n\u2503 \u2503 \u2503 callback func(int) error,\n\u2503 \u2503 \u2503 ) (resultType, error)\n\u2503 \u2503 \u2523\u2501\u2501 type resultType struct\n\u2503 \u2503 \u2517\u2501\u2501 func main()\n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 PerlTest.pl (75 tokens, 20 lines)\n\u2503 \u2503 \u2523\u2501\u2501 package PerlTest\n\u2503 \u2503 \u2523\u2501\u2501 package PerlTest -> sub new\n\u2503 \u2503 \u2523\u2501\u2501 package PerlTest -> sub hello\n\u2503 \u2503 \u2517\u2501\u2501 package PerlTest -> sub say_hello\n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 PhpTest.php (74 tokens, 19 lines)\n\u2503 \u2503 \u2523\u2501\u2501 class HelloWorld\n\u2503 \u2503 \u2523\u2501\u2501 class HelloWorld -> function sayHello\n\u2503 \u2503 \u2523\u2501\u2501 function greet\n\u2503 \u2503 \u2523\u2501\u2501 class Person\n\u2503 \u2503 \u2517\u2501\u2501 class Person -> function __construct\n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 PowershellTest.ps1 (523 tokens, 89 lines)\n\u2503 \u2503 \u2523\u2501\u2501 function Say-Nothing()\n\u2503 \u2503 \u2523\u2501\u2501 class Person\n\u2503 \u2503 \u2523\u2501\u2501 Person([string]$name)\n\u2503 \u2503 \u2523\u2501\u2501 [string]Greet()\n\u2503 \u2503 \u2523\u2501\u2501 [string]GreetMany([int]$times)\n\u2503 \u2503 \u2523\u2501\u2501 [string]GreetWithDetails([string]$greeting, [int]$times)\n\u2503 \u2503 \u2523\u2501\u2501 [string]GreetMultiline(\n\u2503 \u2503 \u2503 [string]$greeting,\n\u2503 \u2503 \u2503 [int]$times\n\u2503 \u2503 \u2503 )\n\u2503 \u2503 \u2523\u2501\u2501 NoReturn([int]$times)\n\u2503 \u2503 \u2523\u2501\u2501 NoReturnNoArgs()\n\u2503 \u2503 \u2523\u2501\u2501 function Say-Hello([Person]$person)\n\u2503 \u2503 \u2523\u2501\u2501 function Multi-Hello([Person]$personA, [Person]$personB)\n\u2503 \u2503 \u2523\u2501\u2501 function Switch-Item\n\u2503 \u2503 \u2523\u2501\u2501 param ([switch]$on)\n\u2503 \u2503 \u2523\u2501\u2501 function Get-SmallFiles\n\u2503 \u2503 \u2523\u2501\u2501 param (\n\u2503 \u2503 \u2503 [PSDefaultValue(Help = '100')]\n\u2503 \u2503 \u2503 $Size = 100)\n\u2503 \u2503 \u2523\u2501\u2501 function Get-User\n\u2503 \u2503 \u2523\u2501\u2501 [CmdletBinding(DefaultParameterSetName=\"ID\")]\n\u2503 \u2503 \u2523\u2501\u2501 [OutputType(\"System.Int32\", ParameterSetName=\"ID\")]\n\u2503 \u2503 \u2523\u2501\u2501 [OutputType([String], ParameterSetName=\"Name\")]\n\u2503 \u2503 \u2523\u2501\u2501 Param (\n\u2503 \u2503 \u2503 [parameter(Mandatory=$true, ParameterSetName=\"ID\")]\n\u2503 \u2503 \u2503 [Int[]]\n\u2503 \u2503 \u2503 $UserID,\n\u2503 \u2503 \u2503 [parameter(Mandatory=$true, ParameterSetName=\"Name\")]\n\u2503 \u2503 \u2503 [String[]]\n\u2503 \u2503 \u2503 $UserName)\n\u2503 \u2503 \u2523\u2501\u2501 filter Get-ErrorLog ([switch]$Message)\n\u2503 \u2503 \u2517\u2501\u2501 function global:MultilineSignature(\n\u2503 \u2503 [string]$param1,\n\u2503 \u2503 [int]$param2,\n\u2503 \u2503 [Parameter(Mandatory=$true)]\n\u2503 \u2503 [string]$param3\n\u2503 \u2503 )\n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 ScalaTest.scala (217 tokens, 41 lines)\n\u2503 \u2503 \u2523\u2501\u2501 def sumOfSquares(x: Int, y: Int): Int\n\u2503 \u2503 \u2523\u2501\u2501 trait Bark\n\u2503 \u2503 \u2523\u2501\u2501 def bark: String\n\u2503 \u2503 \u2523\u2501\u2501 case class Person(name: String)\n\u2503 \u2503 \u2523\u2501\u2501 class GenericClass[T](\n\u2503 \u2503 \u2503 val data: T,\n\u2503 \u2503 \u2503 val count: Int\n\u2503 \u2503 \u2503 )\n\u2503 \u2503 \u2523\u2501\u2501 def getData: T\n\u2503 \u2503 \u2523\u2501\u2501 object HelloWorld\n\u2503 \u2503 \u2523\u2501\u2501 def greet(person: Person): Unit\n\u2503 \u2503 \u2523\u2501\u2501 def main(args: Array[String]): Unit\n\u2503 \u2503 \u2523\u2501\u2501 def complexFunction(\n\u2503 \u2503 \u2503 a: Int,\n\u2503 \u2503 \u2503 b: String,\n\u2503 \u2503 \u2503 c: Float\n\u2503 \u2503 \u2503 ): (Int, String) Option\n\u2503 \u2503 \u2517\u2501\u2501 def sumOfSquaresShort(x: Int, y: Int): Int\n\u2503 \u2517\u2501\u2501 \ud83d\udcc4 test.csv\n\u2503 \u2523\u2501\u2501 Name\n\u2503 \u2523\u2501\u2501 Age\n\u2503 \u2523\u2501\u2501 Country\n\u2503 \u2523\u2501\u2501 City\n\u2503 \u2517\u2501\u2501 Email\n\u2523\u2501\u2501 \ud83d\udcc1 group3 (1 folder, 16 files) \n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 bash_test.sh (154 tokens, 23 lines)\n\u2503 \u2503 \u2523\u2501\u2501 echo_hello_world()\n\u2503 \u2503 \u2523\u2501\u2501 function fun_echo_hello_world()\n\u2503 \u2503 \u2523\u2501\u2501 export SECRET\n\u2503 \u2503 \u2523\u2501\u2501 alias md='make debug'\n\u2503 \u2503 \u2523\u2501\u2501 add_alias()\n\u2503 \u2503 \u2517\u2501\u2501 create_conda_env()\n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 cpp_test.cpp (1,737 tokens, 259 lines)\n\u2503 \u2503 \u2523\u2501\u2501 class Person\n\u2503 \u2503 \u2523\u2501\u2501 public:\n\u2503 \u2503 \u2523\u2501\u2501 Person(std::string n) : name(n)\n\u2503 \u2503 \u2523\u2501\u2501 void greet()\n\u2503 \u2503 \u2523\u2501\u2501 void globalGreet()\n\u2503 \u2503 \u2523\u2501\u2501 int main()\n\u2503 \u2503 \u2523\u2501\u2501 void printMessage(const std::string &message)\n\u2503 \u2503 \u2523\u2501\u2501 template<typename T>\n\u2503 \u2503 \u2523\u2501\u2501 void printVector(const std::vector<T>& vec)\n\u2503 \u2503 \u2523\u2501\u2501 struct Point\n\u2503 \u2503 \u2523\u2501\u2501 Point(int x, int y) : x(x), y(y)\n\u2503 \u2503 \u2523\u2501\u2501 class Animal\n\u2503 \u2503 \u2523\u2501\u2501 public:\n\u2503 \u2503 \u2523\u2501\u2501 Animal(const std::string &name) : name(name)\n\u2503 \u2503 \u2523\u2501\u2501 virtual void speak() const\n\u2503 \u2503 \u2523\u2501\u2501 virtual ~Animal()\n\u2503 \u2503 \u2523\u2501\u2501 class Dog : public Animal\n\u2503 \u2503 \u2523\u2501\u2501 public:\n\u2503 \u2503 \u2523\u2501\u2501 Dog(const std::string &name) : Animal(name)\n\u2503 \u2503 \u2523\u2501\u2501 void speak() const override\n\u2503 \u2503 \u2523\u2501\u2501 class Cat : public Animal\n\u2503 \u2503 \u2523\u2501\u2501 public:\n\u2503 \u2503 \u2523\u2501\u2501 Cat(const std::string &name) : Animal(name)\n\u2503 \u2503 \u2523\u2501\u2501 void speak() const override\n\u2503 \u2503 \u2523\u2501\u2501 nb::bytes BuildRnnDescriptor(int input_size, int hidden_size, int num_layers,\n\u2503 \u2503 \u2503 int batch_size, int max_seq_length, float dropout,\n\u2503 \u2503 \u2503 bool bidirectional, bool cudnn_allow_tf32,\n\u2503 \u2503 \u2503 int workspace_size, int reserve_space_size)\n\u2503 \u2503 \u2523\u2501\u2501 int main()\n\u2503 \u2503 \u2523\u2501\u2501 enum ECarTypes\n\u2503 \u2503 \u2523\u2501\u2501 ECarTypes GetPreferredCarType()\n\u2503 \u2503 \u2523\u2501\u2501 enum ECarTypes : uint8_t\n\u2503 \u2503 \u2523\u2501\u2501 enum class ECarTypes : uint8_t\n\u2503 \u2503 \u2523\u2501\u2501 void myFunction(string fname, int age)\n\u2503 \u2503 \u2523\u2501\u2501 template <typename T> T cos(T)\n\u2503 \u2503 \u2523\u2501\u2501 template <typename T> T sin(T)\n\u2503 \u2503 \u2523\u2501\u2501 template <typename T> T sqrt(T)\n\u2503 \u2503 \u2523\u2501\u2501 template<typename T> struct VLEN\n\u2503 \u2503 \u2523\u2501\u2501 template<typename T> class arr\n\u2503 \u2503 \u2523\u2501\u2501 private:\n\u2503 \u2503 \u2523\u2501\u2501 static T *ralloc(size_t num)\n\u2503 \u2503 \u2523\u2501\u2501 static void dealloc(T *ptr)\n\u2503 \u2503 \u2523\u2501\u2501 static T *ralloc(size_t num)\n\u2503 \u2503 \u2523\u2501\u2501 static void dealloc(T *ptr)\n\u2503 \u2503 \u2523\u2501\u2501 public:\n\u2503 \u2503 \u2523\u2501\u2501 arr() : p(0), sz(0)\n\u2503 \u2503 \u2523\u2501\u2501 arr(size_t n) : p(ralloc(n)), sz(n)\n\u2503 \u2503 \u2523\u2501\u2501 arr(arr &&other)\n\u2503 \u2503 \u2503 : p(other.p), sz(other.sz)\n\u2503 \u2503 \u2523\u2501\u2501 ~arr()\n\u2503 \u2503 \u2523\u2501\u2501 void resize(size_t n)\n\u2503 \u2503 \u2523\u2501\u2501 T &operator[](size_t idx)\n\u2503 \u2503 \u2523\u2501\u2501 T *data()\n\u2503 \u2503 \u2523\u2501\u2501 size_t size() const\n\u2503 \u2503 \u2523\u2501\u2501 class Buffer\n\u2503 \u2503 \u2517\u2501\u2501 std::tuple<array, array, array> quantize(\n\u2503 \u2503 const array& w,\n\u2503 \u2503 int group_size,\n\u2503 \u2503 int bits,\n\u2503 \u2503 StreamOrDevice s)\n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 csharp_test.cs (850 tokens, 147 lines)\n\u2503 \u2503 \u2523\u2501\u2501 public interface IExcelTemplate\n\u2503 \u2503 \u2523\u2501\u2501 void LoadTemplate(string templateFilePath)\n\u2503 \u2503 \u2523\u2501\u2501 void LoadData(Dictionary<string, string> data)\n\u2503 \u2503 \u2523\u2501\u2501 void ModifyCell(string cellName, string value)\n\u2503 \u2503 \u2523\u2501\u2501 void SaveToFile(string filePath)\n\u2503 \u2503 \u2523\u2501\u2501 public interface IGreet\n\u2503 \u2503 \u2523\u2501\u2501 void Greet()\n\u2503 \u2503 \u2523\u2501\u2501 public enum WeekDays\n\u2503 \u2503 \u2523\u2501\u2501 public delegate void DisplayMessage(string message)\n\u2503 \u2503 \u2523\u2501\u2501 public struct Address\n\u2503 \u2503 \u2523\u2501\u2501 public static class HelperFunctions\n\u2503 \u2503 \u2523\u2501\u2501 public static void PrintMessage(string message)\n\u2503 \u2503 \u2523\u2501\u2501 public static int AddNumbers(int a, int b)\n\u2503 \u2503 \u2523\u2501\u2501 namespace HelloWorldApp\n\u2503 \u2503 \u2523\u2501\u2501 class Person : IGreet\n\u2503 \u2503 \u2523\u2501\u2501 public Person(string name, int age)\n\u2503 \u2503 \u2523\u2501\u2501 public void Greet()\n\u2503 \u2503 \u2523\u2501\u2501 class HelloWorld\n\u2503 \u2503 \u2523\u2501\u2501 static void Main(string[] args)\n\u2503 \u2503 \u2523\u2501\u2501 namespace TemplateToExcelServer.Template\n\u2503 \u2503 \u2523\u2501\u2501 public interface ITemplateObject\n\u2503 \u2503 \u2523\u2501\u2501 string[,] GetContent()\n\u2503 \u2503 \u2523\u2501\u2501 string[] GetContentArray()\n\u2503 \u2503 \u2523\u2501\u2501 string[] GetFormat()\n\u2503 \u2503 \u2523\u2501\u2501 int? GetFormatLength()\n\u2503 \u2503 \u2523\u2501\u2501 TemplateObject SetContent(string[,] Content)\n\u2503 \u2503 \u2523\u2501\u2501 TemplateObject SetContentArray(string[] value)\n\u2503 \u2503 \u2523\u2501\u2501 TemplateObject SetFormat(string[] Header)\n\u2503 \u2503 \u2523\u2501\u2501 TemplateObject SetNameOfReport(\n\u2503 \u2503 \u2503 ReadOnlyMemory<byte> ReportName,\n\u2503 \u2503 \u2503 int[] EdgeCase)\n\u2503 \u2503 \u2523\u2501\u2501 TemplateObject SetSheetName(ReadOnlyMemory<byte> SheetName)\n\u2503 \u2503 \u2523\u2501\u2501 public class BankAccount(string accountID, string owner)\n\u2503 \u2503 \u2523\u2501\u2501 public override string ToString() =>\n\u2503 \u2503 \u2523\u2501\u2501 var IncrementBy = (int source, int increment = 1) =>\n\u2503 \u2503 \u2523\u2501\u2501 Func<int, int, int> add = (x, y) =>\n\u2503 \u2503 \u2523\u2501\u2501 button.Click += (sender, args) =>\n\u2503 \u2503 \u2523\u2501\u2501 public Func<int, int> GetMultiplier(int factor)\n\u2503 \u2503 \u2523\u2501\u2501 public void Method(\n\u2503 \u2503 \u2503 int param1,\n\u2503 \u2503 \u2503 int param2,\n\u2503 \u2503 \u2503 int param3,\n\u2503 \u2503 \u2503 int param4,\n\u2503 \u2503 \u2503 int param5,\n\u2503 \u2503 \u2503 int param6,\n\u2503 \u2503 \u2503 )\n\u2503 \u2503 \u2523\u2501\u2501 System.Net.ServicePointManager.ServerCertificateValidationCallback +=\n\u2503 \u2503 \u2503 (se, cert, chain, sslerror) =>\n\u2503 \u2503 \u2523\u2501\u2501 class ServerCertificateValidation\n\u2503 \u2503 \u2523\u2501\u2501 public bool OnRemoteCertificateValidation(\n\u2503 \u2503 \u2503 object se,\n\u2503 \u2503 \u2503 X509Certificate cert,\n\u2503 \u2503 \u2503 X509Chain chain,\n\u2503 \u2503 \u2503 SslPolicyErrors sslerror\n\u2503 \u2503 \u2503 )\n\u2503 \u2503 \u2523\u2501\u2501 s_downloadButton.Clicked += async (o, e) =>\n\u2503 \u2503 \u2523\u2501\u2501 [HttpGet, Route(\"DotNetCount\")]\n\u2503 \u2503 \u2517\u2501\u2501 static public async Task<int> GetDotNetCount(string URL)\n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 hallucination.tex (1,465 tokens, 127 lines)\n\u2503 \u2503 \u2523\u2501\u2501 Harnessing the Master Algorithm: Strategies for AI LLMs to Mitigate Hallucinations\n\u2503 \u2503 \u2523\u2501\u2501 Hallucinated Pedro Domingos et al.\n\u2503 \u2503 \u2523\u2501\u2501 Christmas Eve 2023\n\u2503 \u2503 \u2523\u2501\u2501 1 Introduction\n\u2503 \u2503 \u2523\u2501\u2501 2 Representation in LLMs\n\u2503 \u2503 \u2523\u2501\u2501 2.1 Current Representational Models\n\u2503 \u2503 \u2523\u2501\u2501 2.2 Incorporating Cognitive Structures\n\u2503 \u2503 \u2523\u2501\u2501 2.3 Conceptual Diagrams of Advanced Representational Models\n\u2503 \u2503 \u2523\u2501\u2501 3 Evaluation Strategies\n\u2503 \u2503 \u2523\u2501\u2501 3.1 Existing Evaluation Metrics for LLMs\n\u2503 \u2503 \u2523\u2501\u2501 3.2 Integrating Contextual and Ethical Considerations\n\u2503 \u2503 \u2523\u2501\u2501 3.3 Case Studies: Evaluation in Practice\n\u2503 \u2503 \u2523\u2501\u2501 4 Optimization Techniques\n\u2503 \u2503 \u2523\u2501\u2501 4.1 Continuous Learning Models\n\u2503 \u2503 \u2523\u2501\u2501 4.2 Adaptive Algorithms for Real-time Adjustments\n\u2503 \u2503 \u2523\u2501\u2501 4.3 Performance Metrics Pre- and Post-Optimization\n\u2503 \u2503 \u2523\u2501\u2501 5 Interdisciplinary Insights\n\u2503 \u2503 \u2523\u2501\u2501 5.1 Cognitive Science and AI: A Symbiotic Relationship\n\u2503 \u2503 \u2523\u2501\u2501 5.2 Learning from Human Cognitive Processes\n\u2503 \u2503 \u2523\u2501\u2501 6 Challenges and Future Directions\n\u2503 \u2503 \u2523\u2501\u2501 6.1 Addressing Current Limitations\n\u2503 \u2503 \u2523\u2501\u2501 6.2 The Road Ahead: Ethical and Practical Considerations\n\u2503 \u2503 \u2523\u2501\u2501 7 Conclusion\n\u2503 \u2503 \u2523\u2501\u2501 7.1 Summarizing Key Findings\n\u2503 \u2503 \u2517\u2501\u2501 7.2 The Next Steps in AI Development\n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 ruby_test.rb (157 tokens, 37 lines)\n\u2503 \u2503 \u2523\u2501\u2501 module Greeter\n\u2503 \u2503 \u2523\u2501\u2501 def self.say_hello\n\u2503 \u2503 \u2523\u2501\u2501 class HelloWorld\n\u2503 \u2503 \u2523\u2501\u2501 def say_hello\n\u2503 \u2503 \u2523\u2501\u2501 class Human\n\u2503 \u2503 \u2523\u2501\u2501 def self.bar\n\u2503 \u2503 \u2523\u2501\u2501 def self.bar=(value)\n\u2503 \u2503 \u2523\u2501\u2501 class Doctor < Human\n\u2503 \u2503 \u2517\u2501\u2501 def brachial_plexus(\n\u2503 \u2503 roots,\n\u2503 \u2503 trunks,\n\u2503 \u2503 divisions: true,\n\u2503 \u2503 cords: [],\n\u2503 \u2503 branches: Time.now\n\u2503 \u2503 )\n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 swift_test.swift (525 tokens, 110 lines)\n\u2503 \u2503 \u2523\u2501\u2501 class Person\n\u2503 \u2503 \u2523\u2501\u2501 init(name: String)\n\u2503 \u2503 \u2523\u2501\u2501 func greet()\n\u2503 \u2503 \u2523\u2501\u2501 func yEdgeCase(\n\u2503 \u2503 \u2503 fname: String, \n\u2503 \u2503 \u2503 lname: String, \n\u2503 \u2503 \u2503 age: Int,\n\u2503 \u2503 \u2503 address: String, \n\u2503 \u2503 \u2503 phoneNumber: String\n\u2503 \u2503 \u2503 )\n\u2503 \u2503 \u2523\u2501\u2501 func globalGreet()\n\u2503 \u2503 \u2523\u2501\u2501 struct Point\n\u2503 \u2503 \u2523\u2501\u2501 protocol Animal\n\u2503 \u2503 \u2523\u2501\u2501 func speak()\n\u2503 \u2503 \u2523\u2501\u2501 struct Dog: Animal\n\u2503 \u2503 \u2523\u2501\u2501 class Cat: Animal\n\u2503 \u2503 \u2523\u2501\u2501 init(name: String)\n\u2503 \u2503 \u2523\u2501\u2501 func speak()\n\u2503 \u2503 \u2523\u2501\u2501 enum CarType\n\u2503 \u2503 \u2523\u2501\u2501 func getPreferredCarType() -> CarType\n\u2503 \u2503 \u2523\u2501\u2501 enum CarType: UInt8\n\u2503 \u2503 \u2523\u2501\u2501 enum class CarType: UInt8\n\u2503 \u2503 \u2523\u2501\u2501 func myFunction(fname: String, age: Int)\n\u2503 \u2503 \u2517\u2501\u2501 func myFunctionWithMultipleParameters(\n\u2503 \u2503 fname: String, \n\u2503 \u2503 lname: String, \n\u2503 \u2503 age: Int, \n\u2503 \u2503 address: String, \n\u2503 \u2503 phoneNumber: String\n\u2503 \u2503 )\n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 test.lean (384 tokens, 43 lines)\n\u2503 \u2503 \u2523\u2501\u2501 # Advanced Topics in Group Theory\n\u2503 \u2503 \u2523\u2501\u2501 section GroupDynamics\n\u2503 \u2503 \u2523\u2501\u2501 lemma group_stability (G : Type*) [Group G] (H : Subgroup G)\n\u2503 \u2503 \u2523\u2501\u2501 theorem subgroup_closure {G : Type*} [Group G] (S : Set G)\n\u2503 \u2503 \u2523\u2501\u2501 axiom group_homomorphism_preservation {G H : Type*} [Group G] [Group H] (f : G \u2192 H)\n\u2503 \u2503 \u2523\u2501\u2501 end GroupDynamics\n\u2503 \u2503 \u2523\u2501\u2501 section ConstructiveApproach\n\u2503 \u2503 \u2523\u2501\u2501 lemma finite_group_order (G : Type*) [Group G] [Fintype G]\n\u2503 \u2503 \u2523\u2501\u2501 lemma complex_lemma {X Y : Type*} [SomeClass X] [AnotherClass Y]\n\u2503 \u2503 \u2503 (f : X \u2192 Y) (g : Y \u2192 X)\n\u2503 \u2503 \u2517\u2501\u2501 end ConstructiveApproach\n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 test.capnp (143 tokens, 31 lines)\n\u2503 \u2503 \u2523\u2501\u2501 struct Employee\n\u2503 \u2503 \u2523\u2501\u2501 id @0 :Int32\n\u2503 \u2503 \u2523\u2501\u2501 name @1 :Text\n\u2503 \u2503 \u2523\u2501\u2501 role @2 :Text\n\u2503 \u2503 \u2523\u2501\u2501 skills @3 :List(Skill)\n\u2503 \u2503 \u2523\u2501\u2501 struct Skill\n\u2503 \u2503 \u2523\u2501\u2501 name @0 :Text\n\u2503 \u2503 \u2523\u2501\u2501 level @1 :Level\n\u2503 \u2503 \u2523\u2501\u2501 enum Level\n\u2503 \u2503 \u2523\u2501\u2501 beginner @0\n\u2503 \u2503 \u2523\u2501\u2501 intermediate @1\n\u2503 \u2503 \u2523\u2501\u2501 expert @2\n\u2503 \u2503 \u2523\u2501\u2501 status :union\n\u2503 \u2503 \u2523\u2501\u2501 active @4 :Void\n\u2503 \u2503 \u2523\u2501\u2501 onLeave @5 :Void\n\u2503 \u2503 \u2523\u2501\u2501 retired @6 :Void\n\u2503 \u2503 \u2523\u2501\u2501 struct Company\n\u2503 \u2503 \u2517\u2501\u2501 employees @0 :List(Employee)\n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 test.graphql (83 tokens, 21 lines)\n\u2503 \u2503 \u2523\u2501\u2501 type Query\n\u2503 \u2503 \u2523\u2501\u2501 getBooks: [Book]\n\u2503 \u2503 \u2523\u2501\u2501 getAuthors: [Author]\n\u2503 \u2503 \u2523\u2501\u2501 type Mutation\n\u2503 \u2503 \u2523\u2501\u2501 addBook(title: String, author: String): Book\n\u2503 \u2503 \u2523\u2501\u2501 removeBook(id: ID): Book\n\u2503 \u2503 \u2523\u2501\u2501 type Book\n\u2503 \u2503 \u2523\u2501\u2501 id: ID\n\u2503 \u2503 \u2523\u2501\u2501 title: String\n\u2503 \u2503 \u2523\u2501\u2501 author: Author\n\u2503 \u2503 \u2523\u2501\u2501 type Author\n\u2503 \u2503 \u2523\u2501\u2501 id: ID\n\u2503 \u2503 \u2523\u2501\u2501 name: String\n\u2503 \u2503 \u2517\u2501\u2501 books: [Book]\n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 test.proto (150 tokens, 34 lines)\n\u2503 \u2503 \u2523\u2501\u2501 syntax = \"proto3\"\n\u2503 \u2503 \u2523\u2501\u2501 service EmployeeService\n\u2503 \u2503 \u2523\u2501\u2501 rpc GetEmployee(EmployeeId) returns (EmployeeInfo)\n\u2503 \u2503 \u2523\u2501\u2501 rpc AddEmployee(EmployeeData) returns (EmployeeInfo)\n\u2503 \u2503 \u2523\u2501\u2501 rpc UpdateEmployee(EmployeeUpdate) returns (EmployeeInfo)\n\u2503 \u2503 \u2523\u2501\u2501 message EmployeeId\n\u2503 \u2503 \u2523\u2501\u2501 int32 id = 1\n\u2503 \u2503 \u2523\u2501\u2501 message EmployeeInfo\n\u2503 \u2503 \u2523\u2501\u2501 int32 id = 1\n\u2503 \u2503 \u2523\u2501\u2501 string name = 2\n\u2503 \u2503 \u2523\u2501\u2501 string role = 3\n\u2503 \u2503 \u2523\u2501\u2501 message EmployeeData\n\u2503 \u2503 \u2523\u2501\u2501 string name = 1\n\u2503 \u2503 \u2523\u2501\u2501 string role = 2\n\u2503 \u2503 \u2523\u2501\u2501 message EmployeeUpdate\n\u2503 \u2503 \u2523\u2501\u2501 int32 id = 1\n\u2503 \u2503 \u2523\u2501\u2501 string name = 2\n\u2503 \u2503 \u2517\u2501\u2501 string role = 3\n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 test.sqlite\n\u2503 \u2503 \u2523\u2501\u2501 students table:\n\u2503 \u2503 \u2523\u2501\u2501 id integer primary key\n\u2503 \u2503 \u2523\u2501\u2501 name text not null\n\u2503 \u2503 \u2523\u2501\u2501 age integer not null\n\u2503 \u2503 \u2523\u2501\u2501 courses table:\n\u2503 \u2503 \u2523\u2501\u2501 id integer primary key\n\u2503 \u2503 \u2523\u2501\u2501 title text not null\n\u2503 \u2503 \u2517\u2501\u2501 credits integer not null\n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 test_Cargo.toml (165 tokens, 19 lines)\n\u2503 \u2503 \u2523\u2501\u2501 name: test_cargo\n\u2503 \u2503 \u2523\u2501\u2501 version: 0.1.0\n\u2503 \u2503 \u2523\u2501\u2501 description: A test Cargo.toml\n\u2503 \u2503 \u2523\u2501\u2501 license: MIT OR Apache-2.0\n\u2503 \u2503 \u2523\u2501\u2501 dependencies:\n\u2503 \u2503 \u2523\u2501\u2501 clap 4.4\n\u2503 \u2503 \u2517\u2501\u2501 sqlx 0.7 (features: runtime-tokio, tls-rustls)\n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 test_json_rpc_2_0.json (48 tokens, 6 lines)\n\u2503 \u2503 \u2523\u2501\u2501 jsonrpc: 2.0\n\u2503 \u2503 \u2523\u2501\u2501 method: subtract\n\u2503 \u2503 \u2523\u2501\u2501 params:\n\u2503 \u2503 \u2523\u2501\u2501 minuend: 42\n\u2503 \u2503 \u2523\u2501\u2501 subtrahend: 23\n\u2503 \u2503 \u2517\u2501\u2501 id: 1\n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 test_openapi.yaml (507 tokens, 93 lines)\n\u2503 \u2503 \u2523\u2501\u2501 openapi: 3.0.1\n\u2503 \u2503 \u2523\u2501\u2501 title: TODO Plugin\n\u2503 \u2503 \u2523\u2501\u2501 description: A plugin to create and manage TODO lists using ChatGPT.\n\u2503 \u2503 \u2523\u2501\u2501 version: v1\n\u2503 \u2503 \u2523\u2501\u2501 servers:\n\u2503 \u2503 \u2523\u2501\u2501 - url: PLUGIN_HOSTNAME\n\u2503 \u2503 \u2523\u2501\u2501 paths:\n\u2503 \u2503 \u2523\u2501\u2501 '/todos/{username}':\n\u2503 \u2503 \u2523\u2501\u2501 GET (getTodos): Get the list of todos\n\u2503 \u2503 \u2523\u2501\u2501 POST (addTodo): Add a todo to the list\n\u2503 \u2503 \u2517\u2501\u2501 DELETE (deleteTodo): Delete a todo from the list\n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 test_openrpc.json (224 tokens, 44 lines)\n\u2503 \u2503 \u2523\u2501\u2501 openrpc: 1.2.1\n\u2503 \u2503 \u2523\u2501\u2501 info:\n\u2503 \u2503 \u2523\u2501\u2501 title: Demo Petstore\n\u2503 \u2503 \u2523\u2501\u2501 version: 1.0.0\n\u2503 \u2503 \u2523\u2501\u2501 methods:\n\u2503 \u2503 \u2523\u2501\u2501 listPets: List all pets\n\u2503 \u2503 \u2523\u2501\u2501 params:\n\u2503 \u2503 \u2523\u2501\u2501 - limit: integer\n\u2503 \u2503 \u2517\u2501\u2501 result: pets = An array of pets\n\u2503 \u2517\u2501\u2501 \ud83d\udcc4 test_pyproject.toml (311 tokens, 39 lines)\n\u2503 \u2523\u2501\u2501 name: tree_plus\n\u2503 \u2523\u2501\u2501 version: 1.0.8\n\u2503 \u2523\u2501\u2501 description: A `tree` util enhanced with tokens, lines, and components.\n\u2503 \u2523\u2501\u2501 License :: OSI Approved :: Apache Software License\n\u2503 \u2523\u2501\u2501 License :: OSI Approved :: MIT License\n\u2503 \u2523\u2501\u2501 dependencies:\n\u2503 \u2523\u2501\u2501 tiktoken\n\u2503 \u2523\u2501\u2501 PyYAML\n\u2503 \u2523\u2501\u2501 click\n\u2503 \u2523\u2501\u2501 rich\n\u2503 \u2517\u2501\u2501 tomli\n\u2523\u2501\u2501 \ud83d\udcc1 group4 (1 folder, 10 files) \n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 erl_test.erl (512 tokens, 69 lines)\n\u2503 \u2503 \u2523\u2501\u2501 -module(erl_test).\n\u2503 \u2503 \u2523\u2501\u2501 -record(person).\n\u2503 \u2503 \u2523\u2501\u2501 -type ra_peer_status().\n\u2503 \u2503 \u2523\u2501\u2501 -type ra_membership().\n\u2503 \u2503 \u2523\u2501\u2501 -opaque my_opaq_type().\n\u2503 \u2503 \u2523\u2501\u2501 -type orddict(Key, Val).\n\u2503 \u2503 \u2523\u2501\u2501 -type edge(\n\u2503 \u2503 \u2503 Cases,\n\u2503 \u2503 \u2503 Pwn,\n\u2503 \u2503 \u2503 ).\n\u2503 \u2503 \u2523\u2501\u2501 -spec guarded(X) -> X when X :: tuple().\n\u2503 \u2503 \u2523\u2501\u2501 -spec edge_case(\n\u2503 \u2503 \u2503 {integer(), any()} | [any()]\n\u2503 \u2503 \u2503 ) -> processed, integer(), any()} | [{item, any()}].\n\u2503 \u2503 \u2523\u2501\u2501 -spec complex_function({integer(), any()} | [any()]) -> \n\u2503 \u2503 \u2503 {processed, integer(), any()} | [{item, any()}].\n\u2503 \u2503 \u2523\u2501\u2501 -spec list_manipulation([integer()]) -> [integer()].\n\u2503 \u2503 \u2523\u2501\u2501 -spec overload(T1, T2) -> T3\n\u2503 \u2503 \u2503 ; (T4, T5) -> T6.\n\u2503 \u2503 \u2523\u2501\u2501 -spec multiguard({X, integer()}) -> X when X :: atom()\n\u2503 \u2503 \u2503 ; ([Y]) -> Y when Y :: number().\n\u2503 \u2503 \u2523\u2501\u2501 -record(multiline).\n\u2503 \u2503 \u2517\u2501\u2501 -record(maybe_undefined).\n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 haskell_test.hs (373 tokens, 41 lines)\n\u2503 \u2503 \u2523\u2501\u2501 data Person\n\u2503 \u2503 \u2523\u2501\u2501 greet :: Person -> String\n\u2503 \u2503 \u2517\u2501\u2501 resolveVariables ::\n\u2503 \u2503 forall m fragments.\n\u2503 \u2503 (MonadError QErr m, Traversable fragments) =>\n\u2503 \u2503 Options.BackwardsCompatibleNullInNonNullableVariables ->\n\u2503 \u2503 [G.VariableDefinition] ->\n\u2503 \u2503 GH.VariableValues ->\n\u2503 \u2503 [G.Directive G.Name] ->\n\u2503 \u2503 G.SelectionSet fragments G.Name ->\n\u2503 \u2503 m\n\u2503 \u2503 ( [G.Directive Variable],\n\u2503 \u2503 G.SelectionSet fragments Variable\n\u2503 \u2503 )\n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 mathematica_test.nb (132 tokens, 21 lines)\n\u2503 \u2503 \u2523\u2501\u2501 person[name_]\n\u2503 \u2503 \u2523\u2501\u2501 sayHello[]\n\u2503 \u2503 \u2517\u2501\u2501 sumList[list_List]\n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 matlab_test.m (45 tokens, 12 lines)\n\u2503 \u2503 \u2523\u2501\u2501 classdef HelloWorld -> function greet\n\u2503 \u2503 \u2517\u2501\u2501 function loneFun\n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 RTest.R (367 tokens, 47 lines)\n\u2503 \u2503 \u2523\u2501\u2501 class(person)\n\u2503 \u2503 \u2523\u2501\u2501 greet.Person <- function\n\u2503 \u2503 \u2523\u2501\u2501 ensure_between = function\n\u2503 \u2503 \u2517\u2501\u2501 run_intermediate_annealing_process = function\n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 rust_test.rs (890 tokens, 159 lines)\n\u2503 \u2503 \u2523\u2501\u2501 enum Days\n\u2503 \u2503 \u2523\u2501\u2501 struct Point\n\u2503 \u2503 \u2523\u2501\u2501 impl Point\n\u2503 \u2503 \u2523\u2501\u2501 fn get_origin() -> Point\n\u2503 \u2503 \u2523\u2501\u2501 struct Person\n\u2503 \u2503 \u2523\u2501\u2501 impl Person\n\u2503 \u2503 \u2523\u2501\u2501 fn greet(&self)\n\u2503 \u2503 \u2523\u2501\u2501 fn add_two_longs(x1: i64, x2: i64) -> i64\n\u2503 \u2503 \u2523\u2501\u2501 fn add_two_longs_longer(\n\u2503 \u2503 \u2503 x1: i64,\n\u2503 \u2503 \u2503 x2: i64,\n\u2503 \u2503 \u2503 ) -> i64\n\u2503 \u2503 \u2523\u2501\u2501 fn multiply_by_two(num: f64) -> f64\n\u2503 \u2503 \u2523\u2501\u2501 fn get_first_character(s: &str) -> Option<char>\n\u2503 \u2503 \u2523\u2501\u2501 trait Drawable\n\u2503 \u2503 \u2523\u2501\u2501 fn draw(&self)\n\u2503 \u2503 \u2523\u2501\u2501 impl Drawable for Point\n\u2503 \u2503 \u2523\u2501\u2501 fn draw(&self)\n\u2503 \u2503 \u2523\u2501\u2501 fn main()\n\u2503 \u2503 \u2523\u2501\u2501 pub struct VisibleStruct\n\u2503 \u2503 \u2523\u2501\u2501 mod my_module\n\u2503 \u2503 \u2523\u2501\u2501 pub struct AlsoVisibleStruct<T>(T, T)\n\u2503 \u2503 \u2523\u2501\u2501 macro_rules! say_hello\n\u2503 \u2503 \u2523\u2501\u2501 #[macro_export]\n\u2503 \u2503 \u2503 macro_rules! hello_tree_plus\n\u2503 \u2503 \u2523\u2501\u2501 pub mod lib\n\u2503 \u2503 \u2523\u2501\u2501 pub mod interfaces\n\u2503 \u2503 \u2523\u2501\u2501 mod engine\n\u2503 \u2503 \u2523\u2501\u2501 pub fn flow<S1, S2, S3, S4, E, T, L>(\n\u2503 \u2503 \u2503 source: S1,\n\u2503 \u2503 \u2503 extractor: E, \n\u2503 \u2503 \u2503 inbox: S2, \n\u2503 \u2503 \u2503 transformer: T, \n\u2503 \u2503 \u2503 outbox: S3, \n\u2503 \u2503 \u2503 loader: L, \n\u2503 \u2503 \u2503 sink: &mut S4,\n\u2503 \u2503 \u2503 ) -> Result<(), Box<dyn Error>>\n\u2503 \u2503 \u2503 where\n\u2503 \u2503 \u2503 S1: Extractable,\n\u2503 \u2503 \u2503 S2: Extractable + Loadable,\n\u2503 \u2503 \u2503 S3: Extractable + Loadable,\n\u2503 \u2503 \u2503 S4: Loadable,\n\u2503 \u2503 \u2503 E: Extractor<S1, S2>,\n\u2503 \u2503 \u2503 T: Transformer<S2, S3>,\n\u2503 \u2503 \u2503 L: Loader<S3, S4>\n\u2503 \u2503 \u2523\u2501\u2501 trait Container\n\u2503 \u2503 \u2523\u2501\u2501 fn items(&self) -> impl Iterator<Item = Widget>\n\u2503 \u2503 \u2523\u2501\u2501 trait HttpService\n\u2503 \u2503 \u2523\u2501\u2501 async fn fetch(&self, url: Url) -> HtmlBody\n\u2503 \u2503 \u2523\u2501\u2501 struct Pair<T, U>\n\u2503 \u2503 \u2523\u2501\u2501 trait Transformer<T>\n\u2503 \u2503 \u2523\u2501\u2501 fn transform(&self, input: T) -> T\n\u2503 \u2503 \u2523\u2501\u2501 impl<T: std::ops::Add<Output = T> + Copy> Transformer<T> for Pair<T, T>\n\u2503 \u2503 \u2523\u2501\u2501 fn transform(&self, input: T) -> T\n\u2503 \u2503 \u2517\u2501\u2501 fn main()\n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 test.zig (436 tokens, 61 lines)\n\u2503 \u2503 \u2523\u2501\u2501 pub fn add(a: i32, b: i32) i32\n\u2503 \u2503 \u2523\u2501\u2501 test \"add function\"\n\u2503 \u2503 \u2523\u2501\u2501 const BunBuildOptions = struct\n\u2503 \u2503 \u2523\u2501\u2501 pub fn updateRuntime(this: *BunBuildOptions) anyerror!void\n\u2503 \u2503 \u2523\u2501\u2501 pub fn step(this: BunBuildOptions, b: anytype) *std.build.OptionsStep\n\u2503 \u2503 \u2517\u2501\u2501 pub fn sgemv(\n\u2503 \u2503 order: Order,\n\u2503 \u2503 trans: Trans,\n\u2503 \u2503 m: usize,\n\u2503 \u2503 n: usize,\n\u2503 \u2503 alpha: f32,\n\u2503 \u2503 a: []const f32,\n\u2503 \u2503 lda: usize,\n\u2503 \u2503 x: []const f32,\n\u2503 \u2503 x_add: usize,\n\u2503 \u2503 beta: f32,\n\u2503 \u2503 y: []f32,\n\u2503 \u2503 y_add: usize,\n\u2503 \u2503 ) void\n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 test_fsharp.fs (127 tokens, 27 lines)\n\u2503 \u2503 \u2523\u2501\u2501 module TestFSharp\n\u2503 \u2503 \u2523\u2501\u2501 type Person = {\n\u2503 \u2503 \u2523\u2501\u2501 let add x y =\n\u2503 \u2503 \u2523\u2501\u2501 let multiply \n\u2503 \u2503 \u2503 (x: int) \n\u2503 \u2503 \u2503 (y: int): int =\n\u2503 \u2503 \u2523\u2501\u2501 let complexFunction\n\u2503 \u2503 \u2503 (a: int)\n\u2503 \u2503 \u2503 (b: string)\n\u2503 \u2503 \u2503 (c: float)\n\u2503 \u2503 \u2503 : (int * string) option =\n\u2503 \u2503 \u2517\u2501\u2501 type Result<'T> =\n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 test_tcl_tk.tcl (66 tokens, 17 lines)\n\u2503 \u2503 \u2523\u2501\u2501 proc sayHello {}\n\u2503 \u2503 \u2523\u2501\u2501 proc arrg { input }\n\u2503 \u2503 \u2517\u2501\u2501 proc multiLine {\n\u2503 \u2503 x,\n\u2503 \u2503 y\n\u2503 \u2503 }\n\u2503 \u2517\u2501\u2501 \ud83d\udcc4 tf_test.tf (288 tokens, 39 lines)\n\u2503 \u2523\u2501\u2501 provider \"aws\"\n\u2503 \u2523\u2501\u2501 resource \"aws_instance\" \"example\"\n\u2503 \u2523\u2501\u2501 data \"aws_ami\" \"ubuntu\"\n\u2503 \u2523\u2501\u2501 variable \"instance_type\"\n\u2503 \u2523\u2501\u2501 output \"instance_public_ip\"\n\u2503 \u2523\u2501\u2501 locals\n\u2503 \u2517\u2501\u2501 module \"vpc\"\n\u2523\u2501\u2501 \ud83d\udcc1 group5 (1 folder, 18 files) \n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 ansible_test.yml (60 tokens, 15 lines)\n\u2503 \u2503 \u2523\u2501\u2501 Install package\n\u2503 \u2503 \u2523\u2501\u2501 Start service\n\u2503 \u2503 \u2517\u2501\u2501 Create user\n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 app-routing.module.ts (242 tokens, 28 lines)\n\u2503 \u2503 \u2523\u2501\u2501 const routes: Routes = [\n\u2503 \u2503 \u2503 { path: '', redirectTo: 'login', pathMatch: 'full' },\n\u2503 \u2503 \u2503 { path: '*', redirectTo: 'login' },\n\u2503 \u2503 \u2503 { path: 'home', component: HomeComponent },\n\u2503 \u2503 \u2503 { path: 'login', component: LoginComponent },\n\u2503 \u2503 \u2503 { path: 'register', component: RegisterComponent },\n\u2503 \u2503 \u2503 { path: 'events', component: EventsComponent },\n\u2503 \u2503 \u2503 { path: 'invites', component: InvitesComponent },\n\u2503 \u2503 \u2503 { path: 'rewards', component: RewardsComponent },\n\u2503 \u2503 \u2503 { path: 'profile', component: ProfileComponent },\n\u2503 \u2503 \u2503 ];\n\u2503 \u2503 \u2517\u2501\u2501 export class AppRoutingModule\n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 app.component.spec.ts (307 tokens, 48 lines)\n\u2503 \u2503 \u2523\u2501\u2501 describe 'AppComponent'\n\u2503 \u2503 \u2523\u2501\u2501 it should create the app\n\u2503 \u2503 \u2523\u2501\u2501 it should welcome the user\n\u2503 \u2503 \u2523\u2501\u2501 it should welcome 'Jimbo'\n\u2503 \u2503 \u2517\u2501\u2501 it should request login if not logged in\n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 app.component.ts (243 tokens, 45 lines)\n\u2503 \u2503 \u2523\u2501\u2501 export class AppComponent\n\u2503 \u2503 \u2523\u2501\u2501 constructor(private loginService: LoginService)\n\u2503 \u2503 \u2523\u2501\u2501 checkSession()\n\u2503 \u2503 \u2523\u2501\u2501 async goToEvent(event_id: string)\n\u2503 \u2503 \u2517\u2501\u2501 valInvitedBy(event: any, event_id: string)\n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 app.module.ts (269 tokens, 43 lines)\n\u2503 \u2503 \u2523\u2501\u2501 @NgModule({\n\u2503 \u2503 \u2503 declarations: [\n\u2503 \u2503 \u2503 AppComponent,\n\u2503 \u2503 \u2503 HomeComponent,\n\u2503 \u2503 \u2503 LoginComponent,\n\u2503 \u2503 \u2503 RegisterComponent,\n\u2503 \u2503 \u2503 EventsComponent,\n\u2503 \u2503 \u2503 InvitesComponent,\n\u2503 \u2503 \u2503 RewardsComponent,\n\u2503 \u2503 \u2503 ProfileComponent\n\u2503 \u2503 \u2517\u2501\u2501 export class AppModule\n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 checkbox_test.md (263 tokens, 22 lines)\n\u2503 \u2503 \u2523\u2501\u2501 # My Checkbox Test\n\u2503 \u2503 \u2523\u2501\u2501 ## My No Parens Test\n\u2503 \u2503 \u2523\u2501\u2501 ## My Empty href Test\n\u2503 \u2503 \u2523\u2501\u2501 ## My other url Test [Q&A]\n\u2503 \u2503 \u2523\u2501\u2501 ## My other other url Test [Q&A]\n\u2503 \u2503 \u2523\u2501\u2501 ## My 2nd other url Test [Q&A]\n\u2503 \u2503 \u2523\u2501\u2501 ## My 3rd other url Test [Q&A]\n\u2503 \u2503 \u2523\u2501\u2501 - [ ] Task 1\n\u2503 \u2503 \u2523\u2501\u2501 - [ ] No Space Task 1.1\n\u2503 \u2503 \u2523\u2501\u2501 - [ ] Two Spaces Task 1.2\n\u2503 \u2503 \u2523\u2501\u2501 - [ ] Subtask 1.2.1\n\u2503 \u2503 \u2523\u2501\u2501 - [ ] Task 2\n\u2503 \u2503 \u2523\u2501\u2501 - [x] Task 3\n\u2503 \u2503 \u2523\u2501\u2501 - [ ] Subtask 3.1\n\u2503 \u2503 \u2523\u2501\u2501 - [x] Task 6\n\u2503 \u2503 \u2523\u2501\u2501 - [x] Subtask 6.1\n\u2503 \u2503 \u2517\u2501\u2501 - [ ] Handle edge cases\n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 checkbox_test.txt (276 tokens, 33 lines)\n\u2503 \u2503 \u2523\u2501\u2501 - [ ] fix phone number format +1\n\u2503 \u2503 \u2523\u2501\u2501 - [ ] add forgot password\n\u2503 \u2503 \u2523\u2501\u2501 - [ ] ? add email verification\n\u2503 \u2503 \u2523\u2501\u2501 - [ ] store token the right way\n\u2503 \u2503 \u2523\u2501\u2501 - [ ] test nesting of checkboxes\n\u2503 \u2503 \u2523\u2501\u2501 - [ ] user can use option to buy ticket at 2-referred price\n\u2503 \u2503 \u2523\u2501\u2501 - [ ] CTA refer 2 people to get instant lower price\n\u2503 \u2503 \u2517\u2501\u2501 - [ ] form to send referrals\n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 environment.test.ts (193 tokens, 19 lines)\n\u2503 \u2503 \u2523\u2501\u2501 environment:\n\u2503 \u2503 \u2523\u2501\u2501 production\n\u2503 \u2503 \u2523\u2501\u2501 cognitoUserPoolId\n\u2503 \u2503 \u2523\u2501\u2501 cognitoAppClientId\n\u2503 \u2503 \u2517\u2501\u2501 apiurl\n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 k8s_test.yaml (171 tokens, 38 lines)\n\u2503 \u2503 \u2523\u2501\u2501 apps/v1.Deployment -> my-app\n\u2503 \u2503 \u2523\u2501\u2501 v1.Service -> my-service\n\u2503 \u2503 \u2517\u2501\u2501 v1.ConfigMap -> my-config\n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 Makefile (882 tokens, 85 lines)\n\u2503 \u2503 \u2523\u2501\u2501 include dotenv/dev.env\n\u2503 \u2503 \u2523\u2501\u2501 .PHONY: dev\n\u2503 \u2503 \u2523\u2501\u2501 dev\n\u2503 \u2503 \u2523\u2501\u2501 services-down\n\u2503 \u2503 \u2523\u2501\u2501 services-stop: services-down\n\u2503 \u2503 \u2523\u2501\u2501 define CHECK_POSTGRES\n\u2503 \u2503 \u2523\u2501\u2501 damage-report\n\u2503 \u2503 \u2523\u2501\u2501 tail-logs\n\u2503 \u2503 \u2517\u2501\u2501 cloud\n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 requirements_test.txt (40 tokens, 10 lines)\n\u2503 \u2503 \u2523\u2501\u2501 psycopg2-binary\n\u2503 \u2503 \u2523\u2501\u2501 pytest\n\u2503 \u2503 \u2523\u2501\u2501 coverage\n\u2503 \u2503 \u2523\u2501\u2501 flask[async]\n\u2503 \u2503 \u2523\u2501\u2501 flask_cors\n\u2503 \u2503 \u2523\u2501\u2501 stripe\n\u2503 \u2503 \u2523\u2501\u2501 pyjwt[crypto]\n\u2503 \u2503 \u2523\u2501\u2501 cognitojwt[async]\n\u2503 \u2503 \u2517\u2501\u2501 flask-lambda\n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 rust_todo_test.rs (109 tokens, 27 lines)\n\u2503 \u2503 \u2523\u2501\u2501 TODO (Line 23): This todo tests parse_todo\n\u2503 \u2503 \u2523\u2501\u2501 enum Color\n\u2503 \u2503 \u2523\u2501\u2501 struct Point\n\u2503 \u2503 \u2523\u2501\u2501 trait Drawable\n\u2503 \u2503 \u2523\u2501\u2501 fn draw(&self)\n\u2503 \u2503 \u2523\u2501\u2501 impl Drawable for Point\n\u2503 \u2503 \u2523\u2501\u2501 fn draw(&self)\n\u2503 \u2503 \u2517\u2501\u2501 fn main()\n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 sql_test.sql (300 tokens, 52 lines)\n\u2503 \u2503 \u2523\u2501\u2501 CREATE TABLE promoters\n\u2503 \u2503 \u2523\u2501\u2501 user_id serial PRIMARY KEY,\n\u2503 \u2503 \u2523\u2501\u2501 type varchar(20) NOT NULL,\n\u2503 \u2503 \u2523\u2501\u2501 username varchar(20) NOT NULL,\n\u2503 \u2503 \u2523\u2501\u2501 password varchar(20) NOT NULL,\n\u2503 \u2503 \u2523\u2501\u2501 email varchar(30) NOT NULL,\n\u2503 \u2503 \u2523\u2501\u2501 phone varchar(20) NOT NULL,\n\u2503 \u2503 \u2523\u2501\u2501 promocode varchar(20),\n\u2503 \u2503 \u2523\u2501\u2501 info json,\n\u2503 \u2503 \u2523\u2501\u2501 going text[],\n\u2503 \u2503 \u2523\u2501\u2501 invites text[],\n\u2503 \u2503 \u2523\u2501\u2501 balance integer NOT NULL,\n\u2503 \u2503 \u2523\u2501\u2501 rewards text[],\n\u2503 \u2503 \u2523\u2501\u2501 created timestamp\n\u2503 \u2503 \u2523\u2501\u2501 CREATE TABLE events\n\u2503 \u2503 \u2523\u2501\u2501 event_id serial PRIMARY KEY,\n\u2503 \u2503 \u2523\u2501\u2501 name varchar(64) NOT NULL,\n\u2503 \u2503 \u2523\u2501\u2501 date varchar(64) NOT NULL,\n\u2503 \u2503 \u2523\u2501\u2501 location varchar(64) NOT NULL,\n\u2503 \u2503 \u2523\u2501\u2501 performer varchar(64) NOT NULL,\n\u2503 \u2503 \u2523\u2501\u2501 rewards json,\n\u2503 \u2503 \u2517\u2501\u2501 created timestamp\n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 standard-app-routing.module.ts (93 tokens, 17 lines)\n\u2503 \u2503 \u2517\u2501\u2501 const routes: Routes = [\n\u2503 \u2503 { path: '', component: HomeComponent },\n\u2503 \u2503 {\n\u2503 \u2503 path: 'heroes',\n\u2503 \u2503 component: HeroesListComponent,\n\u2503 \u2503 children: [\n\u2503 \u2503 { path: ':id', component: HeroDetailComponent },\n\u2503 \u2503 { path: 'new', component: HeroFormComponent },\n\u2503 \u2503 ],\n\u2503 \u2503 },\n\u2503 \u2503 { path: '**', component: PageNotFoundComponent },\n\u2503 \u2503 ];\n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 test.env (242 tokens, 26 lines)\n\u2503 \u2503 \u2523\u2501\u2501 PROMO_PATH\n\u2503 \u2503 \u2523\u2501\u2501 PRODUCTION\n\u2503 \u2503 \u2523\u2501\u2501 SQL_SCHEMA_PATH\n\u2503 \u2503 \u2523\u2501\u2501 DB_LOGS\n\u2503 \u2503 \u2523\u2501\u2501 DB_LOG\n\u2503 \u2503 \u2523\u2501\u2501 PGPASSWORD\n\u2503 \u2503 \u2523\u2501\u2501 PGDATABASE\n\u2503 \u2503 \u2523\u2501\u2501 PGHOST\n\u2503 \u2503 \u2523\u2501\u2501 PGPORT\n\u2503 \u2503 \u2523\u2501\u2501 PGUSER\n\u2503 \u2503 \u2523\u2501\u2501 SERVER_LOG\n\u2503 \u2503 \u2523\u2501\u2501 SERVER_LOGS\n\u2503 \u2503 \u2523\u2501\u2501 API_URL\n\u2503 \u2503 \u2523\u2501\u2501 APP_LOGS\n\u2503 \u2503 \u2523\u2501\u2501 APP_LOG\n\u2503 \u2503 \u2523\u2501\u2501 APP_URL\n\u2503 \u2503 \u2523\u2501\u2501 COGNITO_USER_POOL_ID\n\u2503 \u2503 \u2523\u2501\u2501 COGNITO_APP_CLIENT_ID\n\u2503 \u2503 \u2523\u2501\u2501 AWS_REGION\n\u2503 \u2503 \u2517\u2501\u2501 STRIPE_SECRET_KEY\n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 testJsonSchema.json (294 tokens, 49 lines)\n\u2503 \u2503 \u2523\u2501\u2501 $schema: http://json-schema.org/draft-07/schema#\n\u2503 \u2503 \u2523\u2501\u2501 type: object\n\u2503 \u2503 \u2523\u2501\u2501 title: random_test\n\u2503 \u2503 \u2517\u2501\u2501 description: A promoter's activites related to events\n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 testPackage.json (458 tokens, 44 lines)\n\u2503 \u2503 \u2523\u2501\u2501 name: 'promo-app'\n\u2503 \u2503 \u2523\u2501\u2501 version: 0.0.0\n\u2503 \u2503 \u2523\u2501\u2501 scripts:\n\u2503 \u2503 \u2523\u2501\u2501 ng: 'ng'\n\u2503 \u2503 \u2523\u2501\u2501 start: 'ng serve'\n\u2503 \u2503 \u2523\u2501\u2501 build: 'ng build'\n\u2503 \u2503 \u2523\u2501\u2501 watch: 'ng build --watch --configuration development'\n\u2503 \u2503 \u2517\u2501\u2501 test: 'ng test'\n\u2503 \u2517\u2501\u2501 \ud83d\udcc4 tickets.component.ts (6,950 tokens, 903 lines)\n\u2503 \u2523\u2501\u2501 interface EnrichedTicket extends Ticket\n\u2503 \u2523\u2501\u2501 interface SpinConfig\n\u2503 \u2523\u2501\u2501 interface RotationState\n\u2503 \u2523\u2501\u2501 interface SpeakInput\n\u2503 \u2523\u2501\u2501 const formatSpeakInput = (input: SpeakInput): string =>\n\u2503 \u2523\u2501\u2501 function hourToSpeech(hour: number, minute: number, period: string): string\n\u2503 \u2523\u2501\u2501 export class TicketsComponent implements AfterViewInit\n\u2503 \u2523\u2501\u2501 speak(input: SpeakInput)\n\u2503 \u2523\u2501\u2501 speakEvent(ticket: EnrichedTicket): void\n\u2503 \u2523\u2501\u2501 formatEvent(ticket: EnrichedTicket): string\n\u2503 \u2523\u2501\u2501 speakVenue(ticket: EnrichedTicket): void\n\u2503 \u2523\u2501\u2501 formatDate(date: Date, oneLiner: boolean = false): string\n\u2503 \u2523\u2501\u2501 formatDateForSpeech(date: Date): string\n\u2503 \u2523\u2501\u2501 async spinQRCode(\n\u2503 \u2503 event: PointerEvent,\n\u2503 \u2503 config: SpinConfig = DEFAULT_SPIN_CONFIG\n\u2503 \u2503 )\n\u2503 \u2523\u2501\u2501 private animateRotation(\n\u2503 \u2503 imgElement: HTMLElement,\n\u2503 \u2503 targetRotation: number,\n\u2503 \u2503 config: SpinConfig,\n\u2503 \u2503 cleanup: () => void\n\u2503 \u2503 )\n\u2503 \u2523\u2501\u2501 const animate = (currentTime: number) =>\n\u2503 \u2523\u2501\u2501 private getNext90Degree(currentRotation: number): number\n\u2503 \u2523\u2501\u2501 private getCurrentRotation(matrix: string): number\n\u2503 \u2523\u2501\u2501 ngAfterViewInit()\n\u2503 \u2523\u2501\u2501 const mouseEnterListener = () =>\n\u2503 \u2523\u2501\u2501 const mouseLeaveListener = () =>\n\u2503 \u2523\u2501\u2501 ngOnDestroy()\n\u2503 \u2523\u2501\u2501 toggleColumn(event: MatOptionSelectionChange, column: string)\n\u2503 \u2523\u2501\u2501 adjustColumns(event?: Event)\n\u2503 \u2523\u2501\u2501 onResize(event: Event)\n\u2503 \u2523\u2501\u2501 async ngOnInit()\n\u2503 \u2523\u2501\u2501 async loadTickets(): Promise<void>\n\u2503 \u2523\u2501\u2501 onDateRangeChange(\n\u2503 \u2503 type: \"start\" | \"end\",\n\u2503 \u2503 event: MatDatepickerInputEvent<Date>\n\u2503 \u2503 )\n\u2503 \u2523\u2501\u2501 applyFilter(column: string): void\n\u2503 \u2523\u2501\u2501 formatDateForComparison(date: Date): string\n\u2503 \u2523\u2501\u2501 constructor(private renderer: Renderer2)\n\u2503 \u2523\u2501\u2501 onFilterChange(event: Event, column: string)\n\u2503 \u2523\u2501\u2501 onLatitudeChange(event: Event)\n\u2503 \u2523\u2501\u2501 onLongitudeChange(event: Event)\n\u2503 \u2523\u2501\u2501 onRadiusChange(event: Event)\n\u2503 \u2523\u2501\u2501 sortData(sort: Sort): void\n\u2503 \u2523\u2501\u2501 onRowClick(event: Event, row: any)\n\u2503 \u2523\u2501\u2501 function isDate(value: Date | undefined | null): value is Date\n\u2503 \u2523\u2501\u2501 function isNonNullNumber(value: number | null): value is number\n\u2503 \u2523\u2501\u2501 function hasLocation(\n\u2503 \u2503 ticket: any\n\u2503 \u2503 ): ticket is\n\u2503 \u2523\u2501\u2501 const create_faker_ticket = async () =>\n\u2503 \u2523\u2501\u2501 function compare(a: number | string, b: number | string, isAsc: boolean)\n\u2503 \u2523\u2501\u2501 function compare_dates(a: Date, b: Date, isAsc: boolean)\n\u2503 \u2523\u2501\u2501 async function mockMoreTickets(): Promise<Ticket[]>\n\u2503 \u2523\u2501\u2501 const mockTickets = async () =>\n\u2503 \u2517\u2501\u2501 const renderQRCode = async (text: String): Promise<string> =>\n\u2523\u2501\u2501 \ud83d\udcc1 group6 (1 folder, 8 files) \n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 catastrophic.c (4,144 tokens, 581 lines)\n\u2503 \u2503 \u2523\u2501\u2501 struct Point\n\u2503 \u2503 \u2523\u2501\u2501 struct Point getOrigin()\n\u2503 \u2503 \u2523\u2501\u2501 float mul_two_floats(float x1, float x2)\n\u2503 \u2503 \u2523\u2501\u2501 enum days\n\u2503 \u2503 \u2523\u2501\u2501 long add_two_longs(long x1, long x2)\n\u2503 \u2503 \u2523\u2501\u2501 double multiplyByTwo(double num)\n\u2503 \u2503 \u2523\u2501\u2501 char getFirstCharacter(char *str)\n\u2503 \u2503 \u2523\u2501\u2501 void greet(Person p)\n\u2503 \u2503 \u2523\u2501\u2501 typedef struct Person\n\u2503 \u2503 \u2523\u2501\u2501 typedef struct PersonA\n\u2503 \u2503 \u2523\u2501\u2501 int main()\n\u2503 \u2503 \u2523\u2501\u2501 int* getArrayStart(int arr[], int size)\n\u2503 \u2503 \u2523\u2501\u2501 long complexFunctionWithMultipleArguments(\n\u2503 \u2503 \u2503 int param1,\n\u2503 \u2503 \u2503 double param2,\n\u2503 \u2503 \u2503 char *param3,\n\u2503 \u2503 \u2503 struct Point point\n\u2503 \u2503 \u2503 )\n\u2503 \u2503 \u2523\u2501\u2501 keyPattern *ACLKeyPatternCreate(sds pattern, int flags)\n\u2503 \u2503 \u2523\u2501\u2501 sds sdsCatPatternString(sds base, keyPattern *pat)\n\u2503 \u2503 \u2523\u2501\u2501 static int ACLCheckChannelAgainstList(list *reference, const char *channel, int channellen, int is_pattern)\n\u2503 \u2503 \u2523\u2501\u2501 while((ln = listNext(&li)))\n\u2503 \u2503 \u2523\u2501\u2501 static struct config\n\u2503 \u2503 \u2523\u2501\u2501 class Person\n\u2503 \u2503 \u2523\u2501\u2501 public:\n\u2503 \u2503 \u2523\u2501\u2501 Person(std::string n) : name(n)\n\u2503 \u2503 \u2523\u2501\u2501 void greet()\n\u2503 \u2503 \u2523\u2501\u2501 void globalGreet()\n\u2503 \u2503 \u2523\u2501\u2501 int main()\n\u2503 \u2503 \u2523\u2501\u2501 void printMessage(const std::string &message)\n\u2503 \u2503 \u2523\u2501\u2501 template<typename T>\n\u2503 \u2503 \u2523\u2501\u2501 void printVector(const std::vector<T>& vec)\n\u2503 \u2503 \u2523\u2501\u2501 struct Point\n\u2503 \u2503 \u2523\u2501\u2501 Point(int x, int y) : x(x), y(y)\n\u2503 \u2503 \u2523\u2501\u2501 class Animal\n\u2503 \u2503 \u2523\u2501\u2501 public:\n\u2503 \u2503 \u2523\u2501\u2501 Animal(const std::string &name) : name(name)\n\u2503 \u2503 \u2523\u2501\u2501 virtual void speak() const\n\u2503 \u2503 \u2523\u2501\u2501 virtual ~Animal()\n\u2503 \u2503 \u2523\u2501\u2501 class Dog : public Animal\n\u2503 \u2503 \u2523\u2501\u2501 public:\n\u2503 \u2503 \u2523\u2501\u2501 Dog(const std::string &name) : Animal(name)\n\u2503 \u2503 \u2523\u2501\u2501 void speak() const override\n\u2503 \u2503 \u2523\u2501\u2501 class Cat : public Animal\n\u2503 \u2503 \u2523\u2501\u2501 public:\n\u2503 \u2503 \u2523\u2501\u2501 Cat(const std::string &name) : Animal(name)\n\u2503 \u2503 \u2523\u2501\u2501 void speak() const override\n\u2503 \u2503 \u2523\u2501\u2501 class CatDog: public Animal, public Cat, public Dog\n\u2503 \u2503 \u2523\u2501\u2501 public:\n\u2503 \u2503 \u2523\u2501\u2501 CatDog(const std::string &name) : Animal(name)\n\u2503 \u2503 \u2523\u2501\u2501 int meow_bark()\n\u2503 \u2503 \u2523\u2501\u2501 nb::bytes BuildRnnDescriptor(int input_size, int hidden_size, int num_layers,\n\u2503 \u2503 \u2503 int batch_size, int max_seq_length, float dropout,\n\u2503 \u2503 \u2503 bool bidirectional, bool cudnn_allow_tf32,\n\u2503 \u2503 \u2503 int workspace_size, int reserve_space_size)\n\u2503 \u2503 \u2523\u2501\u2501 int main()\n\u2503 \u2503 \u2523\u2501\u2501 enum ECarTypes\n\u2503 \u2503 \u2523\u2501\u2501 ECarTypes GetPreferredCarType()\n\u2503 \u2503 \u2523\u2501\u2501 enum ECarTypes : uint8_t\n\u2503 \u2503 \u2523\u2501\u2501 enum class ECarTypes : uint8_t\n\u2503 \u2503 \u2523\u2501\u2501 void myFunction(string fname, int age)\n\u2503 \u2503 \u2523\u2501\u2501 template <typename T> T cos(T)\n\u2503 \u2503 \u2523\u2501\u2501 template <typename T> T sin(T)\n\u2503 \u2503 \u2523\u2501\u2501 template <typename T> T sqrt(T)\n\u2503 \u2503 \u2523\u2501\u2501 template<typename T> struct VLEN\n\u2503 \u2503 \u2523\u2501\u2501 template<typename T> class arr\n\u2503 \u2503 \u2523\u2501\u2501 private:\n\u2503 \u2503 \u2523\u2501\u2501 static T *ralloc(size_t num)\n\u2503 \u2503 \u2523\u2501\u2501 static void dealloc(T *ptr)\n\u2503 \u2503 \u2523\u2501\u2501 static T *ralloc(size_t num)\n\u2503 \u2503 \u2523\u2501\u2501 static void dealloc(T *ptr)\n\u2503 \u2503 \u2523\u2501\u2501 public:\n\u2503 \u2503 \u2523\u2501\u2501 arr() : p(0), sz(0)\n\u2503 \u2503 \u2523\u2501\u2501 arr(size_t n) : p(ralloc(n)), sz(n)\n\u2503 \u2503 \u2523\u2501\u2501 arr(arr &&other)\n\u2503 \u2503 \u2503 : p(other.p), sz(other.sz)\n\u2503 \u2503 \u2523\u2501\u2501 ~arr()\n\u2503 \u2503 \u2523\u2501\u2501 void resize(size_t n)\n\u2503 \u2503 \u2523\u2501\u2501 T &operator[](size_t idx)\n\u2503 \u2503 \u2523\u2501\u2501 T *data()\n\u2503 \u2503 \u2523\u2501\u2501 size_t size() const\n\u2503 \u2503 \u2523\u2501\u2501 class Buffer\n\u2503 \u2503 \u2523\u2501\u2501 std::tuple<array, array, array> quantize(\n\u2503 \u2503 \u2503 const array& w,\n\u2503 \u2503 \u2503 int group_size,\n\u2503 \u2503 \u2503 int bits,\n\u2503 \u2503 \u2503 StreamOrDevice s)\n\u2503 \u2503 \u2523\u2501\u2501 #define PY_SSIZE_T_CLEAN\n\u2503 \u2503 \u2523\u2501\u2501 #define PLATFORM_IS_X86\n\u2503 \u2503 \u2523\u2501\u2501 #define PLATFORM_WINDOWS\n\u2503 \u2503 \u2523\u2501\u2501 #define GETCPUID(a, b, c, d, a_inp, c_inp)\n\u2503 \u2503 \u2523\u2501\u2501 static int GetXCR0EAX()\n\u2503 \u2503 \u2523\u2501\u2501 #define GETCPUID(a, b, c, d, a_inp, c_inp)\n\u2503 \u2503 \u2523\u2501\u2501 static int GetXCR0EAX()\n\u2503 \u2503 \u2523\u2501\u2501 asm(\"XGETBV\" : \"=a\"(eax), \"=d\"(edx) : \"c\"(0))\n\u2503 \u2503 \u2523\u2501\u2501 static void ReportMissingCpuFeature(const char* name)\n\u2503 \u2503 \u2523\u2501\u2501 static PyObject *CheckCpuFeatures(PyObject *self, PyObject *args)\n\u2503 \u2503 \u2523\u2501\u2501 static PyObject *CheckCpuFeatures(PyObject *self, PyObject *args)\n\u2503 \u2503 \u2523\u2501\u2501 static PyMethodDef cpu_feature_guard_methods[]\n\u2503 \u2503 \u2523\u2501\u2501 static struct PyModuleDef cpu_feature_guard_module\n\u2503 \u2503 \u2523\u2501\u2501 #define EXPORT_SYMBOL __declspec(dllexport)\n\u2503 \u2503 \u2523\u2501\u2501 #define EXPORT_SYMBOL __attribute__ ((visibility(\"default\")))\n\u2503 \u2503 \u2517\u2501\u2501 EXPORT_SYMBOL PyMODINIT_FUNC PyInit_cpu_feature_guard(void)\n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 fractal.thy (2,183 tokens, 148 lines)\n\u2503 \u2503 \u2523\u2501\u2501 Title: fractal.thy\n\u2503 \u2503 \u2523\u2501\u2501 Author: Isabelle/HOL Contributors!\n\u2503 \u2503 \u2523\u2501\u2501 Author: edge cases r us\n\u2503 \u2503 \u2523\u2501\u2501 theory Simplified_Ring\n\u2503 \u2503 \u2523\u2501\u2501 section \u2039Basic Algebraic Structures\u203a\n\u2503 \u2503 \u2523\u2501\u2501 class everything = nothing + itself\n\u2503 \u2503 \u2523\u2501\u2501 subsection \u2039Monoids\u203a\n\u2503 \u2503 \u2523\u2501\u2501 definition ring_hom :: \"[('a, 'm) ring_scheme, ('b, 'n) ring_scheme] => ('a => 'b) set\"\n\u2503 \u2503 \u2523\u2501\u2501 fun example_fun :: \"nat \u21d2 nat\"\n\u2503 \u2503 \u2523\u2501\u2501 locale monoid =\n\u2503 \u2503 \u2503 fixes G (structure)\n\u2503 \u2503 \u2503 assumes m_closed: \"\u27e6x \u2208 carrier G; y \u2208 carrier G\u27e7 \u27f9 x \u2297 y \u2208 carrier G\"\n\u2503 \u2503 \u2503 and m_assoc: \"\u27e6x \u2208 carrier G; y \u2208 carrier G; z \u2208 carrier G\u27e7 \u27f9 (x \u2297 y) \u2297 z = x \u2297 (y \u2297 z)\"\n\u2503 \u2503 \u2503 and one_closed: \"\ud835\udfed \u2208 carrier G\"\n\u2503 \u2503 \u2503 and l_one: \"x \u2208 carrier G \u27f9 \ud835\udfed \u2297 x = x\"\n\u2503 \u2503 \u2503 and r_one: \"x \u2208 carrier G \u27f9 x \u2297 \ud835\udfed = x\"\n\u2503 \u2503 \u2523\u2501\u2501 subsection \u2039Groups\u203a\n\u2503 \u2503 \u2523\u2501\u2501 locale group = monoid +\n\u2503 \u2503 \u2503 assumes Units_closed: \"x \u2208 Units G \u27f9 x \u2208 carrier G\"\n\u2503 \u2503 \u2503 and l_inv_ex: \"x \u2208 carrier G \u27f9 \u2203 y \u2208 carrier G. y \u2297 x = \ud835\udfed\"\n\u2503 \u2503 \u2503 and r_inv_ex: \"x \u2208 carrier G \u27f9 \u2203 y \u2208 carrier G. x \u2297 y = \ud835\udfed\"\n\u2503 \u2503 \u2523\u2501\u2501 subsection \u2039Rings\u203a\n\u2503 \u2503 \u2523\u2501\u2501 locale ring = abelian_group R + monoid R +\n\u2503 \u2503 \u2503 assumes l_distr: \"\u27e6x \u2208 carrier R; y \u2208 carrier R; z \u2208 carrier R\u27e7 \u27f9 (x \u2295 y) \u2297 z = x \u2297 z \u2295 y \u2297 z\"\n\u2503 \u2503 \u2503 and r_distr: \"\u27e6x \u2208 carrier R; y \u2208 carrier R; z \u2208 carrier R\u27e7 \u27f9 z \u2297 (x \u2295 y) = z \u2297 x \u2295 z \u2297 y\"\n\u2503 \u2503 \u2523\u2501\u2501 locale commutative_ring = ring +\n\u2503 \u2503 \u2503 assumes m_commutative: \"\u27e6x \u2208 carrier R; y \u2208 carrier R\u27e7 \u27f9 x \u2297 y = y \u2297 x\"\n\u2503 \u2503 \u2523\u2501\u2501 locale domain = commutative_ring +\n\u2503 \u2503 \u2503 assumes no_zero_divisors: \"\u27e6a \u2297 b = \ud835\udfec; a \u2208 carrier R; b \u2208 carrier R\u27e7 \u27f9 a = \ud835\udfec \u2228 b = \ud835\udfec\"\n\u2503 \u2503 \u2523\u2501\u2501 locale field = domain +\n\u2503 \u2503 \u2503 assumes inv_ex: \"x \u2208 carrier R - {\ud835\udfec} \u27f9 inv x \u2208 carrier R\"\n\u2503 \u2503 \u2523\u2501\u2501 subsection \u2039Morphisms\u203a\n\u2503 \u2503 \u2523\u2501\u2501 lemma example_lemma: \"example_fun n = n\"\n\u2503 \u2503 \u2523\u2501\u2501 qualified lemma gcd_0:\n\u2503 \u2503 \u2503 \"gcd a 0 = normalize a\"\n\u2503 \u2503 \u2523\u2501\u2501 lemma abelian_monoidI:\n\u2503 \u2503 \u2503 fixes R (structure)\n\u2503 \u2503 \u2503 and f :: \"'edge::{} \u21d2 'case::{}\"\n\u2503 \u2503 \u2503 assumes \"\u22c0x y. \u27e6 x \u2208 carrier R; y \u2208 carrier R \u27e7 \u27f9 x \u2295 y \u2208 carrier R\"\n\u2503 \u2503 \u2503 and \"\ud835\udfec \u2208 carrier R\"\n\u2503 \u2503 \u2503 and \"\u22c0x y z. \u27e6 x \u2208 carrier R; y \u2208 carrier R; z \u2208 carrier R \u27e7 \u27f9 (x \u2295 y) \u2295 z = x \u2295 (y \u2295 z)\"\n\u2503 \u2503 \u2503 shows \"abelian_monoid R\"\n\u2503 \u2503 \u2523\u2501\u2501 lemma euclidean_size_gcd_le1 [simp]:\n\u2503 \u2503 \u2503 assumes \"a \u2260 0\"\n\u2503 \u2503 \u2503 shows \"euclidean_size (gcd a b) \u2264 euclidean_size a\"\n\u2503 \u2503 \u2523\u2501\u2501 theorem Residue_theorem:\n\u2503 \u2503 \u2503 fixes S pts::\"complex set\" and f::\"complex \u21d2 complex\"\n\u2503 \u2503 \u2503 and g::\"real \u21d2 complex\"\n\u2503 \u2503 \u2503 assumes \"open S\" \"connected S\" \"finite pts\" and\n\u2503 \u2503 \u2503 holo:\"f holomorphic_on S-pts\" and\n\u2503 \u2503 \u2503 \"valid_path g\" and\n\u2503 \u2503 \u2503 loop:\"pathfinish g = pathstart g\" and\n\u2503 \u2503 \u2503 \"path_image g \u2286 S-pts\" and\n\u2503 \u2503 \u2503 homo:\"\u2200z. (z \u2209 S) \u27f6 winding_number g z = 0\"\n\u2503 \u2503 \u2503 shows \"contour_integral g f = 2 * pi * \ud835\uddc2 *(\u2211p \u2208 pts. winding_number g p * residue f p)\"\n\u2503 \u2503 \u2523\u2501\u2501 corollary fps_coeff_residues_bigo':\n\u2503 \u2503 \u2503 fixes f :: \"complex \u21d2 complex\" and r :: real\n\u2503 \u2503 \u2503 assumes exp: \"f has_fps_expansion F\"\n\u2503 \u2503 \u2503 assumes \"open A\" \"connected A\" \"cball 0 r \u2286 A\" \"r > 0\" \n\u2503 \u2503 \u2503 assumes \"f holomorphic_on A - S\" \"S \u2286 ball 0 r\" \"finite S\" \"0 \u2209 S\"\n\u2503 \u2503 \u2503 assumes \"eventually (\u03bbn. g n = -(\u2211z \u2208 S. residue (\u03bbz. f z / z ^ Suc n) z)) sequentially\"\n\u2503 \u2503 \u2503 (is \"eventually (\u03bbn. _ = -?g' n) _\")\n\u2503 \u2503 \u2503 shows \"(\u03bbn. fps_nth F n - g n) \u2208 O(\u03bbn. 1 / r ^ n)\" (is \"(\u03bbn. ?c n - _) \u2208 O(_)\")\n\u2503 \u2503 \u2517\u2501\u2501 end\n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 Microsoft.PowerShell_profile.ps1 (3,854 tokens, 498 lines)\n\u2503 \u2503 \u2523\u2501\u2501 function Log($message)\n\u2503 \u2503 \u2523\u2501\u2501 function Remove-ChocolateyFromPath\n\u2503 \u2503 \u2523\u2501\u2501 function Show-Profiles\n\u2503 \u2503 \u2523\u2501\u2501 function Show-Path\n\u2503 \u2503 \u2523\u2501\u2501 function Show-Error($err)\n\u2503 \u2503 \u2523\u2501\u2501 function Get-ScoopPackagePath\n\u2503 \u2503 \u2523\u2501\u2501 param(\n\u2503 \u2503 \u2503 [Parameter(Mandatory = $true)]\n\u2503 \u2503 \u2503 [string]$PackageName)\n\u2503 \u2503 \u2523\u2501\u2501 function Check-Command\n\u2503 \u2503 \u2523\u2501\u2501 param(\n\u2503 \u2503 \u2503 [Parameter(Mandatory = $true)]\n\u2503 \u2503 \u2503 [string]$Name)\n\u2503 \u2503 \u2523\u2501\u2501 function Add-ToPath\n\u2503 \u2503 \u2523\u2501\u2501 param(\n\u2503 \u2503 \u2503 [Parameter(Mandatory = $true)]\n\u2503 \u2503 \u2503 [string]$PathToAdd)\n\u2503 \u2503 \u2523\u2501\u2501 function Install-Scoop\n\u2503 \u2503 \u2523\u2501\u2501 function Scoop-Install\n\u2503 \u2503 \u2523\u2501\u2501 param(\n\u2503 \u2503 \u2503 [Parameter(Mandatory = $true)]\n\u2503 \u2503 \u2503 [string]$Name,\n\u2503 \u2503 \u2503 [string]$PathToAdd)\n\u2503 \u2503 \u2523\u2501\u2501 function Start-CondaEnv\n\u2503 \u2503 \u2523\u2501\u2501 function Install-PipPackage\n\u2503 \u2503 \u2523\u2501\u2501 param(\n\u2503 \u2503 \u2503 [Parameter(Mandatory = $true)]\n\u2503 \u2503 \u2503 [string]$PackageName)\n\u2503 \u2503 \u2523\u2501\u2501 function Install-VSBuildTools\n\u2503 \u2503 \u2523\u2501\u2501 function Install-Crate\n\u2503 \u2503 \u2523\u2501\u2501 param(\n\u2503 \u2503 \u2503 [Parameter(Mandatory = $true)]\n\u2503 \u2503 \u2503 [string]$CrateName)\n\u2503 \u2503 \u2523\u2501\u2501 function Get-ScoopVersion\n\u2503 \u2503 \u2523\u2501\u2501 function Get-Version\n\u2503 \u2503 \u2523\u2501\u2501 param(\n\u2503 \u2503 \u2503 [Parameter(Mandatory = $true)]\n\u2503 \u2503 \u2503 [string]$ExecutablePath,\n\u2503 \u2503 \u2503 [string]$ExecutableName)\n\u2503 \u2503 \u2523\u2501\u2501 function Show-Requirements\n\u2503 \u2503 \u2523\u2501\u2501 function Measure-Status\n\u2503 \u2503 \u2523\u2501\u2501 param(\n\u2503 \u2503 \u2503 [Parameter(Mandatory = $true)]\n\u2503 \u2503 \u2503 [string]$Name)\n\u2503 \u2503 \u2523\u2501\u2501 function Find-Profile\n\u2503 \u2503 \u2523\u2501\u2501 function Edit-Profile\n\u2503 \u2503 \u2523\u2501\u2501 function Set-Profile\n\u2503 \u2503 \u2517\u2501\u2501 function Show-Profile\n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 ramda__cloneRegExp.js (105 tokens, 9 lines)\n\u2503 \u2503 \u2517\u2501\u2501 export default function _cloneRegExp(pattern)\n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 ramda_prop.js (747 tokens, 86 lines)\n\u2503 \u2503 \u2523\u2501\u2501 /**\n\u2503 \u2503 \u2503 * Returns a function that when supplied an object returns the indicated\n\u2503 \u2503 \u2503 * property of that object, if it exists.\n\u2503 \u2503 \u2503 * @category Object\n\u2503 \u2503 \u2503 * @typedefn Idx = String | Int | Symbol\n\u2503 \u2503 \u2503 * @sig Idx -> {s: a} -> a | Undefined\n\u2503 \u2503 \u2503 * @param {String|Number} p The property name or array index\n\u2503 \u2503 \u2503 * @param {Object} obj The object to query\n\u2503 \u2503 \u2503 * @return {*} The value at `obj.p`.\n\u2503 \u2503 \u2503 */\n\u2503 \u2503 \u2503 var prop = _curry2(function prop(p, obj)\n\u2503 \u2503 \u2523\u2501\u2501 /**\n\u2503 \u2503 \u2503 * Solves equations of the form a * x = b\n\u2503 \u2503 \u2503 * @param {{\n\u2503 \u2503 \u2503 * z: number\n\u2503 \u2503 \u2503 * }} x\n\u2503 \u2503 \u2503 */\n\u2503 \u2503 \u2503 function foo(x)\n\u2503 \u2503 \u2523\u2501\u2501 /**\n\u2503 \u2503 \u2503 * Deconstructs an array field from the input documents to output a document for each element.\n\u2503 \u2503 \u2503 * Each output document is the input document with the value of the array field replaced by the element.\n\u2503 \u2503 \u2503 * @category Object\n\u2503 \u2503 \u2503 * @sig String -> {k: [v]} -> [{k: v}]\n\u2503 \u2503 \u2503 * @param {String} key The key to determine which property of the object should be unwound.\n\u2503 \u2503 \u2503 * @param {Object} object The object containing the list to unwind at the property named by the key.\n\u2503 \u2503 \u2503 * @return {List} A list of new objects, each having the given key associated to an item from the unwound list.\n\u2503 \u2503 \u2503 */\n\u2503 \u2503 \u2503 var unwind = _curry2(function(key, object)\n\u2503 \u2503 \u2517\u2501\u2501 return _map(function(item)\n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 tensorflow_flags.h (7,098 tokens, 668 lines)\n\u2503 \u2503 \u2523\u2501\u2501 TF_DECLARE_FLAG('test_only_experiment_1')\n\u2503 \u2503 \u2523\u2501\u2501 TF_DECLARE_FLAG('test_only_experiment_2')\n\u2503 \u2503 \u2523\u2501\u2501 TF_DECLARE_FLAG('enable_nested_function_shape_inference'):\n\u2503 \u2503 \u2503 Allow ops such as tf.cond to invoke the ShapeRefiner on their nested functions.\n\u2503 \u2503 \u2523\u2501\u2501 TF_DECLARE_FLAG('enable_quantized_dtypes_training'):\n\u2503 \u2503 \u2503 Set quantized dtypes, like tf.qint8, to be trainable.\n\u2503 \u2503 \u2523\u2501\u2501 TF_DECLARE_FLAG('graph_building_optimization'):\n\u2503 \u2503 \u2503 Optimize graph building for faster tf.function tracing.\n\u2503 \u2503 \u2523\u2501\u2501 TF_DECLARE_FLAG('saved_model_fingerprinting'):\n\u2503 \u2503 \u2503 Add fingerprint to SavedModels.\n\u2503 \u2503 \u2523\u2501\u2501 TF_DECLARE_FLAG('more_stack_traces'):\n\u2503 \u2503 \u2503 Enable experimental code that preserves and propagates graph node stack traces in C++.\n\u2503 \u2503 \u2523\u2501\u2501 TF_DECLARE_FLAG('publish_function_graphs'):\n\u2503 \u2503 \u2503 Enables the publication of partitioned function graphs via StatsPublisherInterface. Disabling this flag can reduce\n\u2503 \u2503 \u2503 memory consumption.\n\u2503 \u2503 \u2523\u2501\u2501 TF_DECLARE_FLAG('enable_aggressive_constant_replication'):\n\u2503 \u2503 \u2503 Replicate constants across CPU devices and even for local CPUs within the same task if available.\n\u2503 \u2503 \u2523\u2501\u2501 TF_DECLARE_FLAG('enable_colocation_key_propagation_in_while_op_lowering'):\n\u2503 \u2503 \u2503 If true, colocation key attributes for the ops will be propagated during while op lowering to switch/merge ops.\n\u2503 \u2503 \u2523\u2501\u2501 Flag('tf_xla_auto_jit'):\n\u2503 \u2503 \u2503 Control compilation of operators into XLA computations on CPU and GPU devices. 0 = use ConfigProto setting; -1 = \n\u2503 \u2503 \u2503 off; 1 = on for things very likely to be improved; 2 = on for everything; (experimental) fusible = only for \n\u2503 \u2503 \u2503 Tensorflow operations that XLA knows how to fuse. If set to single-gpu(<N>) then this resolves to <N> for single-GPU\n\u2503 \u2503 \u2503 graphs (graphs that have at least one node placed on a GPU and no more than one GPU is in use through the entire \n\u2503 \u2503 \u2503 graph) and 0 otherwise. Experimental.\n\u2503 \u2503 \u2523\u2501\u2501 Flag('tf_xla_min_cluster_size'):\n\u2503 \u2503 \u2503 Minimum number of operators in an XLA compilation. Ignored for operators placed on an XLA device or operators \n\u2503 \u2503 \u2503 explicitly marked for compilation.\n\u2503 \u2503 \u2523\u2501\u2501 Flag('tf_xla_max_cluster_size'):\n\u2503 \u2503 \u2503 Maximum number of operators in an XLA compilation.\n\u2503 \u2503 \u2523\u2501\u2501 Flag('tf_xla_cluster_exclude_ops'):\n\u2503 \u2503 \u2503 (experimental) Exclude the operations from auto-clustering. If multiple, separate them with commas. Where, \n\u2503 \u2503 \u2503 Some_other_ops.\n\u2503 \u2503 \u2523\u2501\u2501 Flag('tf_xla_clustering_debug'):\n\u2503 \u2503 \u2503 Dump graphs during XLA compilation.\n\u2503 \u2503 \u2523\u2501\u2501 Flag('tf_xla_cpu_global_jit'):\n\u2503 \u2503 \u2503 Enables global JIT compilation for CPU via SessionOptions.\n\u2503 \u2503 \u2523\u2501\u2501 Flag('tf_xla_clustering_fuel'):\n\u2503 \u2503 \u2503 Places an artificial limit on the number of ops marked as eligible for clustering.\n\u2503 \u2503 \u2523\u2501\u2501 Flag('tf_xla_disable_deadness_safety_checks_for_debugging'):\n\u2503 \u2503 \u2503 Disable deadness related safety checks when clustering (this is unsound).\n\u2503 \u2503 \u2523\u2501\u2501 Flag('tf_xla_disable_resource_variable_safety_checks_for_debugging'):\n\u2503 \u2503 \u2503 Disable resource variables related safety checks when clustering (this is unsound).\n\u2503 \u2503 \u2523\u2501\u2501 Flag('tf_xla_deterministic_cluster_names'):\n\u2503 \u2503 \u2503 Causes the function names assigned by auto clustering to be deterministic from run to run.\n\u2503 \u2503 \u2523\u2501\u2501 Flag('tf_xla_persistent_cache_directory'):\n\u2503 \u2503 \u2503 If non-empty, JIT-compiled executables are saved to and loaded from the specified file system directory path. \n\u2503 \u2503 \u2503 Empty by default.\n\u2503 \u2503 \u2523\u2501\u2501 Flag('tf_xla_persistent_cache_device_types'):\n\u2503 \u2503 \u2503 If non-empty, the persistent cache will only be used for the specified devices (comma separated). Each device type\n\u2503 \u2503 \u2503 should be able to be converted to.\n\u2503 \u2503 \u2523\u2501\u2501 Flag('tf_xla_persistent_cache_read_only'):\n\u2503 \u2503 \u2503 If true, the persistent cache will be read-only.\n\u2503 \u2503 \u2523\u2501\u2501 Flag('tf_xla_disable_strict_signature_checks'):\n\u2503 \u2503 \u2503 If true, entires loaded into the XLA compile cache will not have their signatures checked strictly. Defaults to \n\u2503 \u2503 \u2503 false.\n\u2503 \u2503 \u2523\u2501\u2501 Flag('tf_xla_persistent_cache_prefix'):\n\u2503 \u2503 \u2503 Specifies the persistance cache prefix. Default is.\n\u2503 \u2503 \u2523\u2501\u2501 Flag('tf_xla_sparse_core_disable_table_stacking'):\n\u2503 \u2503 \u2503 Disable table stacking for all the tables passed to the SparseCore mid level API.\n\u2503 \u2503 \u2523\u2501\u2501 Flag('tf_xla_sparse_core_minibatch_max_division_level'):\n\u2503 \u2503 \u2503 Max level of division to split input data into minibatches.\n\u2503 \u2503 \u2523\u2501\u2501 Flag('tf_xla_sparse_core_stacking_mem_limit_bytes'):\n\u2503 \u2503 \u2503 If non-zero, limits the size of the activations for a given table to be below these many bytes.\n\u2503 \u2503 \u2523\u2501\u2501 Flag('tf_xla_sparse_core_stacking_table_shard_limit_bytes'):\n\u2503 \u2503 \u2503 If non-zero, limits the size of any table shard to be below these many bytes.\n\u2503 \u2503 \u2523\u2501\u2501 Flag('always_specialize')\n\u2503 \u2503 \u2523\u2501\u2501 Flag('cost_driven_async_parallel_for')\n\u2503 \u2503 \u2523\u2501\u2501 Flag('enable_crash_reproducer')\n\u2503 \u2503 \u2523\u2501\u2501 Flag('log_query_of_death')\n\u2503 \u2503 \u2523\u2501\u2501 Flag('vectorize')\n\u2503 \u2503 \u2523\u2501\u2501 Flag('tf_xla_enable_lazy_compilation')\n\u2503 \u2503 \u2523\u2501\u2501 Flag('tf_xla_print_cluster_outputs'):\n\u2503 \u2503 \u2503 If true then insert Print nodes to print out values produced by XLA clusters.\n\u2503 \u2503 \u2523\u2501\u2501 Flag('tf_xla_check_cluster_input_numerics'):\n\u2503 \u2503 \u2503 If true then insert CheckNumerics nodes to check all cluster inputs.\n\u2503 \u2503 \u2523\u2501\u2501 Flag('tf_xla_check_cluster_output_numerics'):\n\u2503 \u2503 \u2503 If true then insert CheckNumerics nodes to check all cluster outputs.\n\u2503 \u2503 \u2523\u2501\u2501 Flag('tf_xla_disable_constant_folding'):\n\u2503 \u2503 \u2503 If true then disables constant folding on TF graph before XLA compilation.\n\u2503 \u2503 \u2523\u2501\u2501 Flag('tf_xla_disable_full_embedding_pipelining'):\n\u2503 \u2503 \u2503 If true then disables full embedding pipelining and instead use strict SparseCore / TensorCore sequencing.\n\u2503 \u2503 \u2523\u2501\u2501 Flag('tf_xla_embedding_parallel_iterations'):\n\u2503 \u2503 \u2503 If >0 then use this many parallel iterations in embedding_pipelining and embedding_sequency. By default, use the \n\u2503 \u2503 \u2503 parallel_iterations on the original model WhileOp.\n\u2503 \u2503 \u2523\u2501\u2501 Flag('tf_xla_compile_on_demand'):\n\u2503 \u2503 \u2503 Switch a device into 'on-demand' mode, where instead of autoclustering ops are compiled one by one just-in-time.\n\u2503 \u2503 \u2523\u2501\u2501 Flag('tf_xla_enable_xla_devices'):\n\u2503 \u2503 \u2503 Generate XLA_* devices, where placing a computation on such a device forces compilation by XLA. Deprecated.\n\u2503 \u2503 \u2523\u2501\u2501 Flag('tf_xla_always_defer_compilation')\n\u2503 \u2503 \u2523\u2501\u2501 Flag('tf_xla_async_compilation'):\n\u2503 \u2503 \u2503 When lazy compilation is enabled, asynchronous compilation starts the cluster compilation in the background, and \n\u2503 \u2503 \u2503 the fallback path is executed until the compilation has finished.\n\u2503 \u2503 \u2523\u2501\u2501 Flag('tf_xla_use_device_api_for_xla_launch'):\n\u2503 \u2503 \u2503 If true, uses Device API (PjRt) for single device compilation and execution of functions marked for JIT \n\u2503 \u2503 \u2503 compilation i.e. jit_compile=True. Defaults to false.\n\u2503 \u2503 \u2523\u2501\u2501 Flag('tf_xla_use_device_api_for_compile_on_demand'):\n\u2503 \u2503 \u2503 If true, uses Device API (PjRt) for compiling and executing ops one by one in 'on-demand' mode. Defaults to false.\n\u2503 \u2503 \u2523\u2501\u2501 Flag('tf_xla_use_device_api_for_auto_jit'):\n\u2503 \u2503 \u2503 If true, uses Device API (PjRt) for compilation and execution when auto-clustering is enabled. Defaults to false.\n\u2503 \u2503 \u2523\u2501\u2501 Flag('tf_xla_use_device_api'):\n\u2503 \u2503 \u2503 If true, uses Device API (PjRt) for compilation and execution of ops one-by-one in 'on-demand' mode, for functions\n\u2503 \u2503 \u2503 marked for JIT compilation, or when auto-clustering is enabled. Defaults to false.\n\u2503 \u2503 \u2523\u2501\u2501 Flag('tf_xla_enable_device_api_for_gpu'):\n\u2503 \u2503 \u2503 If true, uses Device API (PjRt) for TF GPU device. This is a helper flag so that individual tests can turn on PjRt\n\u2503 \u2503 \u2503 for GPU specifically.\n\u2503 \u2503 \u2523\u2501\u2501 Flag('tf_xla_call_module_disabled_checks'):\n\u2503 \u2503 \u2503 A comma-sepated list of directives specifying the safety checks to be skipped when compiling XlaCallModuleOp. See \n\u2503 \u2503 \u2503 the op documentation for the recognized values.\n\u2503 \u2503 \u2523\u2501\u2501 Flag('tf_mlir_enable_mlir_bridge'):\n\u2503 \u2503 \u2503 Enables experimental MLIR-Based TensorFlow Compiler Bridge.\n\u2503 \u2503 \u2523\u2501\u2501 Flag('tf_mlir_enable_merge_control_flow_pass'):\n\u2503 \u2503 \u2503 Enables MergeControlFlow pass for MLIR-Based TensorFlow Compiler Bridge.\n\u2503 \u2503 \u2523\u2501\u2501 Flag('tf_mlir_enable_convert_control_to_data_outputs_pass'):\n\u2503 \u2503 \u2503 Enables MLIR-Based TensorFlow Compiler Bridge.\n\u2503 \u2503 \u2523\u2501\u2501 Flag('tf_mlir_enable_strict_clusters'):\n\u2503 \u2503 \u2503 Do not allow clusters that have cyclic control dependencies.\n\u2503 \u2503 \u2523\u2501\u2501 Flag('tf_mlir_enable_multiple_local_cpu_devices'):\n\u2503 \u2503 \u2503 Enable multiple local CPU devices. CPU ops which are outside compiled inside the tpu cluster will also be \n\u2503 \u2503 \u2503 replicated across multiple cpu devices.\n\u2503 \u2503 \u2523\u2501\u2501 Flag('tf_dump_graphs_in_tfg'):\n\u2503 \u2503 \u2503 When tf_dump_graphs_in_tfg is true, graphs after transformations are dumped in MLIR TFG dialect and not in \n\u2503 \u2503 \u2503 GraphDef.\n\u2503 \u2503 \u2523\u2501\u2501 Flag('tf_mlir_enable_generic_outside_compilation'):\n\u2503 \u2503 \u2503 Enables OutsideCompilation passes for MLIR-Based TensorFlow Generic Compiler Bridge.\n\u2503 \u2503 \u2523\u2501\u2501 Flag('tf_mlir_enable_tpu_variable_runtime_reformatting_pass'):\n\u2503 \u2503 \u2503 Enables TPUVariableRuntimeReformatting pass for MLIR-Based TensorFlow Compiler Bridge. This enables weight update \n\u2503 \u2503 \u2503 sharding and creates TPUReshardVariables ops.\n\u2503 \u2503 \u2523\u2501\u2501 TF_PY_DECLARE_FLAG('test_only_experiment_1')\n\u2503 \u2503 \u2523\u2501\u2501 TF_PY_DECLARE_FLAG('test_only_experiment_2')\n\u2503 \u2503 \u2523\u2501\u2501 TF_PY_DECLARE_FLAG('enable_nested_function_shape_inference')\n\u2503 \u2503 \u2523\u2501\u2501 TF_PY_DECLARE_FLAG('enable_quantized_dtypes_training')\n\u2503 \u2503 \u2523\u2501\u2501 TF_PY_DECLARE_FLAG('graph_building_optimization')\n\u2503 \u2503 \u2523\u2501\u2501 TF_PY_DECLARE_FLAG('op_building_optimization')\n\u2503 \u2503 \u2523\u2501\u2501 TF_PY_DECLARE_FLAG('saved_model_fingerprinting')\n\u2503 \u2503 \u2523\u2501\u2501 TF_PY_DECLARE_FLAG('tf_shape_default_int64')\n\u2503 \u2503 \u2523\u2501\u2501 TF_PY_DECLARE_FLAG('more_stack_traces')\n\u2503 \u2503 \u2523\u2501\u2501 TF_PY_DECLARE_FLAG('publish_function_graphs')\n\u2503 \u2503 \u2523\u2501\u2501 TF_PY_DECLARE_FLAG('enable_aggressive_constant_replication')\n\u2503 \u2503 \u2523\u2501\u2501 TF_PY_DECLARE_FLAG('enable_colocation_key_propagation_in_while_op_lowering')\n\u2503 \u2503 \u2523\u2501\u2501 #define TENSORFLOW_CORE_CONFIG_FLAG_DEFS_H_\n\u2503 \u2503 \u2523\u2501\u2501 class Flags\n\u2503 \u2503 \u2523\u2501\u2501 bool SetterForXlaAutoJitFlag(const string& value)\n\u2503 \u2503 \u2523\u2501\u2501 bool SetterForXlaCallModuleDisabledChecks(const string& value)\n\u2503 \u2503 \u2523\u2501\u2501 void AppendMarkForCompilationPassFlagsInternal(std::vector<Flag>* flag_list)\n\u2503 \u2503 \u2523\u2501\u2501 void AllocateAndParseJitRtFlags()\n\u2503 \u2503 \u2523\u2501\u2501 void AllocateAndParseFlags()\n\u2503 \u2503 \u2523\u2501\u2501 void ResetFlags()\n\u2503 \u2503 \u2523\u2501\u2501 bool SetXlaAutoJitFlagFromFlagString(const string& value)\n\u2503 \u2503 \u2523\u2501\u2501 BuildXlaOpsPassFlags* GetBuildXlaOpsPassFlags()\n\u2503 \u2503 \u2523\u2501\u2501 MarkForCompilationPassFlags* GetMarkForCompilationPassFlags()\n\u2503 \u2503 \u2523\u2501\u2501 XlaSparseCoreFlags* GetXlaSparseCoreFlags()\n\u2503 \u2503 \u2523\u2501\u2501 XlaDeviceFlags* GetXlaDeviceFlags()\n\u2503 \u2503 \u2523\u2501\u2501 XlaOpsCommonFlags* GetXlaOpsCommonFlags()\n\u2503 \u2503 \u2523\u2501\u2501 XlaCallModuleFlags* GetXlaCallModuleFlags()\n\u2503 \u2503 \u2523\u2501\u2501 MlirCommonFlags* GetMlirCommonFlags()\n\u2503 \u2503 \u2523\u2501\u2501 void ResetJitCompilerFlags()\n\u2503 \u2503 \u2523\u2501\u2501 const JitRtFlags& GetJitRtFlags()\n\u2503 \u2503 \u2523\u2501\u2501 ConfigProto::Experimental::MlirBridgeRollout GetMlirBridgeRolloutState(\n\u2503 \u2503 \u2503 std::optional<const ConfigProto> config_proto)\n\u2503 \u2503 \u2523\u2501\u2501 void AppendMarkForCompilationPassFlags(std::vector<Flag>* flag_list)\n\u2503 \u2503 \u2523\u2501\u2501 void DisableXlaCompilation()\n\u2503 \u2503 \u2523\u2501\u2501 void EnableXlaCompilation()\n\u2503 \u2503 \u2523\u2501\u2501 bool FailOnXlaCompilation()\n\u2503 \u2503 \u2517\u2501\u2501 #define TF_PY_DECLARE_FLAG(flag_name)\n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 test.f (200 tokens, 31 lines)\n\u2503 \u2503 \u2523\u2501\u2501 MODULE basic_mod\n\u2503 \u2503 \u2523\u2501\u2501 TYPE :: person\n\u2503 \u2503 \u2503 CHARACTER(LEN=50) :: name\n\u2503 \u2503 \u2503 INTEGER :: age\n\u2503 \u2503 \u2503 END TYPE person\n\u2503 \u2503 \u2523\u2501\u2501 SUBROUTINE short_hello(happy, path)\n\u2503 \u2503 \u2503 END SUBROUTINE short_hello\n\u2503 \u2503 \u2523\u2501\u2501 SUBROUTINE long_hello(\n\u2503 \u2503 \u2503 p,\n\u2503 \u2503 \u2503 message\n\u2503 \u2503 \u2503 )\n\u2503 \u2503 \u2503 END SUBROUTINE long_hello\n\u2503 \u2503 \u2523\u2501\u2501 END MODULE basic_mod\n\u2503 \u2503 \u2517\u2501\u2501 PROGRAM HelloFortran\n\u2503 \u2503 END PROGRAM HelloFortran\n\u2503 \u2517\u2501\u2501 \ud83d\udcc4 torch.rst (53 tokens, 9 lines)\n\u2503 \u2523\u2501\u2501 # libtorch (C++-only)\n\u2503 \u2517\u2501\u2501 - Building libtorch using Python\n\u2517\u2501\u2501 \ud83d\udcc1 group_lisp (1 folder, 4 files) \n \u2523\u2501\u2501 \ud83d\udcc4 clojure_test.clj (726 tokens, 86 lines)\n \u2503 \u2523\u2501\u2501 defprotocol P\n \u2503 \u2523\u2501\u2501 defrecord Person\n \u2503 \u2523\u2501\u2501 defn -main\n \u2503 \u2523\u2501\u2501 ns bion.likes_trees\n \u2503 \u2523\u2501\u2501 def repo-url\n \u2503 \u2523\u2501\u2501 defn config\n \u2503 \u2523\u2501\u2501 defmacro with-os\n \u2503 \u2517\u2501\u2501 defrecord SetFullElement\n \u2523\u2501\u2501 \ud83d\udcc4 LispTest.lisp (31 tokens, 6 lines)\n \u2503 \u2523\u2501\u2501 defstruct person\n \u2503 \u2517\u2501\u2501 defun greet\n \u2523\u2501\u2501 \ud83d\udcc4 racket_struct.rkt (17 tokens, 2 lines)\n \u2503 \u2517\u2501\u2501 struct point\n \u2517\u2501\u2501 \ud83d\udcc4 test_scheme.scm (389 tokens, 45 lines)\n \u2523\u2501\u2501 define topological-sort\n \u2523\u2501\u2501 define table\n \u2523\u2501\u2501 define queue\n \u2523\u2501\u2501 define result\n \u2523\u2501\u2501 define set-up\n \u2517\u2501\u2501 define traverse\n\ntree_plus v(1.0.35) ignore=('group_todo',) globs=() syntax=False paths=('tests/more_languages',)\n8 folder(s), 75 file(s), 6,427 line(s), 48,475 token(s) in 0.51 second(s).\n\n```\n<!-- t2-end -->\n## Got Globs?\n\n<!-- t3-start -->\n```sh\ntree_plus -g \"*.*s\" -i group_todo tests/more_languages\n\ud83d\udcc1 more_languages (6 folders, 16 files) \n\u2523\u2501\u2501 \ud83d\udcc1 group1 (1 folder, 2 files) \n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 test.js (755 tokens, 154 lines)\n\u2503 \u2503 \u2523\u2501\u2501 class MyClass\n\u2503 \u2503 \u2523\u2501\u2501 myMethod()\n\u2503 \u2503 \u2523\u2501\u2501 async asyncMethod(a, b)\n\u2503 \u2503 \u2523\u2501\u2501 methodWithDefaultParameters(a = 5, b = 10)\n\u2503 \u2503 \u2523\u2501\u2501 multilineMethod(\n\u2503 \u2503 \u2503 c,\n\u2503 \u2503 \u2503 d\n\u2503 \u2503 \u2503 )\n\u2503 \u2503 \u2523\u2501\u2501 multilineMethodWithDefaults(\n\u2503 \u2503 \u2503 t = \"tree\",\n\u2503 \u2503 \u2503 p = \"plus\"\n\u2503 \u2503 \u2503 )\n\u2503 \u2503 \u2523\u2501\u2501 function myFunction(param1, param2)\n\u2503 \u2503 \u2523\u2501\u2501 function multilineFunction(\n\u2503 \u2503 \u2503 param1,\n\u2503 \u2503 \u2503 param2\n\u2503 \u2503 \u2503 )\n\u2503 \u2503 \u2523\u2501\u2501 const arrowFunction = () =>\n\u2503 \u2503 \u2523\u2501\u2501 const parametricArrow = (a, b) =>\n\u2503 \u2503 \u2523\u2501\u2501 function ()\n\u2503 \u2503 \u2523\u2501\u2501 function outerFunction(outerParam)\n\u2503 \u2503 \u2523\u2501\u2501 function innerFunction(innerParam)\n\u2503 \u2503 \u2523\u2501\u2501 const myObject = {\n\u2503 \u2503 \u2523\u2501\u2501 myMethod: function (stuff)\n\u2503 \u2503 \u2523\u2501\u2501 let myArrowObject = {\n\u2503 \u2503 \u2523\u2501\u2501 myArrow: ({\n\u2503 \u2503 \u2503 a,\n\u2503 \u2503 \u2503 b,\n\u2503 \u2503 \u2503 c,\n\u2503 \u2503 \u2503 }) =>\n\u2503 \u2503 \u2523\u2501\u2501 const myAsyncArrowFunction = async () =>\n\u2503 \u2503 \u2523\u2501\u2501 function functionWithRestParameters(...args)\n\u2503 \u2503 \u2523\u2501\u2501 const namedFunctionExpression = function myNamedFunction()\n\u2503 \u2503 \u2523\u2501\u2501 const multilineArrowFunction = (\n\u2503 \u2503 \u2503 a,\n\u2503 \u2503 \u2503 b\n\u2503 \u2503 \u2503 ) =>\n\u2503 \u2503 \u2523\u2501\u2501 function functionReturningFunction()\n\u2503 \u2503 \u2523\u2501\u2501 return function ()\n\u2503 \u2503 \u2523\u2501\u2501 function destructuringOnMultipleLines({\n\u2503 \u2503 \u2503 a,\n\u2503 \u2503 \u2503 b,\n\u2503 \u2503 \u2503 })\n\u2503 \u2503 \u2523\u2501\u2501 const arrowFunctionWithDestructuring = ({ a, b }) =>\n\u2503 \u2503 \u2523\u2501\u2501 const multilineDestructuringArrow = ({\n\u2503 \u2503 \u2503 a,\n\u2503 \u2503 \u2503 b,\n\u2503 \u2503 \u2503 }) =>\n\u2503 \u2503 \u2523\u2501\u2501 async function asyncFunctionWithErrorHandling()\n\u2503 \u2503 \u2523\u2501\u2501 class Car\n\u2503 \u2503 \u2523\u2501\u2501 constructor(brand)\n\u2503 \u2503 \u2523\u2501\u2501 present()\n\u2503 \u2503 \u2523\u2501\u2501 class Model extends Car\n\u2503 \u2503 \u2523\u2501\u2501 constructor(brand, mod)\n\u2503 \u2503 \u2517\u2501\u2501 show()\n\u2503 \u2517\u2501\u2501 \ud83d\udcc4 test.ts (871 tokens, 166 lines)\n\u2503 \u2523\u2501\u2501 type MyType\n\u2503 \u2523\u2501\u2501 interface MyInterface\n\u2503 \u2523\u2501\u2501 class TsClass\n\u2503 \u2523\u2501\u2501 myMethod()\n\u2503 \u2523\u2501\u2501 myMethodWithArgs(param1: string, param2: number): void\n\u2503 \u2523\u2501\u2501 static myStaticMethod<T>(param: T): T\n\u2503 \u2523\u2501\u2501 multilineMethod(\n\u2503 \u2503 c: number,\n\u2503 \u2503 d: number\n\u2503 \u2503 ): number\n\u2503 \u2523\u2501\u2501 multilineMethodWithDefaults(\n\u2503 \u2503 t: string = \"tree\",\n\u2503 \u2503 p: string = \"plus\"\n\u2503 \u2503 ): string\n\u2503 \u2523\u2501\u2501 export class AdvancedComponent implements MyInterface\n\u2503 \u2523\u2501\u2501 async myAsyncMethod(\n\u2503 \u2503 a: string,\n\u2503 \u2503 b: number,\n\u2503 \u2503 c: string\n\u2503 \u2503 ): Promise<void>\n\u2503 \u2523\u2501\u2501 genericMethod<T, U>(\n\u2503 \u2503 arg1: T,\n\u2503 \u2503 arg2: U\n\u2503 \u2503 ): [T, U]\n\u2503 \u2523\u2501\u2501 export class TicketsComponent implements MyInterface\n\u2503 \u2523\u2501\u2501 async myAsyncMethod({ a, b, c }: { a: String; b: Number; c: String })\n\u2503 \u2523\u2501\u2501 function tsFunction()\n\u2503 \u2523\u2501\u2501 function tsFunctionSigned(\n\u2503 \u2503 param1: number,\n\u2503 \u2503 param2: number\n\u2503 \u2503 ): void\n\u2503 \u2523\u2501\u2501 export default async function tsFunctionComplicated<A, B, C>({\n\u2503 \u2503 a = 1 | 2,\n\u2503 \u2503 b = \"bob\",\n\u2503 \u2503 c = async () => \"charlie\",\n\u2503 \u2503 }: {\n\u2503 \u2503 a: number;\n\u2503 \u2503 b: string;\n\u2503 \u2503 c: () => Promise<string>;\n\u2503 \u2503 }): Promise<string>\n\u2503 \u2523\u2501\u2501 const tsArrowFunctionSigned = ({\n\u2503 \u2503 a,\n\u2503 \u2503 b,\n\u2503 \u2503 }: {\n\u2503 \u2503 a: number;\n\u2503 \u2503 b: string;\n\u2503 \u2503 }) =>\n\u2503 \u2523\u2501\u2501 export const tsComplicatedArrow = async ({\n\u2503 \u2503 a = 1 | 2,\n\u2503 \u2503 b = \"bob\",\n\u2503 \u2503 c = async () => \"charlie\",\n\u2503 \u2503 }: {\n\u2503 \u2503 a: number;\n\u2503 \u2503 b: string;\n\u2503 \u2503 c: () => Promise<string>;\n\u2503 \u2503 }): Promise<string> =>\n\u2503 \u2523\u2501\u2501 const arrowFunction = () =>\n\u2503 \u2523\u2501\u2501 const arrow = (a: String, b: Number) =>\n\u2503 \u2523\u2501\u2501 const asyncArrowFunction = async () =>\n\u2503 \u2523\u2501\u2501 const asyncArrow = async (a: String, b: Number) =>\n\u2503 \u2523\u2501\u2501 let weirdArrow = () =>\n\u2503 \u2523\u2501\u2501 const asyncPromiseArrow = async (): Promise<void> =>\n\u2503 \u2523\u2501\u2501 let myWeirdArrowSigned = (x: number): number =>\n\u2503 \u2523\u2501\u2501 class Person\n\u2503 \u2523\u2501\u2501 constructor(private firstName: string, private lastName: string)\n\u2503 \u2523\u2501\u2501 getFullName(): string\n\u2503 \u2523\u2501\u2501 describe(): string\n\u2503 \u2523\u2501\u2501 class Employee extends Person\n\u2503 \u2523\u2501\u2501 constructor(\n\u2503 \u2503 firstName: string,\n\u2503 \u2503 lastName: string,\n\u2503 \u2503 private jobTitle: string\n\u2503 \u2503 )\n\u2503 \u2523\u2501\u2501 describe(): string\n\u2503 \u2523\u2501\u2501 interface Shape\n\u2503 \u2517\u2501\u2501 interface Square extends Shape\n\u2523\u2501\u2501 \ud83d\udcc1 group3 (1 folder, 1 file) \n\u2503 \u2517\u2501\u2501 \ud83d\udcc4 csharp_test.cs (850 tokens, 147 lines)\n\u2503 \u2523\u2501\u2501 public interface IExcelTemplate\n\u2503 \u2523\u2501\u2501 void LoadTemplate(string templateFilePath)\n\u2503 \u2523\u2501\u2501 void LoadData(Dictionary<string, string> data)\n\u2503 \u2523\u2501\u2501 void ModifyCell(string cellName, string value)\n\u2503 \u2523\u2501\u2501 void SaveToFile(string filePath)\n\u2503 \u2523\u2501\u2501 public interface IGreet\n\u2503 \u2523\u2501\u2501 void Greet()\n\u2503 \u2523\u2501\u2501 public enum WeekDays\n\u2503 \u2523\u2501\u2501 public delegate void DisplayMessage(string message)\n\u2503 \u2523\u2501\u2501 public struct Address\n\u2503 \u2523\u2501\u2501 public static class HelperFunctions\n\u2503 \u2523\u2501\u2501 public static void PrintMessage(string message)\n\u2503 \u2523\u2501\u2501 public static int AddNumbers(int a, int b)\n\u2503 \u2523\u2501\u2501 namespace HelloWorldApp\n\u2503 \u2523\u2501\u2501 class Person : IGreet\n\u2503 \u2523\u2501\u2501 public Person(string name, int age)\n\u2503 \u2523\u2501\u2501 public void Greet()\n\u2503 \u2523\u2501\u2501 class HelloWorld\n\u2503 \u2523\u2501\u2501 static void Main(string[] args)\n\u2503 \u2523\u2501\u2501 namespace TemplateToExcelServer.Template\n\u2503 \u2523\u2501\u2501 public interface ITemplateObject\n\u2503 \u2523\u2501\u2501 string[,] GetContent()\n\u2503 \u2523\u2501\u2501 string[] GetContentArray()\n\u2503 \u2523\u2501\u2501 string[] GetFormat()\n\u2503 \u2523\u2501\u2501 int? GetFormatLength()\n\u2503 \u2523\u2501\u2501 TemplateObject SetContent(string[,] Content)\n\u2503 \u2523\u2501\u2501 TemplateObject SetContentArray(string[] value)\n\u2503 \u2523\u2501\u2501 TemplateObject SetFormat(string[] Header)\n\u2503 \u2523\u2501\u2501 TemplateObject SetNameOfReport(\n\u2503 \u2503 ReadOnlyMemory<byte> ReportName,\n\u2503 \u2503 int[] EdgeCase)\n\u2503 \u2523\u2501\u2501 TemplateObject SetSheetName(ReadOnlyMemory<byte> SheetName)\n\u2503 \u2523\u2501\u2501 public class BankAccount(string accountID, string owner)\n\u2503 \u2523\u2501\u2501 public override string ToString() =>\n\u2503 \u2523\u2501\u2501 var IncrementBy = (int source, int increment = 1) =>\n\u2503 \u2523\u2501\u2501 Func<int, int, int> add = (x, y) =>\n\u2503 \u2523\u2501\u2501 button.Click += (sender, args) =>\n\u2503 \u2523\u2501\u2501 public Func<int, int> GetMultiplier(int factor)\n\u2503 \u2523\u2501\u2501 public void Method(\n\u2503 \u2503 int param1,\n\u2503 \u2503 int param2,\n\u2503 \u2503 int param3,\n\u2503 \u2503 int param4,\n\u2503 \u2503 int param5,\n\u2503 \u2503 int param6,\n\u2503 \u2503 )\n\u2503 \u2523\u2501\u2501 System.Net.ServicePointManager.ServerCertificateValidationCallback +=\n\u2503 \u2503 (se, cert, chain, sslerror) =>\n\u2503 \u2523\u2501\u2501 class ServerCertificateValidation\n\u2503 \u2523\u2501\u2501 public bool OnRemoteCertificateValidation(\n\u2503 \u2503 object se,\n\u2503 \u2503 X509Certificate cert,\n\u2503 \u2503 X509Chain chain,\n\u2503 \u2503 SslPolicyErrors sslerror\n\u2503 \u2503 )\n\u2503 \u2523\u2501\u2501 s_downloadButton.Clicked += async (o, e) =>\n\u2503 \u2523\u2501\u2501 [HttpGet, Route(\"DotNetCount\")]\n\u2503 \u2517\u2501\u2501 static public async Task<int> GetDotNetCount(string URL)\n\u2523\u2501\u2501 \ud83d\udcc1 group4 (1 folder, 3 files) \n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 haskell_test.hs (373 tokens, 41 lines)\n\u2503 \u2503 \u2523\u2501\u2501 data Person\n\u2503 \u2503 \u2523\u2501\u2501 greet :: Person -> String\n\u2503 \u2503 \u2517\u2501\u2501 resolveVariables ::\n\u2503 \u2503 forall m fragments.\n\u2503 \u2503 (MonadError QErr m, Traversable fragments) =>\n\u2503 \u2503 Options.BackwardsCompatibleNullInNonNullableVariables ->\n\u2503 \u2503 [G.VariableDefinition] ->\n\u2503 \u2503 GH.VariableValues ->\n\u2503 \u2503 [G.Directive G.Name] ->\n\u2503 \u2503 G.SelectionSet fragments G.Name ->\n\u2503 \u2503 m\n\u2503 \u2503 ( [G.Directive Variable],\n\u2503 \u2503 G.SelectionSet fragments Variable\n\u2503 \u2503 )\n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 rust_test.rs (890 tokens, 159 lines)\n\u2503 \u2503 \u2523\u2501\u2501 enum Days\n\u2503 \u2503 \u2523\u2501\u2501 struct Point\n\u2503 \u2503 \u2523\u2501\u2501 impl Point\n\u2503 \u2503 \u2523\u2501\u2501 fn get_origin() -> Point\n\u2503 \u2503 \u2523\u2501\u2501 struct Person\n\u2503 \u2503 \u2523\u2501\u2501 impl Person\n\u2503 \u2503 \u2523\u2501\u2501 fn greet(&self)\n\u2503 \u2503 \u2523\u2501\u2501 fn add_two_longs(x1: i64, x2: i64) -> i64\n\u2503 \u2503 \u2523\u2501\u2501 fn add_two_longs_longer(\n\u2503 \u2503 \u2503 x1: i64,\n\u2503 \u2503 \u2503 x2: i64,\n\u2503 \u2503 \u2503 ) -> i64\n\u2503 \u2503 \u2523\u2501\u2501 fn multiply_by_two(num: f64) -> f64\n\u2503 \u2503 \u2523\u2501\u2501 fn get_first_character(s: &str) -> Option<char>\n\u2503 \u2503 \u2523\u2501\u2501 trait Drawable\n\u2503 \u2503 \u2523\u2501\u2501 fn draw(&self)\n\u2503 \u2503 \u2523\u2501\u2501 impl Drawable for Point\n\u2503 \u2503 \u2523\u2501\u2501 fn draw(&self)\n\u2503 \u2503 \u2523\u2501\u2501 fn main()\n\u2503 \u2503 \u2523\u2501\u2501 pub struct VisibleStruct\n\u2503 \u2503 \u2523\u2501\u2501 mod my_module\n\u2503 \u2503 \u2523\u2501\u2501 pub struct AlsoVisibleStruct<T>(T, T)\n\u2503 \u2503 \u2523\u2501\u2501 macro_rules! say_hello\n\u2503 \u2503 \u2523\u2501\u2501 #[macro_export]\n\u2503 \u2503 \u2503 macro_rules! hello_tree_plus\n\u2503 \u2503 \u2523\u2501\u2501 pub mod lib\n\u2503 \u2503 \u2523\u2501\u2501 pub mod interfaces\n\u2503 \u2503 \u2523\u2501\u2501 mod engine\n\u2503 \u2503 \u2523\u2501\u2501 pub fn flow<S1, S2, S3, S4, E, T, L>(\n\u2503 \u2503 \u2503 source: S1,\n\u2503 \u2503 \u2503 extractor: E, \n\u2503 \u2503 \u2503 inbox: S2, \n\u2503 \u2503 \u2503 transformer: T, \n\u2503 \u2503 \u2503 outbox: S3, \n\u2503 \u2503 \u2503 loader: L, \n\u2503 \u2503 \u2503 sink: &mut S4,\n\u2503 \u2503 \u2503 ) -> Result<(), Box<dyn Error>>\n\u2503 \u2503 \u2503 where\n\u2503 \u2503 \u2503 S1: Extractable,\n\u2503 \u2503 \u2503 S2: Extractable + Loadable,\n\u2503 \u2503 \u2503 S3: Extractable + Loadable,\n\u2503 \u2503 \u2503 S4: Loadable,\n\u2503 \u2503 \u2503 E: Extractor<S1, S2>,\n\u2503 \u2503 \u2503 T: Transformer<S2, S3>,\n\u2503 \u2503 \u2503 L: Loader<S3, S4>\n\u2503 \u2503 \u2523\u2501\u2501 trait Container\n\u2503 \u2503 \u2523\u2501\u2501 fn items(&self) -> impl Iterator<Item = Widget>\n\u2503 \u2503 \u2523\u2501\u2501 trait HttpService\n\u2503 \u2503 \u2523\u2501\u2501 async fn fetch(&self, url: Url) -> HtmlBody\n\u2503 \u2503 \u2523\u2501\u2501 struct Pair<T, U>\n\u2503 \u2503 \u2523\u2501\u2501 trait Transformer<T>\n\u2503 \u2503 \u2523\u2501\u2501 fn transform(&self, input: T) -> T\n\u2503 \u2503 \u2523\u2501\u2501 impl<T: std::ops::Add<Output = T> + Copy> Transformer<T> for Pair<T, T>\n\u2503 \u2503 \u2523\u2501\u2501 fn transform(&self, input: T) -> T\n\u2503 \u2503 \u2517\u2501\u2501 fn main()\n\u2503 \u2517\u2501\u2501 \ud83d\udcc4 test_fsharp.fs (127 tokens, 27 lines)\n\u2503 \u2523\u2501\u2501 module TestFSharp\n\u2503 \u2523\u2501\u2501 type Person = {\n\u2503 \u2523\u2501\u2501 let add x y =\n\u2503 \u2523\u2501\u2501 let multiply \n\u2503 \u2503 (x: int) \n\u2503 \u2503 (y: int): int =\n\u2503 \u2523\u2501\u2501 let complexFunction\n\u2503 \u2503 (a: int)\n\u2503 \u2503 (b: string)\n\u2503 \u2503 (c: float)\n\u2503 \u2503 : (int * string) option =\n\u2503 \u2517\u2501\u2501 type Result<'T> =\n\u2523\u2501\u2501 \ud83d\udcc1 group5 (1 folder, 8 files) \n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 app-routing.module.ts (242 tokens, 28 lines)\n\u2503 \u2503 \u2523\u2501\u2501 const routes: Routes = [\n\u2503 \u2503 \u2503 { path: '', redirectTo: 'login', pathMatch: 'full' },\n\u2503 \u2503 \u2503 { path: '*', redirectTo: 'login' },\n\u2503 \u2503 \u2503 { path: 'home', component: HomeComponent },\n\u2503 \u2503 \u2503 { path: 'login', component: LoginComponent },\n\u2503 \u2503 \u2503 { path: 'register', component: RegisterComponent },\n\u2503 \u2503 \u2503 { path: 'events', component: EventsComponent },\n\u2503 \u2503 \u2503 { path: 'invites', component: InvitesComponent },\n\u2503 \u2503 \u2503 { path: 'rewards', component: RewardsComponent },\n\u2503 \u2503 \u2503 { path: 'profile', component: ProfileComponent },\n\u2503 \u2503 \u2503 ];\n\u2503 \u2503 \u2517\u2501\u2501 export class AppRoutingModule\n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 app.component.spec.ts (307 tokens, 48 lines)\n\u2503 \u2503 \u2523\u2501\u2501 describe 'AppComponent'\n\u2503 \u2503 \u2523\u2501\u2501 it should create the app\n\u2503 \u2503 \u2523\u2501\u2501 it should welcome the user\n\u2503 \u2503 \u2523\u2501\u2501 it should welcome 'Jimbo'\n\u2503 \u2503 \u2517\u2501\u2501 it should request login if not logged in\n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 app.component.ts (243 tokens, 45 lines)\n\u2503 \u2503 \u2523\u2501\u2501 export class AppComponent\n\u2503 \u2503 \u2523\u2501\u2501 constructor(private loginService: LoginService)\n\u2503 \u2503 \u2523\u2501\u2501 checkSession()\n\u2503 \u2503 \u2523\u2501\u2501 async goToEvent(event_id: string)\n\u2503 \u2503 \u2517\u2501\u2501 valInvitedBy(event: any, event_id: string)\n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 app.module.ts (269 tokens, 43 lines)\n\u2503 \u2503 \u2523\u2501\u2501 @NgModule({\n\u2503 \u2503 \u2503 declarations: [\n\u2503 \u2503 \u2503 AppComponent,\n\u2503 \u2503 \u2503 HomeComponent,\n\u2503 \u2503 \u2503 LoginComponent,\n\u2503 \u2503 \u2503 RegisterComponent,\n\u2503 \u2503 \u2503 EventsComponent,\n\u2503 \u2503 \u2503 InvitesComponent,\n\u2503 \u2503 \u2503 RewardsComponent,\n\u2503 \u2503 \u2503 ProfileComponent\n\u2503 \u2503 \u2517\u2501\u2501 export class AppModule\n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 environment.test.ts (193 tokens, 19 lines)\n\u2503 \u2503 \u2523\u2501\u2501 environment:\n\u2503 \u2503 \u2523\u2501\u2501 production\n\u2503 \u2503 \u2523\u2501\u2501 cognitoUserPoolId\n\u2503 \u2503 \u2523\u2501\u2501 cognitoAppClientId\n\u2503 \u2503 \u2517\u2501\u2501 apiurl\n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 rust_todo_test.rs (109 tokens, 27 lines)\n\u2503 \u2503 \u2523\u2501\u2501 TODO (Line 23): This todo tests parse_todo\n\u2503 \u2503 \u2523\u2501\u2501 enum Color\n\u2503 \u2503 \u2523\u2501\u2501 struct Point\n\u2503 \u2503 \u2523\u2501\u2501 trait Drawable\n\u2503 \u2503 \u2523\u2501\u2501 fn draw(&self)\n\u2503 \u2503 \u2523\u2501\u2501 impl Drawable for Point\n\u2503 \u2503 \u2523\u2501\u2501 fn draw(&self)\n\u2503 \u2503 \u2517\u2501\u2501 fn main()\n\u2503 \u2523\u2501\u2501 \ud83d\udcc4 standard-app-routing.module.ts (93 tokens, 17 lines)\n\u2503 \u2503 \u2517\u2501\u2501 const routes: Routes = [\n\u2503 \u2503 { path: '', component: HomeComponent },\n\u2503 \u2503 {\n\u2503 \u2503 path: 'heroes',\n\u2503 \u2503 component: HeroesListComponent,\n\u2503 \u2503 children: [\n\u2503 \u2503 { path: ':id', component: HeroDetailComponent },\n\u2503 \u2503 { path: 'new', component: HeroFormComponent },\n\u2503 \u2503 ],\n\u2503 \u2503 },\n\u2503 \u2503 { path: '**', component: PageNotFoundComponent },\n\u2503 \u2503 ];\n\u2503 \u2517\u2501\u2501 \ud83d\udcc4 tickets.component.ts (6,950 tokens, 903 lines)\n\u2503 \u2523\u2501\u2501 interface EnrichedTicket extends Ticket\n\u2503 \u2523\u2501\u2501 interface SpinConfig\n\u2503 \u2523\u2501\u2501 interface RotationState\n\u2503 \u2523\u2501\u2501 interface SpeakInput\n\u2503 \u2523\u2501\u2501 const formatSpeakInput = (input: SpeakInput): string =>\n\u2503 \u2523\u2501\u2501 function hourToSpeech(hour: number, minute: number, period: string): string\n\u2503 \u2523\u2501\u2501 export class TicketsComponent implements AfterViewInit\n\u2503 \u2523\u2501\u2501 speak(input: SpeakInput)\n\u2503 \u2523\u2501\u2501 speakEvent(ticket: EnrichedTicket): void\n\u2503 \u2523\u2501\u2501 formatEvent(ticket: EnrichedTicket): string\n\u2503 \u2523\u2501\u2501 speakVenue(ticket: EnrichedTicket): void\n\u2503 \u2523\u2501\u2501 formatDate(date: Date, oneLiner: boolean = false): string\n\u2503 \u2523\u2501\u2501 formatDateForSpeech(date: Date): string\n\u2503 \u2523\u2501\u2501 async spinQRCode(\n\u2503 \u2503 event: PointerEvent,\n\u2503 \u2503 config: SpinConfig = DEFAULT_SPIN_CONFIG\n\u2503 \u2503 )\n\u2503 \u2523\u2501\u2501 private animateRotation(\n\u2503 \u2503 imgElement: HTMLElement,\n\u2503 \u2503 targetRotation: number,\n\u2503 \u2503 config: SpinConfig,\n\u2503 \u2503 cleanup: () => void\n\u2503 \u2503 )\n\u2503 \u2523\u2501\u2501 const animate = (currentTime: number) =>\n\u2503 \u2523\u2501\u2501 private getNext90Degree(currentRotation: number): number\n\u2503 \u2523\u2501\u2501 private getCurrentRotation(matrix: string): number\n\u2503 \u2523\u2501\u2501 ngAfterViewInit()\n\u2503 \u2523\u2501\u2501 const mouseEnterListener = () =>\n\u2503 \u2523\u2501\u2501 const mouseLeaveListener = () =>\n\u2503 \u2523\u2501\u2501 ngOnDestroy()\n\u2503 \u2523\u2501\u2501 toggleColumn(event: MatOptionSelectionChange, column: string)\n\u2503 \u2523\u2501\u2501 adjustColumns(event?: Event)\n\u2503 \u2523\u2501\u2501 onResize(event: Event)\n\u2503 \u2523\u2501\u2501 async ngOnInit()\n\u2503 \u2523\u2501\u2501 async loadTickets(): Promise<void>\n\u2503 \u2523\u2501\u2501 onDateRangeChange(\n\u2503 \u2503 type: \"start\" | \"end\",\n\u2503 \u2503 event: MatDatepickerInputEvent<Date>\n\u2503 \u2503 )\n\u2503 \u2523\u2501\u2501 applyFilter(column: string): void\n\u2503 \u2523\u2501\u2501 formatDateForComparison(date: Date): string\n\u2503 \u2523\u2501\u2501 constructor(private renderer: Renderer2)\n\u2503 \u2523\u2501\u2501 onFilterChange(event: Event, column: string)\n\u2503 \u2523\u2501\u2501 onLatitudeChange(event: Event)\n\u2503 \u2523\u2501\u2501 onLongitudeChange(event: Event)\n\u2503 \u2523\u2501\u2501 onRadiusChange(event: Event)\n\u2503 \u2523\u2501\u2501 sortData(sort: Sort): void\n\u2503 \u2523\u2501\u2501 onRowClick(event: Event, row: any)\n\u2503 \u2523\u2501\u2501 function isDate(value: Date | undefined | null): value is Date\n\u2503 \u2523\u2501\u2501 function isNonNullNumber(value: number | null): value is number\n\u2503 \u2523\u2501\u2501 function hasLocation(\n\u2503 \u2503 ticket: any\n\u2503 \u2503 ): ticket is\n\u2503 \u2523\u2501\u2501 const create_faker_ticket = async () =>\n\u2503 \u2523\u2501\u2501 function compare(a: number | string, b: number | string, isAsc: boolean)\n\u2503 \u2523\u2501\u2501 function compare_dates(a: Date, b: Date, isAsc: boolean)\n\u2503 \u2523\u2501\u2501 async function mockMoreTickets(): Promise<Ticket[]>\n\u2503 \u2523\u2501\u2501 const mockTickets = async () =>\n\u2503 \u2517\u2501\u2501 const renderQRCode = async (text: String): Promise<string> =>\n\u2517\u2501\u2501 \ud83d\udcc1 group6 (1 folder, 2 files) \n \u2523\u2501\u2501 \ud83d\udcc4 ramda__cloneRegExp.js (105 tokens, 9 lines)\n \u2503 \u2517\u2501\u2501 export default function _cloneRegExp(pattern)\n \u2517\u2501\u2501 \ud83d\udcc4 ramda_prop.js (747 tokens, 86 lines)\n \u2523\u2501\u2501 /**\n \u2503 * Returns a function that when supplied an object returns the indicated\n \u2503 * property of that object, if it exists.\n \u2503 * @category Object\n \u2503 * @typedefn Idx = String | Int | Symbol\n \u2503 * @sig Idx -> {s: a} -> a | Undefined\n \u2503 * @param {String|Number} p The property name or array index\n \u2503 * @param {Object} obj The object to query\n \u2503 * @return {*} The value at `obj.p`.\n \u2503 */\n \u2503 var prop = _curry2(function prop(p, obj)\n \u2523\u2501\u2501 /**\n \u2503 * Solves equations of the form a * x = b\n \u2503 * @param {{\n \u2503 * z: number\n \u2503 * }} x\n \u2503 */\n \u2503 function foo(x)\n \u2523\u2501\u2501 /**\n \u2503 * Deconstructs an array field from the input documents to output a document for each element.\n \u2503 * Each output document is the input document with the value of the array field replaced by the element.\n \u2503 * @category Object\n \u2503 * @sig String -> {k: [v]} -> [{k: v}]\n \u2503 * @param {String} key The key to determine which property of the object should be unwound.\n \u2503 * @param {Object} object The object containing the list to unwind at the property named by the key.\n \u2503 * @return {List} A list of new objects, each having the given key associated to an item from the unwound list.\n \u2503 */\n \u2503 var unwind = _curry2(function(key, object)\n \u2517\u2501\u2501 return _map(function(item)\n\ntree_plus v(1.0.35) ignore=('group_todo',) globs=('*.*s',) syntax=False paths=('tests/more_languages',)\n6 folder(s), 16 file(s), 1,919 line(s), 13,124 token(s) in 0.14 second(s).\n\n```\n<!-- t3-end -->\n\n## Languages Todo:\n\nHelp me **add to** and **priorize** this list of languages to support!\n\n- [Open a `tree_plus` GitHub Issue](https://github.com/bionicles/tree_plus/issues/new), or\n- [Contact Bion on X](https://twitter.com/flesheatingemu)\n\n<!-- t4-start -->\n```sh\ntree_plus tests/more_languages/group_todo\n\ud83d\udcc1 group_todo (1 folder, 8 files) \n\u2523\u2501\u2501 \ud83d\udcc4 crystal_test.cr (56 tokens, 15 lines)\n\u2523\u2501\u2501 \ud83d\udcc4 dart_test.dart (106 tokens, 24 lines)\n\u2523\u2501\u2501 \ud83d\udcc4 elixir_test.exs (49 tokens, 10 lines)\n\u2523\u2501\u2501 \ud83d\udcc4 nodemon.json (120 tokens, 21 lines)\n\u2523\u2501\u2501 \ud83d\udcc4 sas_test.sas (104 tokens, 22 lines)\n\u2523\u2501\u2501 \ud83d\udcc4 test_setup_py.test (118 tokens, 24 lines)\n\u2523\u2501\u2501 \ud83d\udcc4 testTypings.d.ts (149 tokens, 23 lines)\n\u2517\u2501\u2501 \ud83d\udcc4 vba_test.bas (72 tokens, 16 lines)\n\ntree_plus v(1.0.35) ignore=() globs=() syntax=False paths=('tests/more_languages/group_todo',)\n1 folder(s), 8 file(s), 155 line(s), 774 token(s) in 0.02 second(s).\n\n```\n<!-- t4-end -->\n\n## Oppose Unfair Business Practices\n\nPlease consider contacting the authorities to report the issue described in this document:\n\n[California OpenAI Complaint - Customer Noncompete Clause](https://www.tinyurl.com/cali-openai-complaint)\n\n_Remember_: **Your Voice Matters!**\n\n## License\n\nMIT or Apache 2.0, at your option.\n",
"bugtrack_url": null,
"license": null,
"summary": "A `tree` util enhanced with tokens, lines, and components.",
"version": "1.0.35",
"project_urls": {
"Homepage": "https://github.com/bionicles/tree_plus/blob/main/README.md",
"Issues": "https://github.com/bionicles/tree_plus/issues",
"documentation": "https://github.com/bionicles/tree_plus/blob/main/README.md",
"repository": "https://www.github.com/bionicles/tree_plus"
},
"split_keywords": [
"tree",
" util",
" cli"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "d3ffcdc0a05a1ba4eaecaa0b9bc5b1b39eed220b56d1fa66087d36d26fdaf023",
"md5": "23340fc63759682d9b4fc8bd9395c9e9",
"sha256": "faa38583637f605a795dfe49556a59c8c4acf249f64b46231c05d7815bd7c3e3"
},
"downloads": -1,
"filename": "tree_plus-1.0.35-py3-none-any.whl",
"has_sig": false,
"md5_digest": "23340fc63759682d9b4fc8bd9395c9e9",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 75041,
"upload_time": "2024-03-21T18:15:16",
"upload_time_iso_8601": "2024-03-21T18:15:16.593431Z",
"url": "https://files.pythonhosted.org/packages/d3/ff/cdc0a05a1ba4eaecaa0b9bc5b1b39eed220b56d1fa66087d36d26fdaf023/tree_plus-1.0.35-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "2c6cbe2102c4314cdfe79515477c2db5b29035686088b8232cebe0fd0f435826",
"md5": "3583afa2d61204966dd8d71c6981bd9a",
"sha256": "ff983920cc2945a6b326933fdf04427681e5c7864c465cd1cc398966506887e6"
},
"downloads": -1,
"filename": "tree_plus-1.0.35.tar.gz",
"has_sig": false,
"md5_digest": "3583afa2d61204966dd8d71c6981bd9a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 164942,
"upload_time": "2024-03-21T18:15:19",
"upload_time_iso_8601": "2024-03-21T18:15:19.328377Z",
"url": "https://files.pythonhosted.org/packages/2c/6c/be2102c4314cdfe79515477c2db5b29035686088b8232cebe0fd0f435826/tree_plus-1.0.35.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-03-21 18:15:19",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "bionicles",
"github_project": "tree_plus",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "tree-plus"
}