Skip to content

A `tree` util enhanced with tokens, lines, and components. `pip install -U tree_plus`

License

Notifications You must be signed in to change notification settings

bionicles/tree_plus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

370 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Tree Plus

Ever hit context limits prompting LLMs with code?

If so, you could benefit from tree_plus, a tree util enhanced with tokens, lines, and components.

Use tree_plus to ...:

  • Summarize huge codebases easily
  • Autogenerate API documentation
  • Create ideal LLM prompts

License Docs Linux & MacOS Microsoft

Supported Python Versions:

Python 3.8 Python 3.9 Python 3.10 Python 3.11 Python 3.12 Python 3.12

Supported Operating Systems:

Ubuntu MacOS Windows

Support Free, Open-Source Software:

Support Tree Plus

pip install -U tree_plus

Usage

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

python -m tree_plus_cli -h
Usage: tree_plus_cli.py [OPTIONS] [PATHS]...

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

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

  Example Invocations:

          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

          URL + Tag Categories for a website
              > tree_plus example.com

          URL + Tag Categories for multiple websites with a link tree
              > tree_plus example.com example.org -l

          Hacker News Mode (3 articles, max depth 3)
              > tree_plus --yc

          Hacker News Mode (6 articles, max depth 6, warning, slow!)
              > tree_plus --yc -n 6 -m 6

          Use the Tiktoken gpt4o Model Tokenizer to tokenize Rust files
              > tree_plus -t -g '*.rs'

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             DISABLE Syntax Highlighting.
  -c, -C, --concise            Omit module components. (False)
  --yc, --hn                   Include ycombinator (False)
  -n, -N, --number INTEGER     number of results (--yc mode only, default 3)
  -m, -M, --max-depth INTEGER  max number of steps (depth / level) from root
                               (--yc mode only, default 3)
  -l, -L, --links              include links (web mode only, default False)
  -t, --tiktoken               a shorthand for tiktoken with the 'gpt-4o'
                               tokenizer
  -T, --tokenizer-name TEXT    name of the tokenizer to use, for now only
                               'gpt-4o' works
  --timeout FLOAT              regex timeout in seconds (optional, default
                               0.7)
  -H, -h, --help               Show this message and exit.

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

Example Output:

  • Demonstrate Parsed Checkboxes
python -m tree_plus_cli -s -i tests
πŸ“ tree_plus (7 folders, 28 files) 
β”œβ”€β”€ πŸ“„ .env.test (4 tokens, 0 lines)
β”‚   └── DEBUG_TREE_PLUS
β”œβ”€β”€ πŸ“ .github (2 folders, 3 files) 
β”‚   β”œβ”€β”€ πŸ“„ dependabot.yml (128 tokens, 11 lines)
β”‚   β”‚   └── Unsupported YAML Category
β”‚   └── πŸ“ workflows (1 folder, 2 files) 
β”‚       β”œβ”€β”€ πŸ“„ microsoft.yml (284 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 (713 tokens, 92 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
β”‚           β”œβ”€β”€     - Check dists with twine
β”‚           β”œβ”€β”€     - Commit Updates
β”‚           └──     - Publish to PyPI
β”œβ”€β”€ πŸ“„ .gitignore (219 tokens, 57 lines)
β”œβ”€β”€ πŸ“„ .mcp_server.pid (2 tokens, 1 line)
β”œβ”€β”€ πŸ“ coverage (1 folder, 1 file) 
β”‚   └── πŸ“„ lcov.info (17,359 tokens, 2,180 lines)
β”œβ”€β”€ πŸ“„ LICENSE (2,744 tokens, 81 lines)
β”œβ”€β”€ πŸ“„ Makefile (801 tokens, 121 lines)
β”‚   β”œβ”€β”€ SHELL := /bin/bash
β”‚   β”œβ”€β”€ cli
β”‚   β”œβ”€β”€ library-demo
β”‚   β”œβ”€β”€ rewrite-demo
β”‚   β”œβ”€β”€ coverage
β”‚   β”œβ”€β”€ debug
β”‚   β”œβ”€β”€ .PHONY: debug-command
β”‚   β”œβ”€β”€ debug-command: test
β”‚   β”œβ”€β”€ html-demo
β”‚   β”œβ”€β”€ absurdly-huge-jsonl
β”‚   β”œβ”€β”€ test: test-sequential test-tp-dotdot test-e2e test-cli test-programs test-deploy
β”‚   β”œβ”€β”€ test-parallel
β”‚   β”œβ”€β”€ test-sequential
β”‚   β”œβ”€β”€ test-more-languages
β”‚   β”œβ”€β”€ test-group
β”‚   β”œβ”€β”€ 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
β”‚   └── t6
β”œβ”€β”€ πŸ“„ nodemon.json (112 tokens, 24 lines)
β”œβ”€β”€ πŸ“„ pyproject.toml (366 tokens, 51 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                                                                                                        
β”‚   β”œβ”€β”€     fake_useragent                                                                                                      
β”‚   β”œβ”€β”€     bs4                                                                                                                 
β”‚   β”œβ”€β”€     func_timeout                                                                                                        
β”‚   └──     regex                                                                                                               
β”œβ”€β”€ πŸ“„ pytest.ini (20 tokens, 4 lines)
β”œβ”€β”€ πŸ“„ README.md (38,152 tokens, 3,705 lines)
β”‚   β”œβ”€β”€ # Tree Plus                                                                                                             
β”‚   β”œβ”€β”€ #### **Ever hit context limits prompting LLMs with code?**                                                              
β”‚   β”œβ”€β”€ ### Use `tree_plus` to ...:                                                                                             
β”‚   β”œβ”€β”€ ## Usage                                                                                                                
β”‚   β”œβ”€β”€ ## Example Output:                                                                                                      
β”‚   β”œβ”€β”€ - [ ] Demonstrate Parsed Checkboxes                                                                                     
β”‚   β”œβ”€β”€ ## Start Quick!                                                                                                         
β”‚   β”œβ”€β”€ ### Prerequisites                                                                                                       
β”‚   β”œβ”€β”€ ### Install Tree Plus                                                                                                   
β”‚   β”œβ”€β”€ #### PyPI                                                                                                               
β”‚   β”œβ”€β”€ #### Local Hackable Install                                                                                             
β”‚   β”œβ”€β”€ ### Alias Usage                                                                                                         
β”‚   β”œβ”€β”€ ## Library Usage:                                                                                                       
β”‚   β”œβ”€β”€ ## Moar Languages                                                                                                       
β”‚   β”œβ”€β”€ ### Currently Tested Languages:                                                                                         
β”‚   β”œβ”€β”€ ### Without the -c "Concise" Flag:                                                                                      
β”‚   β”œβ”€β”€ ## Got Globs?                                                                                                           
β”‚   β”œβ”€β”€ ## Languages Todo:                                                                                                      
β”‚   β”œβ”€β”€ ## Oppose Unfair Business Practices                                                                                     
β”‚   └── ## License                                                                                                              
β”œβ”€β”€ πŸ“„ tree_plus_cli.py (2,283 tokens, 331 lines)
β”‚   β”œβ”€β”€ def move_cwd_to_end_of_sys_path()                                                                                       
β”‚   └── 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,                                                                                                      
β”‚                                                                                                                               
β”‚           yc: bool,                                                                                                           
β”‚           number: int,                                                                                                        
β”‚           max_depth: int,                                                                                                     
β”‚           links: bool,                                                                                                        
β”‚           tiktoken: bool,                                                                                                     
β”‚           tokenizer_name: Optional[str],                                                                                      
β”‚           timeout: Optional[float],                                                                                           
β”‚       )                                                                                                                       
β”œβ”€β”€ πŸ“ tree_plus_programs (1 folder, 4 files) 
β”‚   β”œβ”€β”€ πŸ“„ hello_tree_plus.py (545 tokens, 80 lines)
β”‚   β”‚   β”œβ”€β”€ class ItHappened                                                                                                    
β”‚   β”‚   β”œβ”€β”€ def main()                                                                                                          
β”‚   β”‚   └── def trees(                                                                                                          
β”‚   β”‚           or_: bool,                                                                                                      
β”‚   β”‚           it: int,                                                                                                        
β”‚   β”‚           didnt: str,                                                                                                     
β”‚   β”‚           happen: tuple,                                                                                                  
β”‚   β”‚       ) -> ItHappened                                                                                                     
β”‚   β”œβ”€β”€ πŸ“„ rewrite.py (4,017 tokens, 471 lines)
β”‚   β”‚   β”œβ”€β”€ TODO: research various kwargs for huggingface / torch performance                                                   
β”‚   β”‚   β”œβ”€β”€ class ModelName(Enum)                                                                                               
β”‚   β”‚   β”œβ”€β”€     QWEN_2 = "Qwen/Qwen2-7B-Instruct"                                                                               
β”‚   β”‚   β”œβ”€β”€     MISTRAL_3 = "mistralai/Mistral-7B-Instruct-v0.3"                                                                
β”‚   β”‚   β”œβ”€β”€ class ModelContext(Enum)                                                                                            
β”‚   β”‚   β”œβ”€β”€     QWEN_2 = 131                                                                                                    
β”‚   β”‚   β”œβ”€β”€     MISTRAL_3 = 32                                                                                                  
β”‚   β”‚   β”œβ”€β”€             root: None,                                                                                             
β”‚   β”‚   β”œβ”€β”€ def rewrite_module(                                                                                                 
β”‚   β”‚   β”‚       max_length: int,                                                                                                
β”‚   β”‚   β”‚       fill_context: bool,                                                                                             
β”‚   β”‚   β”‚       input_path: Path,                                                                                               
β”‚   β”‚   β”‚       output_path: Optional[str],                                                                                     
β”‚   β”‚   β”‚       suffix: Optional[str] = ".rs",                                                                                  
β”‚   β”‚   β”‚       include_complete_file: bool = True,                                                                             
β”‚   β”‚   β”‚   )                                                                                                                   
β”‚   β”‚   └── def main(                                                                                                           
β”‚   β”‚           fill_context: bool,                                                                                             
β”‚   β”‚           length: int,                                                                                                    
β”‚   β”‚           input_path: Path,                                                                                               
β”‚   β”‚           output_path: Optional[click.Path],                                                                              
β”‚   β”‚       )                                                                                                                   
β”‚   β”œβ”€β”€ πŸ“„ stub_tests.py (1,348 tokens, 180 lines)
β”‚   β”‚   β”œβ”€β”€ TODO: fix this path",                                                                                               
β”‚   β”‚   β”œβ”€β”€ TODO: 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 (79 tokens, 20 lines)
β”‚       β”œβ”€β”€ TODO: fix this path                                                                                                 
β”‚       β”œβ”€β”€ TODO: 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, 10 files) 
    β”œβ”€β”€ πŸ“„ count_tokens_lines.py (1,323 tokens, 209 lines)
    β”‚   β”œβ”€β”€ TODO: show off how well we parse_todo!                                                                              
    β”‚   β”œβ”€β”€ @dataclass(frozen=True)                                                                                             
    β”‚   β”‚   class TokenLineCount                                                                                                
    β”‚   β”œβ”€β”€     n_tokens: int                                                                                                   
    β”‚   β”œβ”€β”€     n_lines: int                                                                                                    
    β”‚   β”œβ”€β”€ class TokenizerName(Enum)                                                                                           
    β”‚   β”œβ”€β”€     WC = "wc"                                                                                                       
    β”‚   β”œβ”€β”€     GPT_4O = "gpt-4o"                                                                                               
    β”‚   β”œβ”€β”€ def count_tokens_lines(                                                                                             
    β”‚   β”‚       file_path: Union[str, Path],                                                                                    
    β”‚   β”‚       *,                                                                                                              
    β”‚   β”‚       tokenizer_name: TokenizerName = TokenizerName.WC,                                                               
    β”‚   β”‚   ) -> Optional[TokenLineCount]                                                                                       
    β”‚   β”œβ”€β”€ def count_openai_tokens_lines_from_contents(                                                                        
    β”‚   β”‚       contents: Union[str, "Markdown"],                                                                               
    β”‚   β”‚       *,                                                                                                              
    β”‚   β”‚       tokenizer_name: TokenizerName = TokenizerName.GPT_4O,                                                           
    β”‚   β”‚   ) -> TokenLineCount                                                                                                 
    β”‚   β”œβ”€β”€ def count_wc_tokens_lines_from_path(file_path: str) -> TokenLineCount                                               
    β”‚   └── def add_tokens_lines(                                                                                               
    β”‚           lhs_count: TokenLineCount, rhs_count: TokenLineCount                                                            
    β”‚       ) -> TokenLineCount                                                                                                 
    β”œβ”€β”€ πŸ“„ debug.py (186 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 (2,058 tokens, 230 lines)
    β”‚   β”œβ”€β”€ def extract(path: Optional[str] = None) -> str                                                                      
    β”‚   β”œβ”€β”€ def load(content: Optional[str] = None, path: Optional[str] = None)                                                 
    β”‚   β”œβ”€β”€ def extract_version(source_path: Optional[str] = None) -> Tuple[int, int, int]                                      
    β”‚   β”œβ”€β”€ def increment_version(                                                                                              
    β”‚   β”‚       source_path: Optional[str] = None,                                                                              
    β”‚   β”‚       sink_path: Optional[str] = None,                                                                                
    β”‚   β”‚   )                                                                                                                   
    β”‚   β”œβ”€β”€ def run_command(command: Optional[str] = None, debug: bool = False)                                                 
    β”‚   β”œβ”€β”€ def replace_readme_section(                                                                                         
    β”‚   β”‚       source_path: Optional[str] = None,                                                                              
    β”‚   β”‚       sink_path: Optional[str] = None,                                                                                
    β”‚   β”‚       marker: Optional[str] = None,                                                                                   
    β”‚   β”‚       command: Optional[str] = None,                                                                                  
    β”‚   β”‚   )                                                                                                                   
    β”‚   β”œβ”€β”€ def update_readme(source_path: Optional[str] = None, sink_path: Optional[str] = None)                               
    β”‚   └── def main()                                                                                                          
    β”œβ”€β”€ πŸ“„ engine.py (12,042 tokens, 1,438 lines)
    β”‚   β”œβ”€β”€ TODO: MOVE TIMEOUT_SECONDS TO ENV VAR & CLI INPUT                                                                   
    β”‚   β”œβ”€β”€ NOTE: you can customize the color here, and we could make this functional                                           
    β”‚   β”œβ”€β”€ TODO: clarify subtree types -- make this a DataFrame tbh                                                            
    β”‚   β”œβ”€β”€ NOTE: sometimes we need wider trees (deploy)                                                                        
    β”‚   β”œβ”€β”€ TODO: research & decide about globs as paths instead of as filters                                                  
    β”‚   β”œβ”€β”€ NOTE: directly add input file_paths to the amortized glob matches                                                   
    β”‚   β”œβ”€β”€ TODO: decide to apply glob patterns to glob paths (currently NO)                                                    
    β”‚   β”œβ”€β”€ TODO: decide between glob and rglob in _from_glob                                                                   
    β”‚   β”œβ”€β”€ TODO: decide if we need to re-amortize the globs in the glob seed                                                   
    β”‚   β”œβ”€β”€ TODO: clarify ignore in glob seed context, skipping for now                                                         
    β”‚   β”œβ”€β”€ NOTE: this is only to satisfy the type checker                                                                      
    β”‚   β”œβ”€β”€ class Category(Enum)                                                                                                
    β”‚   β”œβ”€β”€     ROOT = 1                                                                                                        
    β”‚   β”œβ”€β”€     GLOB = 2                                                                                                        
    β”‚   β”œβ”€β”€     FOLDER = 3                                                                                                      
    β”‚   β”œβ”€β”€     FILE = 4                                                                                                        
    β”‚   β”œβ”€β”€     COMPONENT = 5                                                                                                   
    β”‚   β”œβ”€β”€     URL = 6                                                                                                         
    β”‚   β”œβ”€β”€     TAG = 7                                                                                                         
    β”‚   β”œβ”€β”€ @dataclass                                                                                                          
    β”‚   β”‚   class TreePlus                                                                                                      
    β”‚   β”œβ”€β”€     category: Category                                                                                              
    β”‚   β”œβ”€β”€     name: Union[str, Panel, Text, Markdown, Table, Pretty]                                                          
    β”‚   β”œβ”€β”€     line_count: int                                                                                                 
    β”‚   β”œβ”€β”€     token_count: int                                                                                                
    β”‚   β”œβ”€β”€     subtrees: Union[                                                                                                
    β”‚   β”œβ”€β”€     hrefs: Optional[Dict[str, list]]                                                                                
    β”‚   β”œβ”€β”€     @property                                                                                                       
    β”‚   β”‚       def has_tree_plus_subtrees(self) -> Optional[bool]                                                              
    β”‚   β”œβ”€β”€     @property                                                                                                       
    β”‚   β”‚       def n_folders(self) -> int                                                                                      
    β”‚   β”œβ”€β”€     @property                                                                                                       
    β”‚   β”‚       def n_files(self) -> int                                                                                        
    β”‚   β”œβ”€β”€     @property                                                                                                       
    β”‚   β”‚       def n_lines(self) -> int                                                                                        
    β”‚   β”œβ”€β”€     @property                                                                                                       
    β”‚   β”‚       def n_tokens(self) -> int                                                                                       
    β”‚   β”œβ”€β”€     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 is_url(self) -> bool                                                                                        
    β”‚   β”œβ”€β”€     def into_rich_tree(self) -> Tree                                                                                
    β”‚   β”œβ”€β”€     def into_str(self) -> str                                                                                       
    β”‚   β”œβ”€β”€     def render(                                                                                                     
    β”‚   β”‚           self,                                                                                                       
    β”‚   β”‚           style: Optional[str] = None,                                                                                
    β”‚   β”‚           highlight: bool = HIGHLIGHT,                                                                                
    β”‚   β”‚           markup: bool = MARKUP,                                                                                      
    β”‚   β”‚           capturing: bool = False,                                                                                    
    β”‚   β”‚       )                                                                                                               
    β”‚   β”œβ”€β”€     def render_hrefs(self)                                                                                          
    β”‚   β”œβ”€β”€     def stats(self) -> str                                                                                          
    β”‚   β”œβ”€β”€ def from_hrefs(                                                                                                     
    β”‚   β”‚       hrefs: dict,                                                                                                    
    β”‚   β”‚       root_panel_text,                                                                                                
    β”‚   β”‚       link_color: str = LINK_COLOR,                                                                                   
    β”‚   β”‚   ) -> Optional[TreePlus]                                                                                             
    β”‚   β”œβ”€β”€ def stats_from_tree_plus(tree: TreePlus) -> str                                                                     
    β”‚   β”œβ”€β”€ @lru_cache                                                                                                          
    β”‚   β”‚   def remove_trailing_space(x: str) -> str                                                                            
    β”‚   β”œβ”€β”€ def tree_to_string(                                                                                                 
    β”‚   β”‚       tree: Tree,                                                                                                     
    β”‚   β”‚       markup: bool = MARKUP,                                                                                          
    β”‚   β”‚       highlight: bool = HIGHLIGHT,                                                                                    
    β”‚   β”‚       text_style: str = TEXT_COLOR,                                                                                   
    β”‚   β”‚   ) -> str                                                                                                            
    β”‚   β”œβ”€β”€ def clean_string(input_str: str) -> str                                                                             
    β”‚   β”œβ”€β”€ def safe_print(                                                                                                     
    β”‚   β”‚       tree: Union[Tree, Panel, str, list],                                                                            
    β”‚   β”‚       style: Optional[str] = None,                                                                                    
    β”‚   β”‚       highlight: bool = HIGHLIGHT,                                                                                    
    β”‚   β”‚       markup: bool = MARKUP,                                                                                          
    β”‚   β”‚       capturing: bool = False,                                                                                        
    β”‚   β”‚   )                                                                                                                   
    β”‚   β”œβ”€β”€ def _make_rich_tree(                                                                                                
    β”‚   β”‚       label,                                                                                                          
    β”‚   β”‚       style: str = TEXT_COLOR,                                                                                        
    β”‚   β”‚       guide_style: str = LINK_COLOR,                                                                                  
    β”‚   β”‚       highlight: bool = HIGHLIGHT,                                                                                    
    β”‚   β”‚   ) -> Tree                                                                                                           
    β”‚   β”œβ”€β”€ def into_rich_tree(                                                                                                 
    β”‚   β”‚       *,                                                                                                              
    β”‚   β”‚       root: Optional[TreePlus] = None,                                                                                
    β”‚   β”‚       timeout=INTO_RICH_TREE_TIMEOUT_SECONDS,                                                                         
    β”‚   β”‚   ) -> Tree                                                                                                           
    β”‚   β”œβ”€β”€ def _into_rich_tree(*, root: Optional[TreePlus] = None) -> Tree                                                     
    β”‚   β”œβ”€β”€ def is_url(x: str) -> bool                                                                                          
    β”‚   β”œβ”€β”€ @lru_cache                                                                                                          
    β”‚   β”‚   def categorize(                                                                                                     
    β”‚   β”‚       x: Union[Path, Tuple[str], str],                                                                                
    β”‚   β”‚       check_strs_globs: bool = True,                                                                                  
    β”‚   β”‚       check_strs_paths: bool = True,                                                                                  
    β”‚   β”‚       check_strs_urls: bool = True,                                                                                   
    β”‚   β”‚       raise_if_component: bool = True,                                                                                
    β”‚   β”‚   ) -> Category                                                                                                       
    β”‚   β”œβ”€β”€ def from_seed(                                                                                                      
    β”‚   β”‚       maybe_seed: Optional[Union[str, TreePlus]] = None,                                                              
    β”‚   β”‚       *,                                                                                                              
    β”‚   β”‚       maybe_ignore: Optional[Tuple[str, ...]] = DEFAULT_IGNORE,                                                       
    β”‚   β”‚       maybe_globs: Optional[Tuple[str, ...]] = None,                                                                  
    β”‚   β”‚       tokenizer_name: TokenizerName = TokenizerName.WC,                                                               
    β”‚   β”‚       syntax_highlighting: bool = False,                                                                              
    β”‚   β”‚       override_ignore: bool = False,                                                                                  
    β”‚   β”‚       concise: bool = False,                                                                                          
    β”‚   β”‚   ) -> TreePlus                                                                                                       
    β”‚   β”œβ”€β”€ def from_seeds(                                                                                                     
    β”‚   β”‚       maybe_seeds: Optional[Tuple[Union[str, TreePlus], ...]] = 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,                                                                                          
    β”‚   β”‚       tokenizer_name: TokenizerName = TokenizerName.WC,                                                               
    β”‚   β”‚       regex_timeout: Optional[float] = None,                                                                          
    β”‚   β”‚   ) -> TreePlus                                                                                                       
    β”‚   β”œβ”€β”€ def _reduce_forest(                                                                                                 
    β”‚   β”‚       *,                                                                                                              
    β”‚   β”‚       forest: Tuple[TreePlus, ...],                                                                                   
    β”‚   β”‚   ) -> TreePlus                                                                                                       
    β”‚   β”œβ”€β”€ def _map_seeds(                                                                                                     
    β”‚   β”‚       *,                                                                                                              
    β”‚   β”‚       seeds: Optional[Tuple[Union[str, TreePlus], ...]] = None,                                                       
    β”‚   β”‚       maybe_ignore: Optional[Tuple[str, ...]] = DEFAULT_IGNORE,                                                       
    β”‚   β”‚       maybe_globs: Optional[Tuple[str, ...]] = None,                                                                  
    β”‚   β”‚       syntax_highlighting: bool = False,                                                                              
    β”‚   β”‚       tokenizer_name: TokenizerName = TokenizerName.WC,                                                               
    β”‚   β”‚       regex_timeout: Optional[float] = None,                                                                          
    β”‚   β”‚       concise: bool = False,                                                                                          
    β”‚   β”‚   ) -> Tuple[TreePlus, ...]                                                                                           
    β”‚   β”œβ”€β”€ def _from_seed(                                                                                                     
    β”‚   β”‚       *,                                                                                                              
    β”‚   β”‚       seed_path: Optional[Union[Path, str]] = None,                                                                   
    β”‚   β”‚       maybe_ignore: Optional[Tuple[str, ...]] = DEFAULT_IGNORE,                                                       
    β”‚   β”‚       maybe_globs: Optional[AmortizedGlobs] = None,                                                                   
    β”‚   β”‚       syntax_highlighting: bool = False,                                                                              
    β”‚   β”‚       tokenizer_name: TokenizerName = TokenizerName.WC,                                                               
    β”‚   β”‚       regex_timeout: Optional[float] = None,                                                                          
    β”‚   β”‚       concise: bool = False,                                                                                          
    β”‚   β”‚       is_url: bool = False,                                                                                           
    β”‚   β”‚   ) -> TreePlus                                                                                                       
    β”‚   β”œβ”€β”€ def _add_subtree(                                                                                                   
    β”‚   β”‚       *,                                                                                                              
    β”‚   β”‚       root: TreePlus,                                                                                                 
    β”‚   β”‚       subtree: TreePlus,                                                                                              
    β”‚   β”‚   )                                                                                                                   
    β”‚   β”œβ”€β”€ def _from_glob(                                                                                                     
    β”‚   β”‚       *,                                                                                                              
    β”‚   β”‚       pattern: str,                                                                                                   
    β”‚   β”‚       maybe_ignore: Optional[Tuple[str, ...]] = DEFAULT_IGNORE,                                                       
    β”‚   β”‚       maybe_globs: Optional[AmortizedGlobs] = None,                                                                   
    β”‚   β”‚       syntax_highlighting: bool = False,                                                                              
    β”‚   β”‚       tokenizer_name: TokenizerName = TokenizerName.WC,                                                               
    β”‚   β”‚       regex_timeout: Optional[float] = None,                                                                          
    β”‚   β”‚       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,                                                                              
    β”‚   β”‚       tokenizer_name: TokenizerName = TokenizerName.WC,                                                               
    β”‚   β”‚       regex_timeout: Optional[float] = None,                                                                          
    β”‚   β”‚       concise: bool = False,                                                                                          
    β”‚   β”‚   ) -> TreePlus                                                                                                       
    β”‚   β”œβ”€β”€ def _from_file(                                                                                                     
    β”‚   β”‚       *,                                                                                                              
    β”‚   β”‚       file_path: Path,                                                                                                
    β”‚   β”‚       syntax_highlighting: bool = False,                                                                              
    β”‚   β”‚       tokenizer_name: TokenizerName = TokenizerName.WC,                                                               
    β”‚   β”‚       max_tokens: int = MAX_TOKENS,                                                                                   
    β”‚   β”‚       regex_timeout: Optional[float] = None,                                                                          
    β”‚   β”‚       concise: bool = False,                                                                                          
    β”‚   β”‚   ) -> TreePlus                                                                                                       
    β”‚   β”œβ”€β”€ def _from_url(                                                                                                      
    β”‚   β”‚       *,                                                                                                              
    β”‚   β”‚       url: str,                                                                                                       
    β”‚   β”‚       syntax_highlighting: bool = False,                                                                              
    β”‚   β”‚       concise: bool = False,                                                                                          
    β”‚   β”‚   ) -> TreePlus                                                                                                       
    β”‚   β”œβ”€β”€ def base_url(url: str, with_path: bool = False) -> str                                                              
    β”‚   β”œβ”€β”€ def _from_html_text(contents: str, maybe_url_base: Optional[str] = None) -> TreePlus                                
    β”‚   β”œβ”€β”€ def empty_tag_tree(n: str = "?")                                                                                    
    β”‚   β”œβ”€β”€ def union_from_element(elem: PageElement) -> Union[Tag, NavigableString]                                            
    β”‚   β”œβ”€β”€ def node_index_str_from_tuple(                                                                                      
    β”‚   β”‚       node_index: Tuple[int, ...],                                                                                    
    β”‚   β”‚       prefix: str = "(",                                                                                              
    β”‚   β”‚       suffix: str = ")",                                                                                              
    β”‚   β”‚       number_color: str = CYBERCYAN,                                                                                  
    β”‚   β”‚       dot_color: str = GOLD,                                                                                          
    β”‚   β”‚   ) -> str                                                                                                            
    β”‚   β”œβ”€β”€ def _from_soup(                                                                                                     
    β”‚   β”‚       tag: Union[Tag, NavigableString],                                                                               
    β”‚   β”‚       tree: Optional[TreePlus] = None,                                                                                
    β”‚   β”‚       node_index: Tuple[int, ...] = (),                                                                               
    β”‚   β”‚       maybe_url_base: Optional[str] = None,                                                                           
    β”‚   β”‚       hrefs: Optional[Dict[str, list]] = None,                                                                        
    β”‚   β”‚   ) -> Optional[TreePlus]                                                                                             
    β”‚   β”œβ”€β”€ def from_hacker_news_articles(                                                                                      
    β”‚   β”‚       articles: Articles,                                                                                             
    β”‚   β”‚       depth: int = 0,                                                                                                 
    β”‚   β”‚       max_depth: int = -1,                                                                                            
    β”‚   β”‚       title: Union[str, Panel, Text, Table, Markdown, Pretty] = "Hacker News Front Page",                             
    β”‚   β”‚       parent_num: Tuple[int, ...] = (),                                                                               
    β”‚   β”‚   ) -> TreePlus                                                                                                       
    β”‚   β”œβ”€β”€ def format_link(                                                                                                    
    β”‚   β”‚       url: str,                                                                                                       
    β”‚   β”‚       text: str,                                                                                                      
    β”‚   β”‚       link_color: str = LINK_COLOR,                                                                                   
    β”‚   β”‚   ) -> str                                                                                                            
    β”‚   β”œβ”€β”€ def process_hacker_news_item(                                                                                       
    β”‚   β”‚       item: dict,                                                                                                     
    β”‚   β”‚       kids: Articles,                                                                                                 
    β”‚   β”‚       depth: int,                                                                                                     
    β”‚   β”‚       max_depth: int,                                                                                                 
    β”‚   β”‚       parent_num: Tuple[int, ...],                                                                                    
    β”‚   β”‚       parser: Union[Literal["lxml"], Literal["html.parser"]] = "html.parser",                                         
    β”‚   β”‚       link_color: str = LINK_COLOR,                                                                                   
    β”‚   β”‚   ) -> Optional[TreePlus]                                                                                             
    β”‚   β”œβ”€β”€ def rich_links_from_soup(                                                                                           
    β”‚   β”‚       item_soup: BeautifulSoup,                                                                                       
    β”‚   β”‚       recursive: bool = True,                                                                                         
    β”‚   β”‚   ) -> List[str]                                                                                                      
    β”‚   β”œβ”€β”€ def ordered_list_from(ordered_list: Iterable[str]) -> List[str]                                                     
    β”‚   β”œβ”€β”€ def _get_lexer(file_path: Path) -> str                                                                              
    β”‚   └── def _syntax_highlight(                                                                                              
    β”‚           *,                                                                                                              
    β”‚           file_path: Path,                                                                                                
    β”‚           components: List[str],                                                                                          
    β”‚       ) -> Union[List[Syntax], List[str]]                                                                                 
    β”œβ”€β”€ πŸ“„ ignore.py (2,342 tokens, 332 lines)
    β”‚   β”œβ”€β”€ TODO: 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,                                                                 
    β”‚   β”‚   ) -> Optional[Tuple[str]]                                                                                           
    β”‚   β”œβ”€β”€ @dataclass(frozen=True)                                                                                             
    β”‚   β”‚   class AmortizedGlobs                                                                                                
    β”‚   β”œβ”€β”€     paths: Tuple[Path, ...]                                                                                         
    β”‚   β”œβ”€β”€     globs: Tuple[str, ...]                                                                                          
    β”‚   β”œβ”€β”€     matches: FrozenSet[Path]                                                                                        
    β”‚   β”œβ”€β”€ 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 (2,146 tokens, 462 lines)
    β”‚   β”œβ”€β”€ @lru_cache                                                                                                          
    β”‚   β”‚   def _replace_symbol(match: re.Match) -> str                                                                         
    β”‚   └── def replace_isabelle_symbols(content: str) -> str                                                                   
    β”œβ”€β”€ πŸ“„ parse_file.py (27,040 tokens, 2,959 lines)
    β”‚   β”œβ”€β”€ BUG: HTML tree doesn't look awesome (yet)                                                                           
    β”‚   β”œβ”€β”€ TODO: Fix HTML in TreePlus (How?)                                                                                   
    β”‚   β”œβ”€β”€ BUG: this repeatedly finds tags, need to avoid repeating ourselves                                                  
    β”‚   β”œβ”€β”€ TODO: gather requirements for C namespace visualization                                                             
    β”‚   β”œβ”€β”€ TODO: update parse_objective_c to avoid fixed unrolling                                                             
    β”‚   β”œβ”€β”€ TODO: update parse_ocaml to avoid forced unrolling                                                                  
    β”‚   β”œβ”€β”€ TODO: fix parse_apl to avoid forced unrolling                                                                       
    β”‚   β”œβ”€β”€ TODO: fix parse_perl to avoid forced unrolling                                                                      
    β”‚   β”œβ”€β”€ def head(n: int, content: str) -> str                                                                               
    β”‚   β”œβ”€β”€ @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],                                                                                    
    β”‚   β”‚       content: Optional[str] = None,                                                                                  
    β”‚   β”‚       regex_timeout: Optional[float] = None,                                                                          
    β”‚   β”‚       syntax: bool = False,                                                                                           
    β”‚   β”‚   ) -> List[str]                                                                                                      
    β”‚   β”œβ”€β”€ def parse_metal(content: str, *, timeout: float = DEFAULT_REGEX_TIMEOUT) -> List[str]                               
    β”‚   β”œβ”€β”€ def parse_wgsl(content: str, *, timeout: float = DEFAULT_REGEX_TIMEOUT) -> List[str]                                
    β”‚   β”œβ”€β”€ def extract_groups(match: regex.Match, named_only: bool = False) -> dict                                            
    β”‚   β”œβ”€β”€ def parse_html(content: str) -> List[str]                                                                           
    β”‚   β”œβ”€β”€ def parse_jsonl(content: str) -> List[str]                                                                          
    β”‚   β”œβ”€β”€ def process_tag(tag, components) -> Optional[str]                                                                   
    β”‚   β”œβ”€β”€ def components_from_html(content: str) -> List[str]                                                                 
    β”‚   β”œβ”€β”€ def prettify_tr(component: str) -> str                                                                              
    β”‚   β”œβ”€β”€ def assemble_tensorflow_flag(                                                                                       
    β”‚   β”‚       flag_type: str, flag: str, description: Optional[List[str]] = None                                              
    β”‚   β”‚   ) -> str                                                                                                            
    β”‚   β”œβ”€β”€ def parse_tensorflow_flags(                                                                                         
    β”‚   β”‚       content: str, *, timeout: float = DEFAULT_REGEX_TIMEOUT                                                         
    β”‚   β”‚   ) -> List[str]                                                                                                      
    β”‚   β”œβ”€β”€ def parse_rst(content: str, *, timeout: float = DEFAULT_REGEX_TIMEOUT) -> List[str]                                 
    β”‚   β”œβ”€β”€ def parse_c(content: str, *, timeout: float = DEFAULT_REGEX_TIMEOUT) -> 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(                                                                                                 
    β”‚   β”‚       content: str, *, timeout: float = DEFAULT_REGEX_TIMEOUT                                                         
    β”‚   β”‚   ) -> List[str]                                                                                                      
    β”‚   β”œβ”€β”€ def parse_fortran(content: str, *, timeout: float = DEFAULT_REGEX_TIMEOUT) -> List[str]                             
    β”‚   β”œβ”€β”€ def remove_c_comments(content: str, *, timeout: float = DEFAULT_REGEX_TIMEOUT) -> str                               
    β”‚   β”œβ”€β”€ def parse_ts(content: str, *, timeout: float = DEFAULT_REGEX_TIMEOUT) -> List[str]                                  
    β”‚   β”œβ”€β”€ def remove_py_comments(                                                                                             
    β”‚   β”‚       input_string: str, *, timeout: float = DEFAULT_REGEX_TIMEOUT                                                    
    β”‚   β”‚   ) -> str                                                                                                            
    β”‚   β”œβ”€β”€ def remove_docstrings(source, *, timeout: float = DEFAULT_REGEX_TIMEOUT) -> str                                     
    β”‚   β”œβ”€β”€ def parse_py(content: str, *, timeout: float = DEFAULT_REGEX_TIMEOUT) -> List[str]                                  
    β”‚   β”œβ”€β”€ def parse_rb(content: str, *, timeout: float = DEFAULT_REGEX_TIMEOUT) -> List[str]                                  
    β”‚   β”œβ”€β”€ def parse_fsharp(content: str, *, timeout: float = DEFAULT_REGEX_TIMEOUT) -> List[str]                              
    β”‚   β”œβ”€β”€ def parse_tcl(content: str, *, timeout: float = DEFAULT_REGEX_TIMEOUT) -> List[str]                                 
    β”‚   β”œβ”€β”€ def parse_erl(content: str, *, timeout: float = DEFAULT_REGEX_TIMEOUT) -> List[str]                                 
    β”‚   β”œβ”€β”€ def parse_rs(                                                                                                       
    β”‚   β”‚       content: str,                                                                                                   
    β”‚   β”‚       *,                                                                                                              
    β”‚   β”‚       timeout: float = DEFAULT_REGEX_TIMEOUT,                                                                         
    β”‚   β”‚       syntax: bool = False,                                                                                           
    β”‚   β”‚   ) -> List[str]                                                                                                      
    β”‚   β”œβ”€β”€ def escape(                                                                                                         
    β”‚   β”‚       markup: str,                                                                                                    
    β”‚   β”‚   ) -> str                                                                                                            
    β”‚   β”œβ”€β”€     def escape_backslashes(match: regex.Match) -> str                                                               
    β”‚   β”œβ”€β”€ def parse_csv(content: str, max_leaves=11) -> List[str]                                                             
    β”‚   β”œβ”€β”€ def parse_mathematica(                                                                                              
    β”‚   β”‚       content: str, *, timeout: float = DEFAULT_REGEX_TIMEOUT                                                         
    β”‚   β”‚   ) -> List[str]                                                                                                      
    β”‚   β”œβ”€β”€ def parse_r(content: str, *, timeout: float = DEFAULT_REGEX_TIMEOUT) -> List[str]                                   
    β”‚   β”œβ”€β”€ def parse_zig(content: str, *, timeout: float = DEFAULT_REGEX_TIMEOUT) -> List[str]                                 
    β”‚   β”œβ”€β”€ def parse_hs(content: str, *, timeout: float = DEFAULT_REGEX_TIMEOUT) -> List[str]                                  
    β”‚   β”œβ”€β”€ def parse_lisp(content: str, *, timeout: float = DEFAULT_REGEX_TIMEOUT) -> List[str]                                
    β”‚   β”œβ”€β”€ def parse_capnp(content: str) -> List[str]                                                                          
    β”‚   β”œβ”€β”€ def parse_grpc(content: str) -> List[str]                                                                           
    β”‚   β”œβ”€β”€ def parse_openrpc_json(content: str) -> List[str]                                                                   
    β”‚   β”œβ”€β”€ def parse_json_rpc(content: str) -> List[str]                                                                       
    β”‚   β”œβ”€β”€ def parse_graphql(content: str) -> List[str]                                                                        
    β”‚   β”œβ”€β”€ def format_dependency(name, details)                                                                                
    β”‚   β”œβ”€β”€ def parse_cargo_toml(content: str) -> List[str]                                                                     
    β”‚   β”œβ”€β”€ def parse_pyproject_toml(content: str) -> List[str]                                                                 
    β”‚   β”œβ”€β”€ def parse_lean(                                                                                                     
    β”‚   β”‚       lean_content: str, *, timeout: float = DEFAULT_REGEX_TIMEOUT                                                    
    β”‚   β”‚   ) -> List[str]                                                                                                      
    β”‚   β”œβ”€β”€ def parse_cs(content: str, *, timeout: float = DEFAULT_REGEX_TIMEOUT) -> List[str]                                  
    β”‚   β”œβ”€β”€ def parse_tex(tex_content: str, *, timeout: float = DEFAULT_REGEX_TIMEOUT) -> List[str]                             
    β”‚   β”œβ”€β”€ def parse_go(content: str, *, timeout: float = DEFAULT_REGEX_TIMEOUT) -> List[str]                                  
    β”‚   β”œβ”€β”€ def parse_swift(content: str, *, timeout: float = DEFAULT_REGEX_TIMEOUT) -> List[str]                               
    β”‚   β”œβ”€β”€ def parse_bash(content: str, *, timeout: float = DEFAULT_REGEX_TIMEOUT) -> List[str]                                
    β”‚   β”œβ”€β”€ def parse_d_dot_ts(                                                                                                 
    β”‚   β”‚       content: str, *, timeout: float = DEFAULT_REGEX_TIMEOUT                                                         
    β”‚   β”‚   ) -> List[str]                                                                                                      
    β”‚   β”œβ”€β”€ def parse_angular_app_module(                                                                                       
    β”‚   β”‚       content: str, *, timeout: float = DEFAULT_REGEX_TIMEOUT                                                         
    β”‚   β”‚   ) -> List[str]                                                                                                      
    β”‚   β”œβ”€β”€ def parse_angular_routes(                                                                                           
    β”‚   β”‚       content: str, *, timeout: float = DEFAULT_REGEX_TIMEOUT                                                         
    β”‚   β”‚   ) -> List[str]                                                                                                      
    β”‚   β”œβ”€β”€ def parse_angular_spec(                                                                                             
    β”‚   β”‚       content: str, *, timeout: float = DEFAULT_REGEX_TIMEOUT                                                         
    β”‚   β”‚   ) -> List[str]                                                                                                      
    β”‚   β”œβ”€β”€ def parse_environment_ts(                                                                                           
    β”‚   β”‚       content: str, *, timeout: float = DEFAULT_REGEX_TIMEOUT                                                         
    β”‚   β”‚   ) -> List[str]                                                                                                      
    β”‚   β”œβ”€β”€ def parse_dot_env(content: str, *, timeout: float = DEFAULT_REGEX_TIMEOUT) -> List[str]                             
    β”‚   β”œβ”€β”€ def parse_requirements_txt(content: str) -> List[str]                                                               
    β”‚   β”œβ”€β”€ def parse_json_schema(content: str) -> List[str]                                                                    
    β”‚   β”œβ”€β”€ def parse_package_json(content: str) -> List[str]                                                                   
    β”‚   β”œβ”€β”€ def parse_makefile(content: str) -> List[str]                                                                       
    β”‚   β”œβ”€β”€ def parse_sql(content: str, *, timeout: float = DEFAULT_REGEX_TIMEOUT) -> 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(content: str) -> List[str]                                                                            
    β”‚   β”œβ”€β”€ def parse_db(db_path: str) -> List[str]                                                                             
    β”‚   β”œβ”€β”€ def dedent_components(                                                                                              
    β”‚   β”‚       components: List[str], *, timeout: float = DEFAULT_REGEX_TIMEOUT                                                
    β”‚   β”‚   ) -> List[str]                                                                                                      
    β”‚   β”œβ”€β”€ def parse_cbl(content: str, *, timeout: float = DEFAULT_REGEX_TIMEOUT) -> List[str]                                 
    β”‚   β”œβ”€β”€ def parse_java(content: str, *, timeout: float = DEFAULT_REGEX_TIMEOUT) -> List[str]                                
    β”‚   β”œβ”€β”€ def parse_jl(content: str, *, timeout: float = DEFAULT_REGEX_TIMEOUT) -> List[str]                                  
    β”‚   β”œβ”€β”€ def parse_kt(content: str, *, timeout: float = DEFAULT_REGEX_TIMEOUT) -> List[str]                                  
    β”‚   β”œβ”€β”€ def parse_lua(content: str, *, timeout: float = DEFAULT_REGEX_TIMEOUT) -> List[str]                                 
    β”‚   β”œβ”€β”€ def parse_objective_c(                                                                                              
    β”‚   β”‚       content: str, *, timeout: float = DEFAULT_REGEX_TIMEOUT                                                         
    β”‚   β”‚   ) -> List[str]                                                                                                      
    β”‚   β”œβ”€β”€ def parse_ocaml(content: str, *, timeout: float = DEFAULT_REGEX_TIMEOUT) -> List[str]                               
    β”‚   β”œβ”€β”€ def parse_apl(content: str, *, timeout: float = DEFAULT_REGEX_TIMEOUT) -> List[str]                                 
    β”‚   β”œβ”€β”€ def parse_perl(content: str, *, timeout: float = DEFAULT_REGEX_TIMEOUT) -> List[str]                                
    β”‚   β”œβ”€β”€ def parse_php(content: str, *, timeout: float = DEFAULT_REGEX_TIMEOUT) -> List[str]                                 
    β”‚   β”œβ”€β”€ def parse_ps1(content: str, *, timeout: float = DEFAULT_REGEX_TIMEOUT) -> List[str]                                 
    β”‚   β”œβ”€β”€ def parse_matlab(content: str, *, timeout: float = DEFAULT_REGEX_TIMEOUT) -> List[str]                              
    β”‚   β”œβ”€β”€ def parse_scala(content: str, timeout: float = DEFAULT_REGEX_TIMEOUT) -> List[str]                                  
    β”‚   β”œβ”€β”€ def parse_tf(content: str, timeout: float = DEFAULT_REGEX_TIMEOUT) -> List[str]                                     
    β”‚   β”œβ”€β”€ def parse_md(content: str, *, timeout: float = DEFAULT_REGEX_TIMEOUT) -> List[str]                                  
    β”‚   β”œβ”€β”€ def parse_txt(content: str, *, timeout: float = DEFAULT_REGEX_TIMEOUT) -> List[str]                                 
    β”‚   └── def parse_markers(content: str, *, timeout: float = DEFAULT_REGEX_TIMEOUT) -> List[str]                             
    β”œβ”€β”€ πŸ“ scripts (1 folder, 1 file) 
    β”‚   └── πŸ“„ alias_tree_plus.sh (241 tokens, 30 lines)
    β”‚       β”œβ”€β”€ add_alias()                                                                                                     
    β”‚       └── create_conda_env()                                                                                              
    β”œβ”€β”€ πŸ“„ version.py (12 tokens, 1 line)
    β”‚   └── __version__ = "1.0.79"                                                                                              
    └── πŸ“„ web.py (2,409 tokens, 321 lines)
        β”œβ”€β”€ TODO: re-enable tree plus web actions                                                                               
        β”œβ”€β”€ NOTE: no point in the answers since there's no content                                                              
        β”œβ”€β”€ def create_url(kind: Action, query: str) -> str                                                                     
        β”œβ”€β”€ def create_link(kind: Action, query: str) -> str                                                                    
        β”œβ”€β”€ def create_wikipedia_url(subterm: str) -> str                                                                       
        β”œβ”€β”€ def create_wikipedia_search_url(subterm: str) -> str                                                                
        β”œβ”€β”€ def create_google_search_url(subterm: str) -> str                                                                   
        β”œβ”€β”€ def create_stack_overflow_search_url(subterm: str) -> str                                                           
        β”œβ”€β”€ def create_wikipedia_search_link(                                                                                   
        β”‚       subterm: str,                                                                                                   
        β”‚       prefix: str = "",                                                                                               
        β”‚       suffix: str = "",                                                                                               
        β”‚       link_style: str = LINK_STYLE,                                                                                   
        β”‚   ) -> str                                                                                                            
        β”œβ”€β”€ def create_google_search_link(                                                                                      
        β”‚       subterm: str,                                                                                                   
        β”‚       prefix: str = "",                                                                                               
        β”‚       suffix: str = "",                                                                                               
        β”‚       link_style: str = LINK_STYLE,                                                                                   
        β”‚   ) -> str                                                                                                            
        β”œβ”€β”€ def create_stack_overflow_search_link(                                                                              
        β”‚       subterm: str,                                                                                                   
        β”‚       prefix: str = "",                                                                                               
        β”‚       suffix: str = "",                                                                                               
        β”‚       link_style: str = LINK_STYLE,                                                                                   
        β”‚   ) -> str                                                                                                            
        β”œβ”€β”€ def search_stack_overflow(                                                                                          
        β”‚       *,                                                                                                              
        β”‚       titled: Optional[str] = None,                                                                                   
        β”‚       tagged: Optional[str] = None,                                                                                   
        β”‚       answered: Optional[bool] = True,                                                                                
        β”‚   ) -> Tuple[Tuple[dict, Tuple[dict, ...]], ...]                                                                      
        β”œβ”€β”€ def table_from_df(                                                                                                  
        β”‚       results: Tuple[Dict[str, str], ...],                                                                            
        β”‚       title: Optional[str] = None,                                                                                    
        β”‚       show_lines: bool = True,                                                                                        
        β”‚   ) -> Table                                                                                                          
        β”œβ”€β”€ def articles_from_hacker_news(                                                                                      
        β”‚       max_depth: int = 2,                                                                                             
        β”‚       current_depth: int = 0,                                                                                         
        β”‚       n_articles: int = 3,                                                                                            
        β”‚       sleep_time: float = 0.00,                                                                                       
        β”‚   ) -> Articles                                                                                                       
        β”œβ”€β”€ def hacker_news_article_from_id(                                                                                    
        β”‚       article_id: int,                                                                                                
        β”‚       depth: int,                                                                                                     
        β”‚       current_depth: int,                                                                                             
        β”‚       n: int,                                                                                                         
        β”‚       sleep_time: float,                                                                                              
        β”‚   ) -> Tuple[HList, Tuple[HList, ...]]                                                                                
        └── def fetch_kids(                                                                                                     
                article_id: int,                                                                                                
                kid_ids: List[int],                                                                                             
                depth: int,                                                                                                     
                current_depth: int,                                                                                             
                n: int,                                                                                                         
                sleep_time: float,                                                                                              
            ) -> Tuple[HList, ...]                                                                                              

tree_plus v(1.0.79) ignore=('tests',) globs=() syntax=True paths=()
7 folder(s), 28 file(s), 13,470 line(s), 118,975 token(s) in 0.49 second(s).
  • Demonstrate Parsed Checkboxes

Start Quick!

Prerequisites

Ensure you have the following tools installed:

Install Tree Plus

PyPI

pip install tree_plus

Local Hackable Install

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

Alternatively, if make is not installed, use pip:

pip install -e .[dev]

Now, you can use the tree_plus command.

  1. Add slick aliases like tp to your RC file

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

Use our idempotent aliasing script: alias_tree_plus.sh

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

Alias Usage

Run tree_plus with a shorter alias:

tp

Reinstall tree_plus quickly:

tpcli

cd (change directory) to the TREE_PLUS_PATH:

cdtp

Run "debug mode" (test runner)

Ensure your rig has a global install of nodemon:

npm install -g nodemon

Watch for changes to auto re-test tree_plus:

make debug

Library Usage:

Here's how to import the library

import tree_plus_src as tp

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

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

make library_demo

Moar Languages

Currently Tested Languages:

python -m tree_plus_cli -s -c -i group_todo tests/more_languages
πŸ“ more_languages (9 folders, 87 files) 
β”œβ”€β”€ πŸ“ group1 (1 folder, 11 files) 
β”‚   β”œβ”€β”€ πŸ“„ addamt.cobol (441 tokens, 40 lines)
β”‚   β”œβ”€β”€ πŸ“„ CUSTOMER-INVOICE.CBL (412 tokens, 60 lines)
β”‚   β”œβ”€β”€ πŸ“„ JavaTest.java (578 tokens, 86 lines)
β”‚   β”œβ”€β”€ πŸ“„ JuliaTest.jl (381 tokens, 63 lines)
β”‚   β”œβ”€β”€ πŸ“„ KotlinTest.kt (974 tokens, 171 lines)
β”‚   β”œβ”€β”€ πŸ“„ lesson.cbl (635 tokens, 78 lines)
β”‚   β”œβ”€β”€ πŸ“„ LuaTest.lua (83 tokens, 16 lines)
β”‚   β”œβ”€β”€ πŸ“„ ObjectiveCTest.m (62 tokens, 16 lines)
β”‚   β”œβ”€β”€ πŸ“„ OcamlTest.ml (49 tokens, 12 lines)
β”‚   β”œβ”€β”€ πŸ“„ test.js (757 tokens, 154 lines)
β”‚   └── πŸ“„ test.ts (832 tokens, 165 lines)
β”œβ”€β”€ πŸ“ group2 (1 folder, 8 files) 
β”‚   β”œβ”€β”€ πŸ“„ apl_test.apl (28 tokens, 5 lines)
β”‚   β”œβ”€β”€ πŸ“„ c_test.c (837 tokens, 142 lines)
β”‚   β”œβ”€β”€ πŸ“„ go_test.go (179 tokens, 46 lines)
β”‚   β”œβ”€β”€ πŸ“„ PerlTest.pl (63 tokens, 20 lines)
β”‚   β”œβ”€β”€ πŸ“„ PhpTest.php (70 tokens, 19 lines)
β”‚   β”œβ”€β”€ πŸ“„ PowershellTest.ps1 (459 tokens, 89 lines)
β”‚   β”œβ”€β”€ πŸ“„ ScalaTest.scala (171 tokens, 40 lines)
β”‚   └── πŸ“„ test.csv (0 tokens, 0 lines)
β”œβ”€β”€ πŸ“ group3 (1 folder, 16 files) 
β”‚   β”œβ”€β”€ πŸ“„ bash_test.sh (127 tokens, 22 lines)
β”‚   β”œβ”€β”€ πŸ“„ cpp_test.cpp (1,670 tokens, 259 lines)
β”‚   β”œβ”€β”€ πŸ“„ csharp_test.cs (957 tokens, 146 lines)
β”‚   β”œβ”€β”€ πŸ“„ hallucination.tex (1,633 tokens, 126 lines)
β”‚   β”œβ”€β”€ πŸ“„ ruby_test.rb (138 tokens, 37 lines)
β”‚   β”œβ”€β”€ πŸ“„ swift_test.swift (469 tokens, 110 lines)
β”‚   β”œβ”€β”€ πŸ“„ test.lean (289 tokens, 42 lines)
β”‚   β”œβ”€β”€ πŸ“„ test.capnp (117 tokens, 30 lines)
β”‚   β”œβ”€β”€ πŸ“„ test.graphql (66 tokens, 21 lines)
β”‚   β”œβ”€β”€ πŸ“„ test.proto (142 tokens, 34 lines)
β”‚   β”œβ”€β”€ πŸ“„ test.sqlite (0 tokens, 0 lines)
β”‚   β”œβ”€β”€ πŸ“„ test_Cargo.toml (119 tokens, 18 lines)
β”‚   β”œβ”€β”€ πŸ“„ test_json_rpc_2_0.json (26 tokens, 6 lines)
β”‚   β”œβ”€β”€ πŸ“„ test_openapi.yaml (753 tokens, 92 lines)
β”‚   β”œβ”€β”€ πŸ“„ test_openrpc.json (225 tokens, 44 lines)
β”‚   └── πŸ“„ test_pyproject.toml (304 tokens, 39 lines)
β”œβ”€β”€ πŸ“ group4 (1 folder, 10 files) 
β”‚   β”œβ”€β”€ πŸ“„ erl_test.erl (480 tokens, 68 lines)
β”‚   β”œβ”€β”€ πŸ“„ haskell_test.hs (414 tokens, 41 lines)
β”‚   β”œβ”€β”€ πŸ“„ mathematica_test.nb (133 tokens, 21 lines)
β”‚   β”œβ”€β”€ πŸ“„ matlab_test.m (48 tokens, 12 lines)
β”‚   β”œβ”€β”€ πŸ“„ RTest.R (367 tokens, 46 lines)
β”‚   β”œβ”€β”€ πŸ“„ rust_test.rs (1,368 tokens, 259 lines)
β”‚   β”œβ”€β”€ πŸ“„ test.zig (397 tokens, 60 lines)
β”‚   β”œβ”€β”€ πŸ“„ test_fsharp.fs (92 tokens, 27 lines)
β”‚   β”œβ”€β”€ πŸ“„ test_tcl_tk.tcl (54 tokens, 16 lines)
β”‚   └── πŸ“„ tf_test.tf (202 tokens, 38 lines)
β”œβ”€β”€ πŸ“ group5 (1 folder, 19 files) 
β”‚   β”œβ”€β”€ πŸ“„ ansible_test.yml (55 tokens, 14 lines)
β”‚   β”œβ”€β”€ πŸ“„ app-routing.module.ts (287 tokens, 28 lines)
β”‚   β”œβ”€β”€ πŸ“„ app.component.spec.ts (410 tokens, 47 lines)
β”‚   β”œβ”€β”€ πŸ“„ app.component.ts (271 tokens, 45 lines)
β”‚   β”œβ”€β”€ πŸ“„ app.module.ts (374 tokens, 43 lines)
β”‚   β”œβ”€β”€ πŸ“„ checkbox_test.md (191 tokens, 29 lines)
β”‚   β”œβ”€β”€ πŸ“„ checkbox_test.txt (257 tokens, 33 lines)
β”‚   β”œβ”€β”€ πŸ“„ environment.test.ts (197 tokens, 19 lines)
β”‚   β”œβ”€β”€ πŸ“„ hello_world.pyi (22 tokens, 3 lines)
β”‚   β”œβ”€β”€ πŸ“„ k8s_test.yaml (140 tokens, 37 lines)
β”‚   β”œβ”€β”€ πŸ“„ Makefile (714 tokens, 84 lines)
β”‚   β”œβ”€β”€ πŸ“„ requirements_test.txt (29 tokens, 10 lines)
β”‚   β”œβ”€β”€ πŸ“„ rust_todo_test.rs (92 tokens, 26 lines)
β”‚   β”œβ”€β”€ πŸ“„ sql_test.sql (270 tokens, 51 lines)
β”‚   β”œβ”€β”€ πŸ“„ standard-app-routing.module.ts (100 tokens, 16 lines)
β”‚   β”œβ”€β”€ πŸ“„ test.env (190 tokens, 25 lines)
β”‚   β”œβ”€β”€ πŸ“„ testJsonSchema.json (421 tokens, 48 lines)
β”‚   β”œβ”€β”€ πŸ“„ testPackage.json (349 tokens, 43 lines)
β”‚   └── πŸ“„ tickets.component.ts (7,160 tokens, 903 lines)
β”œβ”€β”€ πŸ“ group6 (1 folder, 14 files) 
β”‚   β”œβ”€β”€ πŸ“„ catastrophic.c (5,339 tokens, 754 lines)
β”‚   β”œβ”€β”€ πŸ“„ cpp_examples_impl.cc (60 tokens, 10 lines)
β”‚   β”œβ”€β”€ πŸ“„ cpp_examples_impl.cu (37 tokens, 10 lines)
β”‚   β”œβ”€β”€ πŸ“„ cpp_examples_impl.h (22 tokens, 6 lines)
β”‚   β”œβ”€β”€ πŸ“„ edge_case.hpp (426 tokens, 28 lines)
β”‚   β”œβ”€β”€ πŸ“„ fractal.thy (1,712 tokens, 147 lines)
β”‚   β”œβ”€β”€ πŸ“„ Microsoft.PowerShell_profile.ps1 (3,346 tokens, 497 lines)
β”‚   β”œβ”€β”€ πŸ“„ python_complex_class.py (10 tokens, 2 lines)
β”‚   β”œβ”€β”€ πŸ“„ ramda__cloneRegExp.js (173 tokens, 9 lines)
β”‚   β”œβ”€β”€ πŸ“„ ramda_prop.js (646 tokens, 85 lines)
β”‚   β”œβ”€β”€ πŸ“„ tensorflow_flags.h (7,628 tokens, 668 lines)
β”‚   β”œβ”€β”€ πŸ“„ test.f (181 tokens, 30 lines)
β”‚   β”œβ”€β”€ πŸ“„ torch.rst (60 tokens, 8 lines)
β”‚   └── πŸ“„ yc.html (9,063 tokens, 169 lines)
β”œβ”€β”€ πŸ“ group7 (1 folder, 5 files) 
β”‚   β”œβ”€β”€ πŸ“„ absurdly_huge.jsonl (8,347 tokens, 126 lines)
β”‚   β”œβ”€β”€ πŸ“„ angular_crud.ts (1,192 tokens, 148 lines)
β”‚   β”œβ”€β”€ πŸ“„ structure.py (400 tokens, 92 lines)
β”‚   β”œβ”€β”€ πŸ“„ test.wgsl (528 tokens, 87 lines)
β”‚   └── πŸ“„ test.metal (272 tokens, 34 lines)
└── πŸ“ group_lisp (1 folder, 4 files) 
    β”œβ”€β”€ πŸ“„ clojure_test.clj (682 tokens, 85 lines)
    β”œβ”€β”€ πŸ“„ LispTest.lisp (25 tokens, 6 lines)
    β”œβ”€β”€ πŸ“„ racket_struct.rkt (14 tokens, 1 line)
    └── πŸ“„ test_scheme.scm (360 tokens, 44 lines)

tree_plus v(1.0.79) ignore=('group_todo',) globs=() concise=True paths=('tests/more_languages',)
9 folder(s), 87 file(s), 7,386 line(s), 69,653 token(s) in 0.14 second(s).

Without the -c "Concise" Flag:

python -m tree_plus_cli -s -i group_todo tests/more_languages
πŸ“ more_languages (9 folders, 87 files) 
β”œβ”€β”€ πŸ“ group1 (1 folder, 11 files) 
β”‚   β”œβ”€β”€ πŸ“„ addamt.cobol (441 tokens, 40 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 (412 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 (578 tokens, 86 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 (381 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 (974 tokens, 171 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 (635 tokens, 78 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 (83 tokens, 16 lines)
β”‚   β”‚   β”œβ”€β”€ function HelloWorld.new                                                                                             
β”‚   β”‚   β”œβ”€β”€ function HelloWorld.greet                                                                                           
β”‚   β”‚   └── function say_hello                                                                                                  
β”‚   β”œβ”€β”€ πŸ“„ ObjectiveCTest.m (62 tokens, 16 lines)
β”‚   β”‚   β”œβ”€β”€ @interface HelloWorld
β”‚   β”‚   β”œβ”€β”€ @interface HelloWorld -> (void) sayHello
β”‚   β”‚   β”œβ”€β”€ @implementation HelloWorld
β”‚   β”‚   β”œβ”€β”€ @implementation HelloWorld -> (void) sayHello
β”‚   β”‚   └── void sayHelloWorld()
β”‚   β”œβ”€β”€ πŸ“„ OcamlTest.ml (49 tokens, 12 lines)
β”‚   β”‚   β”œβ”€β”€ type color
β”‚   β”‚   β”œβ”€β”€ class hello
β”‚   β”‚   β”œβ”€β”€ class hello -> method say_hello
β”‚   β”‚   └── let main ()
β”‚   β”œβ”€β”€ πŸ“„ test.js (757 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)                                                                                
β”‚   β”‚   β”œβ”€β”€   innerFunction("inner")                                                                                            
β”‚   β”‚   β”œβ”€β”€ 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)                                                                                           
β”‚   β”‚   β”œβ”€β”€     super(brand)                                                                                                    
β”‚   β”‚   └──   show()                                                                                                            
β”‚   └── πŸ“„ test.ts (832 tokens, 165 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>                                                                                                 
β”‚       β”œβ”€β”€   return("Standalone function with parameters")                                                                     
β”‚       β”œβ”€β”€ 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                                                                                        
β”‚       β”‚     )                                                                                                                 
β”‚       β”œβ”€β”€     super(firstName, lastName)                                                                                      
β”‚       β”œβ”€β”€   describe(): string                                                                                                
β”‚       β”œβ”€β”€ interface Shape                                                                                                     
β”‚       └── interface Square extends Shape                                                                                      
β”œβ”€β”€ πŸ“ group2 (1 folder, 8 files) 
β”‚   β”œβ”€β”€ πŸ“„ apl_test.apl (28 tokens, 5 lines)
β”‚   β”‚   β”œβ”€β”€ :Namespace HelloWorld                                                                                               
β”‚   β”‚   β”œβ”€β”€ :Namespace HelloWorld -> hello ← 'Hello, World!'                                                                    
β”‚   β”‚   └── :Namespace HelloWorld -> plus ← {⍺+⍡}                                                                               
β”‚   β”œβ”€β”€ πŸ“„ c_test.c (837 tokens, 142 lines)
β”‚   β”‚   β”œβ”€β”€ struct Point                                                                                                        
β”‚   β”‚   β”œβ”€β”€     int x;                                                                                                          
β”‚   β”‚   β”œβ”€β”€     int y;                                                                                                          
β”‚   β”‚   β”œβ”€β”€ struct Point getOrigin()                                                                                            
β”‚   β”‚   β”œβ”€β”€ float mul_two_floats(float x1, float x2)                                                                            
β”‚   β”‚   β”œβ”€β”€ enum days                                                                                                           
β”‚   β”‚   β”œβ”€β”€     SUN,                                                                                                            
β”‚   β”‚   β”œβ”€β”€     MON,                                                                                                            
β”‚   β”‚   β”œβ”€β”€     TUE,                                                                                                            
β”‚   β”‚   β”œβ”€β”€     WED,                                                                                                            
β”‚   β”‚   β”œβ”€β”€     THU,                                                                                                            
β”‚   β”‚   β”œβ”€β”€     FRI,                                                                                                            
β”‚   β”‚   β”œβ”€β”€     SAT                                                                                                             
β”‚   β”‚   β”œβ”€β”€ long add_two_longs(long x1, long x2)                                                                                
β”‚   β”‚   β”œβ”€β”€ double multiplyByTwo(double num)                                                                                    
β”‚   β”‚   β”œβ”€β”€ char getFirstCharacter(char *str)                                                                                   
β”‚   β”‚   β”œβ”€β”€ void greet(Person p)                                                                                                
β”‚   β”‚   β”œβ”€β”€ typedef struct                                                                                                      
β”‚   β”‚   β”œβ”€β”€     char name[50];                                                                                                  
β”‚   β”‚   β”œβ”€β”€ } 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                                                                                                
β”‚   β”‚   β”œβ”€β”€     aeEventLoop *el;                                                                                                
β”‚   β”‚   β”œβ”€β”€     cliConnInfo conn_info;                                                                                          
β”‚   β”‚   β”œβ”€β”€     const char *hostsocket;                                                                                         
β”‚   β”‚   β”œβ”€β”€     int tls;                                                                                                        
β”‚   β”‚   β”œβ”€β”€     struct cliSSLconfig sslconfig;                                                                                  
β”‚   β”‚   └── } config;                                                                                                           
β”‚   β”œβ”€β”€ πŸ“„ go_test.go (179 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 (63 tokens, 20 lines)
β”‚   β”‚   β”œβ”€β”€ package PerlTest                                                                                                    
β”‚   β”‚   β”œβ”€β”€ package PerlTest -> sub new                                                                                         
β”‚   β”‚   β”œβ”€β”€ package PerlTest -> sub hello                                                                                       
β”‚   β”‚   └── package PerlTest -> sub say_hello                                                                                   
β”‚   β”œβ”€β”€ πŸ“„ PhpTest.php (70 tokens, 19 lines)
β”‚   β”‚   β”œβ”€β”€ class HelloWorld                                                                                                    
β”‚   β”‚   β”œβ”€β”€ class HelloWorld -> function sayHello                                                                               
β”‚   β”‚   β”œβ”€β”€ function greet                                                                                                      
β”‚   β”‚   β”œβ”€β”€ class Person                                                                                                        
β”‚   β”‚   └── class Person -> function __construct                                                                                
β”‚   β”œβ”€β”€ πŸ“„ PowershellTest.ps1 (459 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 (171 tokens, 40 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 (0 tokens, 0 lines)
β”‚       β”œβ”€β”€ Name
β”‚       β”œβ”€β”€ Age
β”‚       β”œβ”€β”€ Country
β”‚       β”œβ”€β”€ City
β”‚       └── Email
β”œβ”€β”€ πŸ“ group3 (1 folder, 16 files) 
β”‚   β”œβ”€β”€ πŸ“„ bash_test.sh (127 tokens, 22 lines)
β”‚   β”‚   β”œβ”€β”€ echo_hello_world()                                                                                                  
β”‚   β”‚   β”œβ”€β”€ function fun_echo_hello_world()                                                                                     
β”‚   β”‚   β”œβ”€β”€ export SECRET                                                                                                       
β”‚   β”‚   β”œβ”€β”€ alias md='make debug'                                                                                               
β”‚   β”‚   β”œβ”€β”€ add_alias()                                                                                                         
β”‚   β”‚   └── create_conda_env()                                                                                                  
β”‚   β”œβ”€β”€ πŸ“„ cpp_test.cpp (1,670 tokens, 259 lines)
β”‚   β”‚   β”œβ”€β”€ class Person                                                                                                        
β”‚   β”‚   β”œβ”€β”€     std::string name;                                                                                               
β”‚   β”‚   β”œβ”€β”€ 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                                                                                                        
β”‚   β”‚   β”œβ”€β”€     int x, y;                                                                                                       
β”‚   β”‚   β”œβ”€β”€     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()                                                                                               
β”‚   β”‚   β”œβ”€β”€ protected:                                                                                                          
β”‚   β”‚   β”œβ”€β”€     std::string name;                                                                                               
β”‚   β”‚   β”œβ”€β”€ 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                                                                                                      
β”‚   β”‚   β”œβ”€β”€   Sedan,                                                                                                            
β”‚   β”‚   β”œβ”€β”€   Hatchback,                                                                                                        
β”‚   β”‚   β”œβ”€β”€   SUV,                                                                                                              
β”‚   β”‚   β”œβ”€β”€   Wagon                                                                                                             
β”‚   β”‚   β”œβ”€β”€ ECarTypes GetPreferredCarType()                                                                                     
β”‚   β”‚   β”œβ”€β”€ enum ECarTypes : uint8_t                                                                                            
β”‚   β”‚   β”œβ”€β”€   Sedan,                                                                                                            
β”‚   β”‚   β”œβ”€β”€   Hatchback,                                                                                                        
β”‚   β”‚   β”œβ”€β”€   SUV = 254,                                                                                                        
β”‚   β”‚   β”œβ”€β”€   Hybrid                                                                                                            
β”‚   β”‚   β”œβ”€β”€ enum class ECarTypes : uint8_t                                                                                      
β”‚   β”‚   β”œβ”€β”€   Sedan,                                                                                                            
β”‚   β”‚   β”œβ”€β”€   Hatchback,                                                                                                        
β”‚   β”‚   β”œβ”€β”€   SUV = 254,                                                                                                        
β”‚   β”‚   β”œβ”€β”€   Hybrid                                                                                                            
β”‚   β”‚   β”œβ”€β”€ 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                                                                                                        
β”‚   β”‚   β”œβ”€β”€  private:                                                                                                           
β”‚   β”‚   β”œβ”€β”€   void* ptr_;                                                                                                       
β”‚   β”‚   └── std::tuple<array, array, array> quantize(                                                                           
β”‚   β”‚           const array& w,                                                                                                 
β”‚   β”‚           int group_size,                                                                                                 
β”‚   β”‚           int bits,                                                                                                       
β”‚   β”‚           StreamOrDevice s)                                                                                               
β”‚   β”œβ”€β”€ πŸ“„ csharp_test.cs (957 tokens, 146 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,633 tokens, 126 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 (138 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 (469 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 (289 tokens, 42 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 (117 tokens, 30 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 (66 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 (142 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 (0 tokens, 0 lines)
β”‚   β”‚   β”œβ”€β”€ 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 (119 tokens, 18 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 (26 tokens, 6 lines)
β”‚   β”‚   β”œβ”€β”€ jsonrpc: 2.0
β”‚   β”‚   β”œβ”€β”€ method: subtract
β”‚   β”‚   β”œβ”€β”€ params:
β”‚   β”‚   β”œβ”€β”€     minuend: 42
β”‚   β”‚   β”œβ”€β”€     subtrahend: 23
β”‚   β”‚   └── id: 1
β”‚   β”œβ”€β”€ πŸ“„ test_openapi.yaml (753 tokens, 92 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 (225 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 (304 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 (480 tokens, 68 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 (414 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 (133 tokens, 21 lines)
β”‚   β”‚   β”œβ”€β”€ person[name_]                                                                                                       
β”‚   β”‚   β”œβ”€β”€ sayHello[]                                                                                                          
β”‚   β”‚   └── sumList[list_List]                                                                                                  
β”‚   β”œβ”€β”€ πŸ“„ matlab_test.m (48 tokens, 12 lines)
β”‚   β”‚   β”œβ”€β”€ classdef HelloWorld -> function greet
β”‚   β”‚   └── function loneFun
β”‚   β”œβ”€β”€ πŸ“„ RTest.R (367 tokens, 46 lines)
β”‚   β”‚   β”œβ”€β”€ class(person)                                                                                                       
β”‚   β”‚   β”œβ”€β”€ greet.Person <- function                                                                                            
β”‚   β”‚   β”œβ”€β”€ ensure_between = function                                                                                           
β”‚   β”‚   └── run_intermediate_annealing_process = function                                                                       
β”‚   β”œβ”€β”€ πŸ“„ rust_test.rs (1,368 tokens, 259 lines)
β”‚   β”‚   β”œβ”€β”€ fn at_beginning<'a>(&'a str)                                                                                        
β”‚   β”‚   β”œβ”€β”€ pub enum Days<E: EdgeCase> {                                                                                        
β”‚   β”‚   β”‚       #[default]                                                                                                      
β”‚   β”‚   β”‚       Sun,                                                                                                            
β”‚   β”‚   β”‚       Mon,                                                                                                            
β”‚   β”‚   β”‚       #[error("edge case {idx}, expected at least {} and at most {}", .limits.lo, .limits.hi)]                        
β”‚   β”‚   β”‚       Tue,                                                                                                            
β”‚   β”‚   β”‚       Wed,                                                                                                            
β”‚   β”‚   β”‚       Thu(i16, bool),                                                                                                 
β”‚   β”‚   β”‚       Fri { day: u8 },                                                                                                
β”‚   β”‚   β”‚       Sat {                                                                                                           
β”‚   β”‚   β”‚           urday: String,                                                                                              
β”‚   β”‚   β”‚           edge_case: E,                                                                                               
β”‚   β”‚   β”‚       },                                                                                                              
β”‚   β”‚   β”‚   }                                                                                                                   
β”‚   β”‚   β”œβ”€β”€ 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                                                                                                            
β”‚   β”‚   β”œβ”€β”€ const 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 with_generic<D: Drawable>(d: D)                                                                                  
β”‚   β”‚   β”œβ”€β”€ fn with_generic<D>(d: D)                                                                                            
β”‚   β”‚   β”‚   where                                                                                                               
β”‚   β”‚   β”‚       D: Drawable                                                                                                     
β”‚   β”‚   β”œβ”€β”€ fn main()                                                                                                           
β”‚   β”‚   β”œβ”€β”€ pub struct VisibleStruct                                                                                            
β”‚   β”‚   β”œβ”€β”€ mod my_module                                                                                                       
β”‚   β”‚   β”œβ”€β”€     pub struct AlsoVisibleStruct<T>(T, T)                                                                           
β”‚   β”‚   β”œβ”€β”€ macro_rules! say_hello                                                                                              
β”‚   β”‚   β”œβ”€β”€ #[macro_export]                                                                                                     
β”‚   β”‚   β”‚   macro_rules! hello_tree_plus                                                                                        
β”‚   β”‚   β”œβ”€β”€ pub mod lib                                                                                                         
β”‚   β”‚   β”œβ”€β”€     pub mod interfaces                                                                                              
β”‚   β”‚   β”œβ”€β”€     mod engine                                                                                                      
β”‚   β”‚   β”œβ”€β”€ pub fn flow<S1, S2, S3, S4, E, T, L>(                                                                               
β”‚   β”‚   β”‚       source: S1,                                                                                                     
β”‚   β”‚   β”‚       extractor: E,                                                                                                   
β”‚   β”‚   β”‚       inbox: S2,                                                                                                      
β”‚   β”‚   β”‚       transformer: T,                                                                                                 
β”‚   β”‚   β”‚       outbox: S3,                                                                                                     
β”‚   β”‚   β”‚       loader: L,                                                                                                      
β”‚   β”‚   β”‚       sink: &mut S4,                                                                                                  
β”‚   β”‚   β”‚   ) -> Result<(), Box<dyn Error>>                                                                                     
β”‚   β”‚   β”‚   where                                                                                                               
β”‚   β”‚   β”‚       S1: Extractable,                                                                                                
β”‚   β”‚   β”‚       S2: Extractable + Loadable,                                                                                     
β”‚   β”‚   β”‚       S3: Extractable + Loadable,                                                                                     
β”‚   β”‚   β”‚       S4: Loadable,                                                                                                   
β”‚   β”‚   β”‚       E: Extractor<S1, S2>,                                                                                           
β”‚   β”‚   β”‚       T: Transformer<S2, S3>,                                                                                         
β”‚   β”‚   β”‚       L: Loader<S3, S4>                                                                                               
β”‚   β”‚   β”œβ”€β”€ trait Container                                                                                                     
β”‚   β”‚   β”œβ”€β”€     fn items(&self) -> impl Iterator<Item = Widget>                                                                 
β”‚   β”‚   β”œβ”€β”€ trait HttpService                                                                                                   
β”‚   β”‚   β”œβ”€β”€     async fn fetch(&self, url: Url) -> HtmlBody                                                                     
β”‚   β”‚   β”œβ”€β”€ struct Pair<T, U>                                                                                                   
β”‚   β”‚   β”œβ”€β”€ trait Transformer<T>                                                                                                
β”‚   β”‚   β”œβ”€β”€     fn transform(&self, input: T) -> T                                                                              
β”‚   β”‚   β”œβ”€β”€ impl<T: std::ops::Add<Output = T> + Copy> Transformer<T> for Pair<T, T>                                             
β”‚   β”‚   β”œβ”€β”€     fn transform(&self, input: T) -> T                                                                              
β”‚   β”‚   β”œβ”€β”€ fn main()                                                                                                           
β”‚   β”‚   β”œβ”€β”€ async fn handle_get(State(pool): State<PgPool>) -> Result<Html<String>, (StatusCode, String)>                       
β”‚   β”‚   β”‚   where                                                                                                               
β”‚   β”‚   β”‚       Bion: Cool                                                                                                      
β”‚   β”‚   β”œβ”€β”€ #[macro_export]                                                                                                     
β”‚   β”‚   β”‚   macro_rules! unit                                                                                                   
β”‚   β”‚   β”œβ”€β”€             fn insert(                                                                                              
β”‚   β”‚   β”‚                   &mut self,                                                                                          
β”‚   β”‚   β”‚                   key: (),                                                                                            
β”‚   β”‚   β”‚                   value: $unit_dtype,                                                                                 
β”‚   β”‚   β”‚               ) -> Result<Option<$unit_dtype>, ETLError>                                                              
β”‚   β”‚   β”œβ”€β”€ pub async fn handle_get_axum_route(                                                                                 
β”‚   β”‚   β”‚       Session { maybe_claims }: Session,                                                                              
β”‚   β”‚   β”‚       Path(RouteParams {                                                                                              
β”‚   β”‚   β”‚           alpha,                                                                                                      
β”‚   β”‚   β”‚           bravo,                                                                                                      
β”‚   β”‚   β”‚           charlie,                                                                                                    
β”‚   β”‚   β”‚           edge_case                                                                                                   
β”‚   β”‚   β”‚       }): Path<RouteParams>,                                                                                          
β”‚   β”‚   β”‚   ) -> ServerResult<Response>                                                                                         
β”‚   β”‚   β”œβ”€β”€ fn encode_pipeline(cmds: &[Cmd], atomic: bool) -> Vec<u8>                                                           
β”‚   β”‚   β”œβ”€β”€ pub async fn handle_post_yeet(                                                                                      
β”‚   β”‚   β”‚       State(auth_backend): State<AuthBackend>,                                                                        
β”‚   β”‚   β”‚       Session { maybe_claims }: Session,                                                                              
β”‚   β”‚   β”‚       Form(yeet_form): Form<YeetForm>,                                                                                
β”‚   β”‚   β”‚   ) -> Result<Response, AuthError>                                                                                    
β”‚   β”‚   └── pub async fn handle_get_thingy(                                                                                     
β”‚   β”‚           session: Session,                                                                                               
β”‚   β”‚           State(ApiBackend {                                                                                              
β”‚   β”‚               page_cache,                                                                                                 
β”‚   β”‚               auth_backend,                                                                                               
β”‚   β”‚               library_sql,                                                                                                
β”‚   β”‚               some_data_cache,                                                                                            
β”‚   β”‚               metadata_cache,                                                                                             
β”‚   β”‚               thingy_client,                                                                                              
β”‚   β”‚               ..                                                                                                          
β”‚   β”‚           }): State<ApiBackend>,                                                                                          
β”‚   β”‚       ) -> ServerResult<Response>                                                                                         
β”‚   β”œβ”€β”€ πŸ“„ test.zig (397 tokens, 60 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 (92 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 (54 tokens, 16 lines)
β”‚   β”‚   β”œβ”€β”€ proc sayHello {}                                                                                                    
β”‚   β”‚   β”œβ”€β”€ proc arrg { input }                                                                                                 
β”‚   β”‚   └── proc multiLine {                                                                                                    
β”‚   β”‚           x,                                                                                                              
β”‚   β”‚           y                                                                                                               
β”‚   β”‚       }                                                                                                                   
β”‚   └── πŸ“„ tf_test.tf (202 tokens, 38 lines)
β”‚       β”œβ”€β”€ provider "aws"                                                                                                      
β”‚       β”œβ”€β”€ resource "aws_instance" "example"                                                                                   
β”‚       β”œβ”€β”€ data "aws_ami" "ubuntu"                                                                                             
β”‚       β”œβ”€β”€ variable "instance_type"                                                                                            
β”‚       β”œβ”€β”€ output "instance_public_ip"                                                                                         
β”‚       β”œβ”€β”€ locals                                                                                                              
β”‚       └── module "vpc"                                                                                                        
β”œβ”€β”€ πŸ“ group5 (1 folder, 19 files) 
β”‚   β”œβ”€β”€ πŸ“„ ansible_test.yml (55 tokens, 14 lines)
β”‚   β”‚   β”œβ”€β”€ Install package
β”‚   β”‚   β”œβ”€β”€ Start service
β”‚   β”‚   └── Create user
β”‚   β”œβ”€β”€ πŸ“„ app-routing.module.ts (287 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 (410 tokens, 47 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 (271 tokens, 45 lines)
β”‚   β”‚   β”œβ”€β”€ export class AppComponent                                                                                           
β”‚   β”‚   β”œβ”€β”€   constructor(                                                                                                      
β”‚   β”‚   β”‚       private http: HttpClient,                                                                                       
β”‚   β”‚   β”‚       private loginService: LoginService,                                                                             
β”‚   β”‚   β”‚       private stripeService: StripeService                                                                            
β”‚   β”‚   β”‚     )                                                                                                                 
β”‚   β”‚   β”œβ”€β”€   constructor(private loginService: LoginService)                                                                   
β”‚   β”‚   β”œβ”€β”€   checkSession()                                                                                                    
β”‚   β”‚   β”œβ”€β”€   async goToEvent(event_id: string)                                                                                 
β”‚   β”‚   └──   valInvitedBy(event: any, event_id: string)                                                                        
β”‚   β”œβ”€β”€ πŸ“„ app.module.ts (374 tokens, 43 lines)
β”‚   β”‚   β”œβ”€β”€ @NgModule({                                                                                                         
β”‚   β”‚   β”‚       declarations: [                                                                                                 
β”‚   β”‚   β”‚           AppComponent,                                                                                               
β”‚   β”‚   β”‚           HomeComponent,                                                                                              
β”‚   β”‚   β”‚           LoginComponent,                                                                                             
β”‚   β”‚   β”‚           RegisterComponent,                                                                                          
β”‚   β”‚   β”‚           EventsComponent,                                                                                            
β”‚   β”‚   β”‚           InvitesComponent,                                                                                           
β”‚   β”‚   β”‚           RewardsComponent,                                                                                           
β”‚   β”‚   β”‚           ProfileComponent                                                                                            
β”‚   β”‚   └── export class AppModule                                                                                              
β”‚   β”œβ”€β”€ πŸ“„ checkbox_test.md (191 tokens, 29 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                                                                                     
β”‚   β”‚   └── # My Codeblock Test                                                                                                 
β”‚   β”œβ”€β”€ πŸ“„ checkbox_test.txt (257 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 (197 tokens, 19 lines)
β”‚   β”‚   β”œβ”€β”€ environment:                                                                                                        
β”‚   β”‚   β”œβ”€β”€    production                                                                                                       
β”‚   β”‚   β”œβ”€β”€    cognitoUserPoolId                                                                                                
β”‚   β”‚   β”œβ”€β”€    cognitoAppClientId                                                                                               
β”‚   β”‚   └──    apiurl                                                                                                           
β”‚   β”œβ”€β”€ πŸ“„ hello_world.pyi (22 tokens, 3 lines)
β”‚   β”‚   β”œβ”€β”€ @final                                                                                                              
β”‚   β”‚   β”‚   class dtype(Generic[_DTypeScalar_co])                                                                               
β”‚   β”‚   └──     names: None | tuple[builtins.str, ...]                                                                          
β”‚   β”œβ”€β”€ πŸ“„ k8s_test.yaml (140 tokens, 37 lines)
β”‚   β”‚   β”œβ”€β”€ apps/v1.Deployment -> my-app                                                                                        
β”‚   β”‚   β”œβ”€β”€ v1.Service -> my-service                                                                                            
β”‚   β”‚   └── v1.ConfigMap -> my-config                                                                                           
β”‚   β”œβ”€β”€ πŸ“„ Makefile (714 tokens, 84 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 (29 tokens, 10 lines)
β”‚   β”‚   β”œβ”€β”€ psycopg2-binary
β”‚   β”‚   β”œβ”€β”€ pytest
β”‚   β”‚   β”œβ”€β”€ coverage
β”‚   β”‚   β”œβ”€β”€ flask
β”‚   β”‚   β”œβ”€β”€ flask_cors
β”‚   β”‚   β”œβ”€β”€ stripe
β”‚   β”‚   β”œβ”€β”€ pyjwt
β”‚   β”‚   β”œβ”€β”€ cognitojwt
β”‚   β”‚   └── flask-lambda
β”‚   β”œβ”€β”€ πŸ“„ rust_todo_test.rs (92 tokens, 26 lines)
β”‚   β”‚   β”œβ”€β”€ TODO: This todo tests parse_todo                                                                                    
β”‚   β”‚   β”œβ”€β”€ enum Color {                                                                                                        
β”‚   β”‚   β”‚       Red,                                                                                                            
β”‚   β”‚   β”‚       Blue,                                                                                                           
β”‚   β”‚   β”‚       Green,                                                                                                          
β”‚   β”‚   β”‚   }                                                                                                                   
β”‚   β”‚   β”œβ”€β”€ struct Point                                                                                                        
β”‚   β”‚   β”œβ”€β”€ trait Drawable                                                                                                      
β”‚   β”‚   β”œβ”€β”€     fn draw(&self)                                                                                                  
β”‚   β”‚   β”œβ”€β”€ impl Drawable for Point                                                                                             
β”‚   β”‚   β”œβ”€β”€     fn draw(&self)                                                                                                  
β”‚   β”‚   └── fn main()                                                                                                           
β”‚   β”œβ”€β”€ πŸ“„ sql_test.sql (270 tokens, 51 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 (100 tokens, 16 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 (190 tokens, 25 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 (421 tokens, 48 lines)
β”‚   β”‚   β”œβ”€β”€ $schema: http://json-schema.org/draft-07/schema#
β”‚   β”‚   β”œβ”€β”€ type: object
β”‚   β”‚   β”œβ”€β”€ title: random_test
β”‚   β”‚   └── description: A promoter's activites related to events
β”‚   β”œβ”€β”€ πŸ“„ testPackage.json (349 tokens, 43 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 (7,160 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) =>                                                                        
β”‚       β”œβ”€β”€         requestAnimationFrame(animate)                                                                              
β”‚       β”œβ”€β”€         cleanup()                                                                                                   
β”‚       β”œβ”€β”€     requestAnimationFrame(animate)                                                                                  
β”‚       β”œβ”€β”€   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, 14 files) 
β”‚   β”œβ”€β”€ πŸ“„ catastrophic.c (5,339 tokens, 754 lines)
β”‚   β”‚   β”œβ”€β”€ TODO: technically we should use a proper parser                                                                     
β”‚   β”‚   β”œβ”€β”€ struct Point                                                                                                        
β”‚   β”‚   β”œβ”€β”€     int x;                                                                                                          
β”‚   β”‚   β”œβ”€β”€     int y;                                                                                                          
β”‚   β”‚   β”œβ”€β”€ struct Point getOrigin()                                                                                            
β”‚   β”‚   β”œβ”€β”€ float mul_two_floats(float x1, float x2)                                                                            
β”‚   β”‚   β”œβ”€β”€ enum days                                                                                                           
β”‚   β”‚   β”œβ”€β”€     SUN,                                                                                                            
β”‚   β”‚   β”œβ”€β”€     MON,                                                                                                            
β”‚   β”‚   β”œβ”€β”€     TUE,                                                                                                            
β”‚   β”‚   β”œβ”€β”€     WED,                                                                                                            
β”‚   β”‚   β”œβ”€β”€     THU,                                                                                                            
β”‚   β”‚   β”œβ”€β”€     FRI,                                                                                                            
β”‚   β”‚   β”œβ”€β”€     SAT                                                                                                             
β”‚   β”‚   β”œβ”€β”€ enum worker_pool_flags                                                                                              
β”‚   β”‚   β”œβ”€β”€         POOL_BH                 = 1 << 0,                                                                           
β”‚   β”‚   β”œβ”€β”€         POOL_MANAGER_ACTIVE     = 1 << 1,                                                                           
β”‚   β”‚   β”œβ”€β”€         POOL_DISASSOCIATED      = 1 << 2,                                                                           
β”‚   β”‚   β”œβ”€β”€         POOL_BH_DRAINING        = 1 << 3,                                                                           
β”‚   β”‚   β”œβ”€β”€ enum worker_flags                                                                                                   
β”‚   β”‚   β”œβ”€β”€         WORKER_DIE              = 1 << 1,                                                                           
β”‚   β”‚   β”œβ”€β”€         WORKER_IDLE             = 1 << 2,                                                                           
β”‚   β”‚   β”œβ”€β”€         WORKER_PREP             = 1 << 3,                                                                           
β”‚   β”‚   β”œβ”€β”€         WORKER_CPU_INTENSIVE    = 1 << 6,                                                                           
β”‚   β”‚   β”œβ”€β”€         WORKER_UNBOUND          = 1 << 7,                                                                           
β”‚   β”‚   β”œβ”€β”€         WORKER_REBOUND          = 1 << 8,                                                                           
β”‚   β”‚   β”œβ”€β”€         WORKER_NOT_RUNNING      = WORKER_PREP | WORKER_CPU_INTENSIVE |                                              
β”‚   β”‚   β”‚                                     WORKER_UNBOUND | WORKER_REBOUND,                                                  
β”‚   β”‚   β”œβ”€β”€ struct worker_pool                                                                                                  
β”‚   β”‚   β”œβ”€β”€   raw_spinlock_t    lock;                                                                                           
β”‚   β”‚   β”œβ”€β”€   int      cpu;                                                                                                     
β”‚   β”‚   β”œβ”€β”€   int      node;                                                                                                    
β”‚   β”‚   β”œβ”€β”€   int      id;                                                                                                      
β”‚   β”‚   β”œβ”€β”€   unsigned int    flags;                                                                                            
β”‚   β”‚   β”œβ”€β”€   unsigned long    watchdog_ts;                                                                                     
β”‚   β”‚   β”œβ”€β”€   bool      cpu_stall;                                                                                              
β”‚   β”‚   β”œβ”€β”€   int      nr_running;                                                                                              
β”‚   β”‚   β”œβ”€β”€   struct list_head  worklist;                                                                                       
β”‚   β”‚   β”œβ”€β”€   int      nr_workers;                                                                                              
β”‚   β”‚   β”œβ”€β”€   int      nr_idle;                                                                                                 
β”‚   β”‚   β”œβ”€β”€   struct list_head  idle_list;                                                                                      
β”‚   β”‚   β”œβ”€β”€   struct timer_list  idle_timer;                                                                                    
β”‚   β”‚   β”œβ”€β”€   struct work_struct      idle_cull_work;                                                                           
β”‚   β”‚   β”œβ”€β”€   struct timer_list  mayday_timer;                                                                                  
β”‚   β”‚   β”œβ”€β”€   struct worker    *manager;                                                                                        
β”‚   β”‚   β”œβ”€β”€   struct list_head  workers;                                                                                        
β”‚   β”‚   β”œβ”€β”€   struct ida    worker_ida;                                                                                         
β”‚   β”‚   β”œβ”€β”€   struct workqueue_attrs  *attrs;                                                                                   
β”‚   β”‚   β”œβ”€β”€   struct hlist_node  hash_node;                                                                                     
β”‚   β”‚   β”œβ”€β”€   int      refcnt;                                                                                                  
β”‚   β”‚   β”œβ”€β”€   struct rcu_head    rcu;                                                                                           
β”‚   β”‚   β”œβ”€β”€ long add_two_longs(long x1, long x2)                                                                                
β”‚   β”‚   β”œβ”€β”€ double multiplyByTwo(double num)                                                                                    
β”‚   β”‚   β”œβ”€β”€ char getFirstCharacter(char *str)                                                                                   
β”‚   β”‚   β”œβ”€β”€ void greet(Person p)                                                                                                
β”‚   β”‚   β”œβ”€β”€ typedef struct                                                                                                      
β”‚   β”‚   β”œβ”€β”€     char name[50];                                                                                                  
β”‚   β”‚   β”œβ”€β”€ } Person;                                                                                                           
β”‚   β”‚   β”œβ”€β”€ typedef struct PersonA                                                                                              
β”‚   β”‚   β”œβ”€β”€     char name[50];                                                                                                  
β”‚   β”‚   β”œβ”€β”€ } PersonB;                                                                                                          
β”‚   β”‚   β”œβ”€β”€ 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                                                                                                
β”‚   β”‚   β”œβ”€β”€     aeEventLoop *el;                                                                                                
β”‚   β”‚   β”œβ”€β”€     cliConnInfo conn_info;                                                                                          
β”‚   β”‚   β”œβ”€β”€     const char *hostsocket;                                                                                         
β”‚   β”‚   β”œβ”€β”€     int tls;                                                                                                        
β”‚   β”‚   β”œβ”€β”€     struct cliSSLconfig sslconfig;                                                                                  
β”‚   β”‚   β”œβ”€β”€ } config;                                                                                                           
β”‚   β”‚   β”œβ”€β”€ class Person                                                                                                        
β”‚   β”‚   β”œβ”€β”€     std::string name;                                                                                               
β”‚   β”‚   β”œβ”€β”€ 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 foo                                                                                                          
β”‚   β”‚   β”œβ”€β”€     char x;                                                                                                         
β”‚   β”‚   β”œβ”€β”€     struct foo_in                                                                                                   
β”‚   β”‚   β”œβ”€β”€           char* y;                                                                                                  
β”‚   β”‚   β”œβ”€β”€           short z;                                                                                                  
β”‚   β”‚   β”œβ”€β”€     } inner;                                                                                                        
β”‚   β”‚   β”œβ”€β”€ struct Point                                                                                                        
β”‚   β”‚   β”œβ”€β”€     int x, y;                                                                                                       
β”‚   β”‚   β”œβ”€β”€     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()                                                                                               
β”‚   β”‚   β”œβ”€β”€ protected:                                                                                                          
β”‚   β”‚   β”œβ”€β”€     std::string name;                                                                                               
β”‚   β”‚   β”œβ”€β”€ 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                                                                                                      
β”‚   β”‚   β”œβ”€β”€   Sedan,                                                                                                            
β”‚   β”‚   β”œβ”€β”€   Hatchback,                                                                                                        
β”‚   β”‚   β”œβ”€β”€   SUV,                                                                                                              
β”‚   β”‚   β”œβ”€β”€   Wagon                                                                                                             
β”‚   β”‚   β”œβ”€β”€ ECarTypes GetPreferredCarType()                                                                                     
β”‚   β”‚   β”œβ”€β”€ enum ECarTypes : uint8_t                                                                                            
β”‚   β”‚   β”œβ”€β”€   Sedan,                                                                                                            
β”‚   β”‚   β”œβ”€β”€   Hatchback,                                                                                                        
β”‚   β”‚   β”œβ”€β”€   SUV = 254,                                                                                                        
β”‚   β”‚   β”œβ”€β”€   Hybrid                                                                                                            
β”‚   β”‚   β”œβ”€β”€ enum class ECarTypes : uint8_t                                                                                      
β”‚   β”‚   β”œβ”€β”€   Sedan,                                                                                                            
β”‚   β”‚   β”œβ”€β”€   Hatchback,                                                                                                        
β”‚   β”‚   β”œβ”€β”€   SUV = 254,                                                                                                        
β”‚   β”‚   β”œβ”€β”€   Hybrid                                                                                                            
β”‚   β”‚   β”œβ”€β”€ 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                                                                                                        
β”‚   β”‚   β”œβ”€β”€  private:                                                                                                           
β”‚   β”‚   β”œβ”€β”€   void* ptr_;                                                                                                       
β”‚   β”‚   β”œβ”€β”€ 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)                                                         
β”‚   β”‚   β”œβ”€β”€ typedef struct                                                                                                      
β”‚   β”‚   β”œβ”€β”€     GPT2Config config;                                                                                              
β”‚   β”‚   β”œβ”€β”€     ParameterTensors params;                                                                                        
β”‚   β”‚   β”œβ”€β”€     size_t param_sizes[NUM_PARAMETER_TENSORS];                                                                      
β”‚   β”‚   β”œβ”€β”€     float* params_memory;                                                                                           
β”‚   β”‚   β”œβ”€β”€     size_t num_parameters;                                                                                          
β”‚   β”‚   β”œβ”€β”€     ParameterTensors grads;                                                                                         
β”‚   β”‚   β”œβ”€β”€     float* grads_memory;                                                                                            
β”‚   β”‚   β”œβ”€β”€     float* m_memory;                                                                                                
β”‚   β”‚   β”œβ”€β”€     float* v_memory;                                                                                                
β”‚   β”‚   β”œβ”€β”€     ActivationTensors acts;                                                                                         
β”‚   β”‚   β”œβ”€β”€     size_t act_sizes[NUM_ACTIVATION_TENSORS];                                                                       
β”‚   β”‚   β”œβ”€β”€     float* acts_memory;                                                                                             
β”‚   β”‚   β”œβ”€β”€     size_t num_activations;                                                                                         
β”‚   β”‚   β”œβ”€β”€     ActivationTensors grads_acts;                                                                                   
β”‚   β”‚   β”œβ”€β”€     float* grads_acts_memory;                                                                                       
β”‚   β”‚   β”œβ”€β”€     int batch_size;                                                                                                 
β”‚   β”‚   β”œβ”€β”€     int seq_len;                                                                                                    
β”‚   β”‚   β”œβ”€β”€     int* inputs;                                                                                                    
β”‚   β”‚   β”œβ”€β”€     int* targets;                                                                                                   
β”‚   β”‚   β”œβ”€β”€     float mean_loss;                                                                                                
β”‚   β”‚   └── } GPT2;                                                                                                             
β”‚   β”œβ”€β”€ πŸ“„ cpp_examples_impl.cc (60 tokens, 10 lines)
β”‚   β”‚   β”œβ”€β”€ PYBIND11_MODULE(cpp_examples, m)                                                                                    
β”‚   β”‚   └──     m.def("add", &add<int>, "An example function to add two numbers.")                                              
β”‚   β”œβ”€β”€ πŸ“„ cpp_examples_impl.cu (37 tokens, 10 lines)
β”‚   β”‚   β”œβ”€β”€ template <typename T>                                                                                               
β”‚   β”‚   β”‚   T add(T a, T b)                                                                                                     
β”‚   β”‚   └── template <>                                                                                                         
β”‚   β”‚       int add<int>(int a, int b)                                                                                          
β”‚   β”œβ”€β”€ πŸ“„ cpp_examples_impl.h (22 tokens, 6 lines)
β”‚   β”‚   β”œβ”€β”€ template <typename T>                                                                                               
β”‚   β”‚   β”‚   T add(T a, T b)                                                                                                     
β”‚   β”‚   └── template <>                                                                                                         
β”‚   β”‚       int add<int>(int, int)                                                                                              
β”‚   β”œβ”€β”€ πŸ“„ edge_case.hpp (426 tokens, 28 lines)
β”‚   β”œβ”€β”€ πŸ“„ fractal.thy (1,712 tokens, 147 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 :
β”‚   β”‚   β”‚     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,346 tokens, 497 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                                                                                               
β”‚   β”œβ”€β”€ πŸ“„ python_complex_class.py (10 tokens, 2 lines)
β”‚   β”‚   └── class Box(Space[NDArray[Any]])                                                                                      
β”‚   β”œβ”€β”€ πŸ“„ ramda__cloneRegExp.js (173 tokens, 9 lines)
β”‚   β”‚   └── export default function _cloneRegExp(pattern)                                                                       
β”‚   β”œβ”€β”€ πŸ“„ ramda_prop.js (646 tokens, 85 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,628 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 redu
β”‚   β”‚   β”œβ”€β”€ 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 
β”‚   β”‚   β”œβ”€β”€ Flag('tf_xla_min_cluster_size'):                                                                                    
β”‚   β”‚   β”‚       Minimum number of operators in an XLA compilation. Ignored for operators placed on an XLA device or operators ex
β”‚   β”‚   β”œβ”€β”€ 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_
β”‚   β”‚   β”œβ”€β”€ 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. Em
β”‚   β”‚   β”œβ”€β”€ 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 ty
β”‚   β”‚   β”œβ”€β”€ 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 
β”‚   β”‚   β”œβ”€β”€ 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
β”‚   β”‚   β”œβ”€β”€ 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
β”‚   β”‚   β”œβ”€β”€ 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 compilat
β”‚   β”‚   β”œβ”€β”€ 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 fals
β”‚   β”‚   β”œβ”€β”€ 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 functio
β”‚   β”‚   β”œβ”€β”€ 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 Pj
β”‚   β”‚   β”œβ”€β”€ Flag('tf_xla_call_module_disabled_checks'):                                                                         
β”‚   β”‚   β”‚       A comma-sepated list of directives specifying the safety checks to be skipped when compiling XlaCallModuleOp. Se
β”‚   β”‚   β”œβ”€β”€ 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 replic
β”‚   β”‚   β”œβ”€β”€ 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 Graph
β”‚   β”‚   β”œβ”€β”€ 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 updat
β”‚   β”‚   β”œβ”€β”€ 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                                                                                                         
β”‚   β”‚   β”œβ”€β”€  public:                                                                                                            
β”‚   β”‚   β”œβ”€β”€ 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)                                                                               
β”‚   β”‚   └── PYBIND11_MODULE(flags_pybind, m)                                                                                    
β”‚   β”œβ”€β”€ πŸ“„ test.f (181 tokens, 30 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 (60 tokens, 8 lines)
β”‚   β”‚   β”œβ”€β”€ # libtorch (C++-only)                                                                                               
β”‚   β”‚   └── - Building libtorch using Python                                                                                    
β”‚   └── πŸ“„ yc.html (9,063 tokens, 169 lines)
β”œβ”€β”€ πŸ“ group7 (1 folder, 5 files) 
β”‚   β”œβ”€β”€ πŸ“„ absurdly_huge.jsonl (8,347 tokens, 126 lines)
β”‚   β”‚   β”œβ”€β”€ SMILES: str
β”‚   β”‚   β”œβ”€β”€ Yield: float
β”‚   β”‚   β”œβ”€β”€ Temperature: int
β”‚   β”‚   β”œβ”€β”€ Pressure: float
β”‚   β”‚   β”œβ”€β”€ Solvent: str
β”‚   β”‚   β”œβ”€β”€ Success: bool
β”‚   β”‚   β”œβ”€β”€ Reaction_Conditions: dict
β”‚   β”‚   β”œβ”€β”€ Products: list
β”‚   β”‚   └── EdgeCasesMissed: None
β”‚   β”œβ”€β”€ πŸ“„ angular_crud.ts (1,192 tokens, 148 lines)
β”‚   β”‚   β”œβ”€β”€ interface DBCommand<T = any>                                                                                        
β”‚   β”‚   β”œβ”€β”€ export class IndexedDbService                                                                                       
β”‚   β”‚   β”œβ”€β”€     constructor()                                                                                                   
β”‚   β”‚   β”œβ”€β”€     async create_connection({ db_name = 'client_db', table_name }: DBCommand)                                       
β”‚   β”‚   β”œβ”€β”€                 upgrade(db)                                                                                         
β”‚   β”‚   β”œβ”€β”€     async create_model({ db_name, table_name, model }: DBCommand)                                                   
β”‚   β”‚   β”œβ”€β”€         verify_matching({ table_name, model })                                                                      
β”‚   β”‚   β”œβ”€β”€     async read_key({ db_name, table_name, key }: DBCommand)                                                         
β”‚   β”‚   β”œβ”€β”€     async update_model({ db_name, table_name, model }: DBCommand)                                                   
β”‚   β”‚   β”œβ”€β”€         verify_matching({ table_name, model })                                                                      
β”‚   β”‚   β”œβ”€β”€     async delete_key({ db_name, table_name, key }: DBCommand)                                                       
β”‚   β”‚   β”œβ”€β”€     async list_table({                                                                                              
β”‚   β”‚   β”‚           db_name,                                                                                                    
β”‚   β”‚   β”‚           table_name,                                                                                                 
β”‚   β”‚   β”‚           where,                                                                                                      
β”‚   β”‚   β”‚       }: DBCommand & { where?: { [key: string]: string | number } })                                                  
β”‚   β”‚   └──     async search_table(criteria: SearchCriteria)                                                                    
β”‚   β”œβ”€β”€ πŸ“„ structure.py (400 tokens, 92 lines)
β”‚   β”‚   β”œβ”€β”€ @runtime_checkable                                                                                                  
β”‚   β”‚   β”‚   class DataClass(Protocol)                                                                                           
β”‚   β”‚   β”œβ”€β”€     __dataclass_fields__: dict                                                                                      
β”‚   β”‚   β”œβ”€β”€ class MyInteger(Enum)                                                                                               
β”‚   β”‚   β”œβ”€β”€     ONE = 1                                                                                                         
β”‚   β”‚   β”œβ”€β”€     TWO = 2                                                                                                         
β”‚   β”‚   β”œβ”€β”€     THREE = 42                                                                                                      
β”‚   β”‚   β”œβ”€β”€ class MyString(Enum)                                                                                                
β”‚   β”‚   β”œβ”€β”€     AAA1 = "aaa"                                                                                                    
β”‚   β”‚   β”œβ”€β”€     BB_B = """edge                                                                                                  
β”‚   β”‚   β”‚   case"""                                                                                                             
β”‚   β”‚   β”œβ”€β”€ @dataclass(frozen=True, slots=True, kw_only=True)                                                                   
β”‚   β”‚   β”‚   class Tool                                                                                                          
β”‚   β”‚   β”œβ”€β”€     name: str                                                                                                       
β”‚   β”‚   β”œβ”€β”€     description: str                                                                                                
β”‚   β”‚   β”œβ”€β”€     input_model: DataClass                                                                                          
β”‚   β”‚   β”œβ”€β”€     output_model: DataClass                                                                                         
β”‚   β”‚   β”œβ”€β”€     def execute(self, *args, **kwargs)                                                                              
β”‚   β”‚   β”œβ”€β”€     @property                                                                                                       
β”‚   β”‚   β”‚       def edge_case(self) -> str                                                                                      
β”‚   β”‚   β”œβ”€β”€     def should_still_see_me(self, x: bool = True) -> "Tool"                                                         
β”‚   β”‚   β”œβ”€β”€ @dataclass                                                                                                          
β”‚   β”‚   β”‚   class MyInput[T]                                                                                                    
β”‚   β”‚   β”œβ”€β”€     name: str                                                                                                       
β”‚   β”‚   β”œβ”€β”€     rank: MyInteger                                                                                                 
β”‚   β”‚   β”œβ”€β”€     serial_n: int                                                                                                   
β”‚   β”‚   β”œβ”€β”€ @dataclass                                                                                                          
β”‚   β”‚   β”‚   class Thingy                                                                                                        
β”‚   β”‚   β”œβ”€β”€     is_edge_case: bool                                                                                              
β”‚   β”‚   β”œβ”€β”€ @dataclass                                                                                                          
β”‚   β”‚   β”‚   class MyOutput                                                                                                      
β”‚   β”‚   β”œβ”€β”€     orders: str                                                                                                     
β”‚   β”‚   β”œβ”€β”€ class MyTools(Enum)                                                                                                 
β”‚   β”‚   β”œβ”€β”€     TOOL_A = Tool(                                                                                                  
β”‚   β”‚   β”‚           name="complicated",                                                                                         
β”‚   β”‚   β”‚           description="edge case!",                                                                                   
β”‚   β”‚   β”‚           input_model=MyInput[Thingy],                                                                                
β”‚   β”‚   β”‚           output_model=MyOutput,                                                                                      
β”‚   β”‚   β”‚       )                                                                                                               
β”‚   β”‚   β”œβ”€β”€     TOOL_B = Tool(                                                                                                  
β”‚   β”‚   β”‚           name="""super                                                                                               
β”‚   β”‚   β”‚   complicated                                                                                                         
β”‚   β”‚   β”‚   """,                                                                                                                
β”‚   β”‚   β”‚           description="edge case!",                                                                                   
β”‚   β”‚   β”‚           input_model=MyInput,                                                                                        
β”‚   β”‚   β”‚           output_model=MyOutput,                                                                                      
β”‚   β”‚   β”‚       )                                                                                                               
β”‚   β”‚   β”œβ”€β”€ @final                                                                                                              
β”‚   β”‚   β”‚   class dtype(Generic[_DTypeScalar_co])                                                                               
β”‚   β”‚   └──     names: None | tuple[builtins.str, ...]                                                                          
β”‚   β”œβ”€β”€ πŸ“„ test.wgsl (528 tokens, 87 lines)
β”‚   β”‚   β”œβ”€β”€ alias MyVec = vec4<f32>                                                                                             
β”‚   β”‚   β”œβ”€β”€ alias AnotherVec = vec2<f32>                                                                                        
β”‚   β”‚   β”œβ”€β”€ struct VertexInput                                                                                                  
β”‚   β”‚   β”œβ”€β”€ struct VertexOutput                                                                                                 
β”‚   β”‚   β”œβ”€β”€ struct MyUniforms                                                                                                   
β”‚   β”‚   β”œβ”€β”€ @group(0) @binding(0) var<uniform> u_mvp: mat4x4<f32>                                                               
β”‚   β”‚   β”œβ”€β”€ @group(0) @binding(1) var<uniform> u_color: MyVec                                                                   
β”‚   β”‚   β”œβ”€β”€ @group(1) @binding(0) var my_texture: texture_2d<f32>                                                               
β”‚   β”‚   β”œβ”€β”€ @group(1) @binding(1) var my_sampler: sampler                                                                       
β”‚   β”‚   β”œβ”€β”€ @vertex                                                                                                             
β”‚   β”‚   β”‚   fn vs_main(in: VertexInput) -> VertexOutput                                                                         
β”‚   β”‚   β”œβ”€β”€ @fragment                                                                                                           
β”‚   β”‚   β”‚   fn fs_main(in: VertexOutput) -> @location(0) vec4<f32>                                                              
β”‚   β”‚   β”œβ”€β”€ @compute @workgroup_size(8, 8, 1)                                                                                   
β”‚   β”‚   β”‚   fn cs_main(@builtin(global_invocation_id) global_id: vec3<u32>)                                                     
β”‚   β”‚   β”œβ”€β”€ fn helper_function(val: f32) -> f32                                                                                 
β”‚   β”‚   β”œβ”€β”€ struct AnotherStruct                                                                                                
β”‚   β”‚   └── @compute                                                                                                            
β”‚   β”‚       @workgroup_size(8, 8, 1)                                                                                            
β”‚   β”‚       fn multi_line_edge_case(                                                                                            
β”‚   β”‚           @builtin(global_invocation_id)                                                                                  
β”‚   β”‚           globalId       : vec3<u32>,                                                                                     
β”‚   β”‚           @group(1)                                                                                                       
β”‚   β”‚           @binding(0)                                                                                                     
β”‚   β”‚           srcTexture     : texture_2d<f32>,                                                                               
β”‚   β”‚           @group(1)                                                                                                       
β”‚   β”‚           @binding(1)                                                                                                     
β”‚   β”‚           srcSampler     : sampler,                                                                                       
β”‚   β”‚           @group(0)                                                                                                       
β”‚   β”‚           @binding(0)                                                                                                     
β”‚   β”‚           uniformsPtr    : ptr<uniform, MyUniforms>,                                                                      
β”‚   β”‚           storageBuffer  : ptr<storage, array<vec4<f32>, 64>, read_write>,                                                
β”‚   β”‚       )                                                                                                                   
β”‚   └── πŸ“„ test.metal (272 tokens, 34 lines)
β”‚       β”œβ”€β”€ struct MyData                                                                                                       
β”‚       β”œβ”€β”€ kernel void myKernel(device MyData* data [[buffer(0)]],                                                             
β”‚       β”‚                        uint id [[thread_position_in_grid]])                                                           
β”‚       β”œβ”€β”€ float myHelperFunction(float x, float y)                                                                            
β”‚       β”œβ”€β”€ vertex float4 vertexShader(const device packed_float3* vertex_array [[buffer(0)]],                                  
β”‚       β”‚                              unsigned int vid [[vertex_id]])                                                          
β”‚       β”œβ”€β”€ fragment half4 fragmentShader(float4 P [[position]])                                                                
β”‚       └── float3 computeNormalMap(ColorInOut in, texture2d<float> normalMapTexture)                                           
└── πŸ“ group_lisp (1 folder, 4 files) 
    β”œβ”€β”€ πŸ“„ clojure_test.clj (682 tokens, 85 lines)
    β”‚   β”œβ”€β”€ defprotocol P                                                                                                       
    β”‚   β”œβ”€β”€ defrecord Person                                                                                                    
    β”‚   β”œβ”€β”€ defn -main                                                                                                          
    β”‚   β”œβ”€β”€ ns bion.likes_trees                                                                                                 
    β”‚   β”œβ”€β”€ def repo-url                                                                                                        
    β”‚   β”œβ”€β”€ defn config                                                                                                         
    β”‚   β”œβ”€β”€ defmacro with-os                                                                                                    
    β”‚   └── defrecord SetFullElement                                                                                            
    β”œβ”€β”€ πŸ“„ LispTest.lisp (25 tokens, 6 lines)
    β”‚   β”œβ”€β”€ defstruct person                                                                                                    
    β”‚   └── defun greet                                                                                                         
    β”œβ”€β”€ πŸ“„ racket_struct.rkt (14 tokens, 1 line)
    β”‚   └── struct point                                                                                                        
    └── πŸ“„ test_scheme.scm (360 tokens, 44 lines)
        β”œβ”€β”€ define topological-sort                                                                                             
        β”œβ”€β”€   define table                                                                                                      
        β”œβ”€β”€   define queue                                                                                                      
        β”œβ”€β”€   define result                                                                                                     
        β”œβ”€β”€   define set-up                                                                                                     
        └──   define traverse                                                                                                   

tree_plus v(1.0.79) ignore=('group_todo',) globs=() syntax=True paths=('tests/more_languages',)
9 folder(s), 87 file(s), 7,386 line(s), 69,653 token(s) in 2.15 second(s).

Got Globs?

python -m tree_plus_cli -s -g "*.*s" -i group_todo tests/more_languages
πŸ“ more_languages (7 folders, 17 files) 
β”œβ”€β”€ πŸ“ group1 (1 folder, 2 files) 
β”‚   β”œβ”€β”€ πŸ“„ test.js (757 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)                                                                                
β”‚   β”‚   β”œβ”€β”€   innerFunction("inner")                                                                                            
β”‚   β”‚   β”œβ”€β”€ 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)                                                                                           
β”‚   β”‚   β”œβ”€β”€     super(brand)                                                                                                    
β”‚   β”‚   └──   show()                                                                                                            
β”‚   └── πŸ“„ test.ts (832 tokens, 165 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>                                                                                                 
β”‚       β”œβ”€β”€   return("Standalone function with parameters")                                                                     
β”‚       β”œβ”€β”€ 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                                                                                        
β”‚       β”‚     )                                                                                                                 
β”‚       β”œβ”€β”€     super(firstName, lastName)                                                                                      
β”‚       β”œβ”€β”€   describe(): string                                                                                                
β”‚       β”œβ”€β”€ interface Shape                                                                                                     
β”‚       └── interface Square extends Shape                                                                                      
β”œβ”€β”€ πŸ“ group3 (1 folder, 1 file) 
β”‚   └── πŸ“„ csharp_test.cs (957 tokens, 146 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 (414 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 (1,368 tokens, 259 lines)
β”‚   β”‚   β”œβ”€β”€ fn at_beginning<'a>(&'a str)                                                                                        
β”‚   β”‚   β”œβ”€β”€ pub enum Days<E: EdgeCase> {                                                                                        
β”‚   β”‚   β”‚       #[default]                                                                                                      
β”‚   β”‚   β”‚       Sun,                                                                                                            
β”‚   β”‚   β”‚       Mon,                                                                                                            
β”‚   β”‚   β”‚       #[error("edge case {idx}, expected at least {} and at most {}", .limits.lo, .limits.hi)]                        
β”‚   β”‚   β”‚       Tue,                                                                                                            
β”‚   β”‚   β”‚       Wed,                                                                                                            
β”‚   β”‚   β”‚       Thu(i16, bool),                                                                                                 
β”‚   β”‚   β”‚       Fri { day: u8 },                                                                                                
β”‚   β”‚   β”‚       Sat {                                                                                                           
β”‚   β”‚   β”‚           urday: String,                                                                                              
β”‚   β”‚   β”‚           edge_case: E,                                                                                               
β”‚   β”‚   β”‚       },                                                                                                              
β”‚   β”‚   β”‚   }                                                                                                                   
β”‚   β”‚   β”œβ”€β”€ 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                                                                                                            
β”‚   β”‚   β”œβ”€β”€ const 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 with_generic<D: Drawable>(d: D)                                                                                  
β”‚   β”‚   β”œβ”€β”€ fn with_generic<D>(d: D)                                                                                            
β”‚   β”‚   β”‚   where                                                                                                               
β”‚   β”‚   β”‚       D: Drawable                                                                                                     
β”‚   β”‚   β”œβ”€β”€ fn main()                                                                                                           
β”‚   β”‚   β”œβ”€β”€ pub struct VisibleStruct                                                                                            
β”‚   β”‚   β”œβ”€β”€ mod my_module                                                                                                       
β”‚   β”‚   β”œβ”€β”€     pub struct AlsoVisibleStruct<T>(T, T)                                                                           
β”‚   β”‚   β”œβ”€β”€ macro_rules! say_hello                                                                                              
β”‚   β”‚   β”œβ”€β”€ #[macro_export]                                                                                                     
β”‚   β”‚   β”‚   macro_rules! hello_tree_plus                                                                                        
β”‚   β”‚   β”œβ”€β”€ pub mod lib                                                                                                         
β”‚   β”‚   β”œβ”€β”€     pub mod interfaces                                                                                              
β”‚   β”‚   β”œβ”€β”€     mod engine                                                                                                      
β”‚   β”‚   β”œβ”€β”€ pub fn flow<S1, S2, S3, S4, E, T, L>(                                                                               
β”‚   β”‚   β”‚       source: S1,                                                                                                     
β”‚   β”‚   β”‚       extractor: E,                                                                                                   
β”‚   β”‚   β”‚       inbox: S2,                                                                                                      
β”‚   β”‚   β”‚       transformer: T,                                                                                                 
β”‚   β”‚   β”‚       outbox: S3,                                                                                                     
β”‚   β”‚   β”‚       loader: L,                                                                                                      
β”‚   β”‚   β”‚       sink: &mut S4,                                                                                                  
β”‚   β”‚   β”‚   ) -> Result<(), Box<dyn Error>>                                                                                     
β”‚   β”‚   β”‚   where                                                                                                               
β”‚   β”‚   β”‚       S1: Extractable,                                                                                                
β”‚   β”‚   β”‚       S2: Extractable + Loadable,                                                                                     
β”‚   β”‚   β”‚       S3: Extractable + Loadable,                                                                                     
β”‚   β”‚   β”‚       S4: Loadable,                                                                                                   
β”‚   β”‚   β”‚       E: Extractor<S1, S2>,                                                                                           
β”‚   β”‚   β”‚       T: Transformer<S2, S3>,                                                                                         
β”‚   β”‚   β”‚       L: Loader<S3, S4>                                                                                               
β”‚   β”‚   β”œβ”€β”€ trait Container                                                                                                     
β”‚   β”‚   β”œβ”€β”€     fn items(&self) -> impl Iterator<Item = Widget>                                                                 
β”‚   β”‚   β”œβ”€β”€ trait HttpService                                                                                                   
β”‚   β”‚   β”œβ”€β”€     async fn fetch(&self, url: Url) -> HtmlBody                                                                     
β”‚   β”‚   β”œβ”€β”€ struct Pair<T, U>                                                                                                   
β”‚   β”‚   β”œβ”€β”€ trait Transformer<T>                                                                                                
β”‚   β”‚   β”œβ”€β”€     fn transform(&self, input: T) -> T                                                                              
β”‚   β”‚   β”œβ”€β”€ impl<T: std::ops::Add<Output = T> + Copy> Transformer<T> for Pair<T, T>                                             
β”‚   β”‚   β”œβ”€β”€     fn transform(&self, input: T) -> T                                                                              
β”‚   β”‚   β”œβ”€β”€ fn main()                                                                                                           
β”‚   β”‚   β”œβ”€β”€ async fn handle_get(State(pool): State<PgPool>) -> Result<Html<String>, (StatusCode, String)>                       
β”‚   β”‚   β”‚   where                                                                                                               
β”‚   β”‚   β”‚       Bion: Cool                                                                                                      
β”‚   β”‚   β”œβ”€β”€ #[macro_export]                                                                                                     
β”‚   β”‚   β”‚   macro_rules! unit                                                                                                   
β”‚   β”‚   β”œβ”€β”€             fn insert(                                                                                              
β”‚   β”‚   β”‚                   &mut self,                                                                                          
β”‚   β”‚   β”‚                   key: (),                                                                                            
β”‚   β”‚   β”‚                   value: $unit_dtype,                                                                                 
β”‚   β”‚   β”‚               ) -> Result<Option<$unit_dtype>, ETLError>                                                              
β”‚   β”‚   β”œβ”€β”€ pub async fn handle_get_axum_route(                                                                                 
β”‚   β”‚   β”‚       Session { maybe_claims }: Session,                                                                              
β”‚   β”‚   β”‚       Path(RouteParams {                                                                                              
β”‚   β”‚   β”‚           alpha,                                                                                                      
β”‚   β”‚   β”‚           bravo,                                                                                                      
β”‚   β”‚   β”‚           charlie,                                                                                                    
β”‚   β”‚   β”‚           edge_case                                                                                                   
β”‚   β”‚   β”‚       }): Path<RouteParams>,                                                                                          
β”‚   β”‚   β”‚   ) -> ServerResult<Response>                                                                                         
β”‚   β”‚   β”œβ”€β”€ fn encode_pipeline(cmds: &[Cmd], atomic: bool) -> Vec<u8>                                                           
β”‚   β”‚   β”œβ”€β”€ pub async fn handle_post_yeet(                                                                                      
β”‚   β”‚   β”‚       State(auth_backend): State<AuthBackend>,                                                                        
β”‚   β”‚   β”‚       Session { maybe_claims }: Session,                                                                              
β”‚   β”‚   β”‚       Form(yeet_form): Form<YeetForm>,                                                                                
β”‚   β”‚   β”‚   ) -> Result<Response, AuthError>                                                                                    
β”‚   β”‚   └── pub async fn handle_get_thingy(                                                                                     
β”‚   β”‚           session: Session,                                                                                               
β”‚   β”‚           State(ApiBackend {                                                                                              
β”‚   β”‚               page_cache,                                                                                                 
β”‚   β”‚               auth_backend,                                                                                               
β”‚   β”‚               library_sql,                                                                                                
β”‚   β”‚               some_data_cache,                                                                                            
β”‚   β”‚               metadata_cache,                                                                                             
β”‚   β”‚               thingy_client,                                                                                              
β”‚   β”‚               ..                                                                                                          
β”‚   β”‚           }): State<ApiBackend>,                                                                                          
β”‚   β”‚       ) -> ServerResult<Response>                                                                                         
β”‚   └── πŸ“„ test_fsharp.fs (92 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 (287 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 (410 tokens, 47 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 (271 tokens, 45 lines)
β”‚   β”‚   β”œβ”€β”€ export class AppComponent                                                                                           
β”‚   β”‚   β”œβ”€β”€   constructor(                                                                                                      
β”‚   β”‚   β”‚       private http: HttpClient,                                                                                       
β”‚   β”‚   β”‚       private loginService: LoginService,                                                                             
β”‚   β”‚   β”‚       private stripeService: StripeService                                                                            
β”‚   β”‚   β”‚     )                                                                                                                 
β”‚   β”‚   β”œβ”€β”€   constructor(private loginService: LoginService)                                                                   
β”‚   β”‚   β”œβ”€β”€   checkSession()                                                                                                    
β”‚   β”‚   β”œβ”€β”€   async goToEvent(event_id: string)                                                                                 
β”‚   β”‚   └──   valInvitedBy(event: any, event_id: string)                                                                        
β”‚   β”œβ”€β”€ πŸ“„ app.module.ts (374 tokens, 43 lines)
β”‚   β”‚   β”œβ”€β”€ @NgModule({                                                                                                         
β”‚   β”‚   β”‚       declarations: [                                                                                                 
β”‚   β”‚   β”‚           AppComponent,                                                                                               
β”‚   β”‚   β”‚           HomeComponent,                                                                                              
β”‚   β”‚   β”‚           LoginComponent,                                                                                             
β”‚   β”‚   β”‚           RegisterComponent,                                                                                          
β”‚   β”‚   β”‚           EventsComponent,                                                                                            
β”‚   β”‚   β”‚           InvitesComponent,                                                                                           
β”‚   β”‚   β”‚           RewardsComponent,                                                                                           
β”‚   β”‚   β”‚           ProfileComponent                                                                                            
β”‚   β”‚   └── export class AppModule                                                                                              
β”‚   β”œβ”€β”€ πŸ“„ environment.test.ts (197 tokens, 19 lines)
β”‚   β”‚   β”œβ”€β”€ environment:                                                                                                        
β”‚   β”‚   β”œβ”€β”€    production                                                                                                       
β”‚   β”‚   β”œβ”€β”€    cognitoUserPoolId                                                                                                
β”‚   β”‚   β”œβ”€β”€    cognitoAppClientId                                                                                               
β”‚   β”‚   └──    apiurl                                                                                                           
β”‚   β”œβ”€β”€ πŸ“„ rust_todo_test.rs (92 tokens, 26 lines)
β”‚   β”‚   β”œβ”€β”€ TODO: This todo tests parse_todo                                                                                    
β”‚   β”‚   β”œβ”€β”€ enum Color {                                                                                                        
β”‚   β”‚   β”‚       Red,                                                                                                            
β”‚   β”‚   β”‚       Blue,                                                                                                           
β”‚   β”‚   β”‚       Green,                                                                                                          
β”‚   β”‚   β”‚   }                                                                                                                   
β”‚   β”‚   β”œβ”€β”€ struct Point                                                                                                        
β”‚   β”‚   β”œβ”€β”€ trait Drawable                                                                                                      
β”‚   β”‚   β”œβ”€β”€     fn draw(&self)                                                                                                  
β”‚   β”‚   β”œβ”€β”€ impl Drawable for Point                                                                                             
β”‚   β”‚   β”œβ”€β”€     fn draw(&self)                                                                                                  
β”‚   β”‚   └── fn main()                                                                                                           
β”‚   β”œβ”€β”€ πŸ“„ standard-app-routing.module.ts (100 tokens, 16 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 (7,160 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) =>                                                                        
β”‚       β”œβ”€β”€         requestAnimationFrame(animate)                                                                              
β”‚       β”œβ”€β”€         cleanup()                                                                                                   
β”‚       β”œβ”€β”€     requestAnimationFrame(animate)                                                                                  
β”‚       β”œβ”€β”€   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 (173 tokens, 9 lines)
β”‚   β”‚   └── export default function _cloneRegExp(pattern)                                                                       
β”‚   └── πŸ“„ ramda_prop.js (646 tokens, 85 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)                                                                                        
└── πŸ“ group7 (1 folder, 1 file) 
    └── πŸ“„ angular_crud.ts (1,192 tokens, 148 lines)
        β”œβ”€β”€ interface DBCommand<T = any>                                                                                        
        β”œβ”€β”€ export class IndexedDbService                                                                                       
        β”œβ”€β”€     constructor()                                                                                                   
        β”œβ”€β”€     async create_connection({ db_name = 'client_db', table_name }: DBCommand)                                       
        β”œβ”€β”€                 upgrade(db)                                                                                         
        β”œβ”€β”€     async create_model({ db_name, table_name, model }: DBCommand)                                                   
        β”œβ”€β”€         verify_matching({ table_name, model })                                                                      
        β”œβ”€β”€     async read_key({ db_name, table_name, key }: DBCommand)                                                         
        β”œβ”€β”€     async update_model({ db_name, table_name, model }: DBCommand)                                                   
        β”œβ”€β”€         verify_matching({ table_name, model })                                                                      
        β”œβ”€β”€     async delete_key({ db_name, table_name, key }: DBCommand)                                                       
        β”œβ”€β”€     async list_table({                                                                                              
        β”‚           db_name,                                                                                                    
        β”‚           table_name,                                                                                                 
        β”‚           where,                                                                                                      
        β”‚       }: DBCommand & { where?: { [key: string]: string | number } })                                                  
        └──     async search_table(criteria: SearchCriteria)                                                                    

tree_plus v(1.0.79) ignore=('group_todo',) globs=('*.*s',) syntax=True paths=('tests/more_languages',)
7 folder(s), 17 file(s), 2,161 line(s), 15,322 token(s) in 0.47 second(s).

Languages Todo:

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

python -m tree_plus_cli -s tests/more_languages/group_todo
πŸ“ group_todo (1 folder, 12 files) 
β”œβ”€β”€ πŸ“„ AAPLShaders.metal (5,780 tokens, 566 lines)
β”‚   β”œβ”€β”€ struct LightingParameters                                                                                               
β”‚   β”œβ”€β”€ float Geometry(float Ndotv, float alphaG)                                                                               
β”‚   β”œβ”€β”€ float3 computeNormalMap(ColorInOut in, texture2d<float> normalMapTexture)                                               
β”‚   β”œβ”€β”€ float3 computeDiffuse(LightingParameters parameters)                                                                    
β”‚   β”œβ”€β”€ float Distribution(float NdotH, float roughness)                                                                        
β”‚   β”œβ”€β”€ float3 computeSpecular(LightingParameters parameters)                                                                   
β”‚   β”œβ”€β”€ float4 equirectangularSample(float3 direction, sampler s, texture2d<float> image)                                       
β”‚   β”œβ”€β”€ LightingParameters calculateParameters(ColorInOut in,                                                                   
β”‚   β”‚                                          AAPLCameraData cameraData,                                                       
β”‚   β”‚                                          constant AAPLLightData& lightData,                                               
β”‚   β”‚                                          texture2d<float>   baseColorMap,                                                 
β”‚   β”‚                                          texture2d<float>   normalMap,                                                    
β”‚   β”‚                                          texture2d<float>   metallicMap,                                                  
β”‚   β”‚                                          texture2d<float>   roughnessMap,                                                 
β”‚   β”‚                                          texture2d<float>   ambientOcclusionMap,                                          
β”‚   β”‚                                          texture2d<float>   skydomeMap)                                                   
β”‚   β”œβ”€β”€ struct SkyboxVertex                                                                                                     
β”‚   β”œβ”€β”€ struct SkyboxV2F                                                                                                        
β”‚   β”œβ”€β”€ vertex SkyboxV2F skyboxVertex(SkyboxVertex in [[stage_in]],                                                             
β”‚   β”‚                                    constant AAPLCameraData& cameraData [[buffer(BufferIndexCameraData)]])                 
β”‚   β”œβ”€β”€ fragment float4 skyboxFragment(SkyboxV2F v [[stage_in]], texture2d<float> skytexture [[texture(0)]])                    
β”‚   β”œβ”€β”€ vertex ColorInOut vertexShader(Vertex in [[stage_in]],                                                                  
β”‚   β”‚                                  constant AAPLInstanceTransform& instanceTransform [[ buffer(BufferIndexInstanceTransforms
β”‚   β”‚                                  constant AAPLCameraData& cameraData [[ buffer(BufferIndexCameraData) ]])                 
β”‚   β”œβ”€β”€ float2 calculateScreenCoord( float3 ndcpos )                                                                            
β”‚   β”œβ”€β”€ fragment float4 fragmentShader(                                                                                         
β”‚   β”‚                       ColorInOut                  in                    [[stage_in]],                                     
β”‚   β”‚                       constant AAPLCameraData&    cameraData            [[ buffer(BufferIndexCameraData) ]],              
β”‚   β”‚                       constant AAPLLightData&     lightData             [[ buffer(BufferIndexLightData) ]],               
β”‚   β”‚                       constant AAPLSubmeshKeypath&submeshKeypath        [[ buffer(BufferIndexSubmeshKeypath)]],           
β”‚   β”‚                       constant Scene*             pScene                [[ buffer(SceneIndex)]],                          
β”‚   β”‚                       texture2d<float>            skydomeMap            [[ texture(AAPLSkyDomeTexture) ]],                
β”‚   β”‚                       texture2d<float>            rtReflections         [[ texture(AAPLTextureIndexReflections), function_
β”‚   β”œβ”€β”€ fragment float4 reflectionShader(ColorInOut in [[stage_in]],                                                            
β”‚   β”‚                                    texture2d<float> rtReflections [[texture(AAPLTextureIndexReflections)]])               
β”‚   β”œβ”€β”€ struct ThinGBufferOut                                                                                                   
β”‚   β”œβ”€β”€ fragment ThinGBufferOut gBufferFragmentShader(ColorInOut in [[stage_in]])                                               
β”‚   β”œβ”€β”€ kernel void rtReflection(                                                                                               
β”‚   β”‚                texture2d< float, access::write >      outImage                [[texture(OutImageIndex)]],                 
β”‚   β”‚                texture2d< float >                     positions               [[texture(ThinGBufferPositionIndex)]],      
β”‚   β”‚                texture2d< float >                     directions              [[texture(ThinGBufferDirectionIndex)]],     
β”‚   β”‚                texture2d< float >                     skydomeMap              [[texture(AAPLSkyDomeTexture)]],            
β”‚   β”‚                constant AAPLInstanceTransform*        instanceTransforms      [[buffer(BufferIndexInstanceTransforms)]],  
β”‚   β”‚                constant AAPLCameraData&               cameraData              [[buffer(BufferIndexCameraData)]],          
β”‚   β”‚                constant AAPLLightData&                lightData               [[buffer(BufferIndexLightData)]],           
β”‚   β”‚                constant Scene*                        pScene                  [[buffer(SceneIndex)]],                     
β”‚   β”‚                instance_acceleration_structure        accelerationStructure   [[buffer(AccelerationStructureIndex)]],     
β”‚   β”‚                uint2 tid [[thread_position_in_grid]])                                                                     
β”‚   β”œβ”€β”€ else if ( intersection.type == raytracing::intersection_type::none )                                                    
β”‚   β”œβ”€β”€ struct VertexInOut                                                                                                      
β”‚   β”œβ”€β”€ vertex VertexInOut vertexPassthrough( uint vid [[vertex_id]] )                                                          
β”‚   β”œβ”€β”€ fragment float4 fragmentPassthrough( VertexInOut in [[stage_in]], texture2d< float > tin )                              
β”‚   β”œβ”€β”€ fragment float4 fragmentBloomThreshold( VertexInOut in [[stage_in]],                                                    
β”‚   β”‚                                          texture2d< float > tin [[texture(0)]],                                           
β”‚   β”‚                                          constant float* threshold [[buffer(0)]] )                                        
β”‚   └── fragment float4 fragmentPostprocessMerge( VertexInOut in [[stage_in]],                                                  
β”‚                                                constant float& exposure [[buffer(0)]],                                        
β”‚                                                texture2d< float > texture0 [[texture(0)]],                                    
β”‚                                                texture2d< float > texture1 [[texture(1)]])                                    
β”œβ”€β”€ πŸ“„ crystal_test.cr (48 tokens, 15 lines)
β”œβ”€β”€ πŸ“„ dart_test.dart (108 tokens, 24 lines)
β”œβ”€β”€ πŸ“„ elixir_test.exs (39 tokens, 10 lines)
β”œβ”€β”€ πŸ“„ forward.frag (739 tokens, 87 lines)
β”œβ”€β”€ πŸ“„ forward.vert (359 tokens, 48 lines)
β”œβ”€β”€ πŸ“„ nodemon.json (118 tokens, 20 lines)
β”œβ”€β”€ πŸ“„ sas_test.sas (97 tokens, 22 lines)
β”œβ”€β”€ πŸ“„ test_setup_py.test (133 tokens, 24 lines)
β”œβ”€β”€ πŸ“„ testTypings.d.ts (158 tokens, 23 lines)
β”œβ”€β”€ πŸ“„ vba_test.bas (67 tokens, 16 lines)
└── πŸ“„ wgsl_test.wgsl (94 tokens, 17 lines)
    β”œβ”€β”€ @binding(0) @group(0) var<uniform> frame : u32                                                                          
    β”œβ”€β”€ @vertex                                                                                                                 
    β”‚   fn vtx_main(@builtin(vertex_index) vertex_index : u32) -> @builtin(position) vec4f                                      
    └── @fragment                                                                                                               
        fn frag_main() -> @location(0) vec4f                                                                                    

tree_plus v(1.0.79) ignore=() globs=() syntax=True paths=('tests/more_languages/group_todo',)
1 folder(s), 12 file(s), 872 line(s), 7,740 token(s) in 0.10 second(s).

Oppose Unfair Business Practices

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

California OpenAI Complaint - Customer Noncompete Clause

Remember: Your Voice Matters!

License

MIT or Apache 2.0, at your option.

About

A `tree` util enhanced with tokens, lines, and components. `pip install -U tree_plus`

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •