>>> tree-sitter: Building community/tree-sitter 0.20.8-r0 (using abuild 3.11.0_rc13-r0) started Fri, 21 Apr 2023 17:49:44 +0000 >>> tree-sitter: Checking sanity of /home/buildozer/aports/community/tree-sitter/APKBUILD... >>> tree-sitter: Analyzing dependencies... >>> tree-sitter: Installing for build: build-base bash cargo nodejs (1/12) Installing readline (8.2.1-r1) (2/12) Installing bash (5.2.15-r3) Executing bash-5.2.15-r3.post-install (3/12) Installing libffi (3.4.4-r2) (4/12) Installing xz-libs (5.4.2-r1) (5/12) Installing libxml2 (2.10.4-r2) (6/12) Installing llvm15-libs (15.0.7-r5) (7/12) Installing rust (1.69.0-r2) (8/12) Installing cargo (1.69.0-r2) (9/12) Installing icu-data-en (73.1-r1) Executing icu-data-en-73.1-r1.post-install * * If you need ICU with non-English locales and legacy charset support, install * package icu-data-full. * (10/12) Installing icu-libs (73.1-r1) (11/12) Installing nodejs (18.16.0-r1) (12/12) Installing .makedepends-tree-sitter (20230421.174949) Executing busybox-1.36.0-r7.trigger OK: 1152 MiB in 110 packages >>> tree-sitter: Cleaning up srcdir >>> tree-sitter: Cleaning up pkgdir >>> tree-sitter: Fetching https://distfiles.alpinelinux.org/distfiles/v3.18/tree-sitter-0.20.8.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 146 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> tree-sitter: Fetching https://github.com/tree-sitter/tree-sitter/archive/v0.20.8/tree-sitter-0.20.8.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 160k 0 160k 0 0 303k 0 --:--:-- --:--:-- --:--:-- 303k 100 2872k 0 2872k 0 0 2936k 0 --:--:-- --:--:-- --:--:-- 6027k >>> tree-sitter: Fetching https://distfiles.alpinelinux.org/distfiles/v3.18/tree-sitter-0.20.8.tar.gz >>> tree-sitter: Checking sha512sums... tree-sitter-0.20.8.tar.gz: OK abuild-tree-sitter: OK >>> tree-sitter: Unpacking /var/cache/distfiles/v3.18/tree-sitter-0.20.8.tar.gz... Updating crates.io index Downloading crates ... Downloaded webbrowser v0.8.8 Downloaded dirs v4.0.0 Downloaded pretty_assertions v0.7.2 Downloaded dirs v3.0.2 Downloaded libloading v0.7.4 Downloaded unindent v0.2.1 Downloaded which v4.4.0 Downloaded rustix v0.37.7 Downloaded rustc-hash v1.1.0 Downloaded ascii v1.1.0 Downloaded utf8-width v0.1.6 Downloaded html-escape v0.2.13 Downloaded smallbitvec v2.5.1 Downloaded chunked_transfer v1.4.1 Downloaded tiny_http v0.12.0 Downloaded difference v2.0.0 >>> tree-sitter: fetching test fixtures Updating bash grammar... Cloning into './script/../test/fixtures/grammars/bash'... From https://github.com/tree-sitter/tree-sitter-bash * branch master -> FETCH_HEAD HEAD is now at 422a07c Highlight "select" and "until" as keywords (#168) Updating c grammar... Cloning into './script/../test/fixtures/grammars/c'... From https://github.com/tree-sitter/tree-sitter-c * branch master -> FETCH_HEAD HEAD is now at f357890 Merge pull request #125 from Luni-4/publish Updating cpp grammar... Cloning into './script/../test/fixtures/grammars/cpp'... From https://github.com/tree-sitter/tree-sitter-cpp * branch master -> FETCH_HEAD HEAD is now at 670404d feat: support template friend declarations Updating embedded-template grammar... Cloning into './script/../test/fixtures/grammars/embedded-template'... From https://github.com/tree-sitter/tree-sitter-embedded-template * branch master -> FETCH_HEAD HEAD is now at 203f7bd Merge pull request #20 from aibaars/capturing-blocks Updating go grammar... Cloning into './script/../test/fixtures/grammars/go'... From https://github.com/tree-sitter/tree-sitter-go * branch master -> FETCH_HEAD HEAD is now at 64457ea Merge pull request #91 from SuperBo/fix-string-literal Updating html grammar... Cloning into './script/../test/fixtures/grammars/html'... From https://github.com/tree-sitter/tree-sitter-html * branch master -> FETCH_HEAD HEAD is now at 86c253e Merge pull request #53 from colinaaa/highlight-self-close Updating java grammar... Cloning into './script/../test/fixtures/grammars/java'... From https://github.com/tree-sitter/tree-sitter-java * branch master -> FETCH_HEAD HEAD is now at c194ee5 Merge pull request #144 from stelf/patch-1 Updating javascript grammar... Cloning into './script/../test/fixtures/grammars/javascript'... From https://github.com/tree-sitter/tree-sitter-javascript * branch partial-order-precedences -> FETCH_HEAD HEAD is now at 4c2f629 Clean up precedences by using symbols Updating jsdoc grammar... Cloning into './script/../test/fixtures/grammars/jsdoc'... From https://github.com/tree-sitter/tree-sitter-jsdoc * branch master -> FETCH_HEAD HEAD is now at 189a6a4 0.19.0 Updating json grammar... Cloning into './script/../test/fixtures/grammars/json'... From https://github.com/tree-sitter/tree-sitter-json * branch master -> FETCH_HEAD HEAD is now at 7307675 Makefile (#29) Updating php grammar... Cloning into './script/../test/fixtures/grammars/php'... From https://github.com/tree-sitter/tree-sitter-php * branch master -> FETCH_HEAD HEAD is now at 1a40581 Merge pull request #170 from ptondereau/test/add-constant-in-traits Updating python grammar... Cloning into './script/../test/fixtures/grammars/python'... From https://github.com/tree-sitter/tree-sitter-python * branch master -> FETCH_HEAD HEAD is now at 6282715 Merge pull request #193 from tree-sitter/tausbn/allow-match-in-more-places Updating ruby grammar... Cloning into './script/../test/fixtures/grammars/ruby'... From https://github.com/tree-sitter/tree-sitter-ruby * branch master -> FETCH_HEAD HEAD is now at 206c707 Merge pull request #194 from aibaars/oneline-pattern-matching Updating rust grammar... Cloning into './script/../test/fixtures/grammars/rust'... From https://github.com/tree-sitter/tree-sitter-rust * branch master -> FETCH_HEAD HEAD is now at fbf9e50 Merge pull request #173 from Luni-4/publish Updating typescript grammar... Cloning into './script/../test/fixtures/grammars/typescript'... From https://github.com/tree-sitter/tree-sitter-typescript * branch master -> FETCH_HEAD HEAD is now at b66d19b Merge pull request #240 from rtsao/fix-type-imports gcc -Os -Wformat -Werror=format-security -std=gnu99 -fPIC -Ilib/src -Ilib/include -Os -Wformat -Werror=format-security -c -o lib/src/alloc.o lib/src/alloc.c gcc -Os -Wformat -Werror=format-security -std=gnu99 -fPIC -Ilib/src -Ilib/include -Os -Wformat -Werror=format-security -c -o lib/src/get_changed_ranges.o lib/src/get_changed_ranges.c gcc -Os -Wformat -Werror=format-security -std=gnu99 -fPIC -Ilib/src -Ilib/include -Os -Wformat -Werror=format-security -c -o lib/src/language.o lib/src/language.c gcc -Os -Wformat -Werror=format-security -std=gnu99 -fPIC -Ilib/src -Ilib/include -Os -Wformat -Werror=format-security -c -o lib/src/lexer.o lib/src/lexer.c gcc -Os -Wformat -Werror=format-security -std=gnu99 -fPIC -Ilib/src -Ilib/include -Os -Wformat -Werror=format-security -c -o lib/src/node.o lib/src/node.c gcc -Os -Wformat -Werror=format-security -std=gnu99 -fPIC -Ilib/src -Ilib/include -Os -Wformat -Werror=format-security -c -o lib/src/parser.o lib/src/parser.c gcc -Os -Wformat -Werror=format-security -std=gnu99 -fPIC -Ilib/src -Ilib/include -Os -Wformat -Werror=format-security -c -o lib/src/query.o lib/src/query.c gcc -Os -Wformat -Werror=format-security -std=gnu99 -fPIC -Ilib/src -Ilib/include -Os -Wformat -Werror=format-security -c -o lib/src/stack.o lib/src/stack.c gcc -Os -Wformat -Werror=format-security -std=gnu99 -fPIC -Ilib/src -Ilib/include -Os -Wformat -Werror=format-security -c -o lib/src/subtree.o lib/src/subtree.c gcc -Os -Wformat -Werror=format-security -std=gnu99 -fPIC -Ilib/src -Ilib/include -Os -Wformat -Werror=format-security -c -o lib/src/tree.o lib/src/tree.c gcc -Os -Wformat -Werror=format-security -std=gnu99 -fPIC -Ilib/src -Ilib/include -Os -Wformat -Werror=format-security -c -o lib/src/tree_cursor.o lib/src/tree_cursor.c ar rcs libtree-sitter.a lib/src/alloc.o lib/src/get_changed_ranges.o lib/src/language.o lib/src/lexer.o lib/src/node.o lib/src/parser.o lib/src/query.o lib/src/stack.o lib/src/subtree.o lib/src/tree.o lib/src/tree_cursor.o gcc -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -shared -Wl,-soname,libtree-sitter.so.0 lib/src/alloc.o lib/src/get_changed_ranges.o lib/src/language.o lib/src/lexer.o lib/src/node.o lib/src/parser.o lib/src/query.o lib/src/stack.o lib/src/subtree.o lib/src/tree.o lib/src/tree_cursor.o -o libtree-sitter.so.0.0 ln -sf libtree-sitter.so.0.0 libtree-sitter.so ln -sf libtree-sitter.so.0.0 libtree-sitter.so.0 Compiling proc-macro2 v1.0.56 Compiling quote v1.0.26 Compiling unicode-ident v1.0.8 Compiling libc v0.2.141 Compiling memchr v2.5.0 Compiling cc v1.0.79 Compiling autocfg v1.1.0 Compiling serde_derive v1.0.159 Compiling serde v1.0.159 Compiling regex-syntax v0.6.29 Compiling thiserror v1.0.40 Compiling cfg-if v1.0.0 Compiling tinyvec_macros v0.1.1 Compiling hashbrown v0.12.3 Compiling serde_json v1.0.95 Compiling anyhow v1.0.70 Compiling log v0.4.17 Compiling itoa v1.0.6 Compiling percent-encoding v2.2.0 Compiling unicode-bidi v0.3.13 Compiling ryu v1.0.13 Compiling semver v1.0.17 Compiling unicode-width v0.1.10 Compiling tree-sitter-loader v0.20.0 (/home/buildozer/aports/community/tree-sitter/src/tree-sitter-0.20.8/cli/loader) Compiling httpdate v1.0.2 Compiling chunked_transfer v1.4.1 Compiling either v1.8.1 Compiling utf8-width v0.1.6 Compiling once_cell v1.17.1 Compiling same-file v1.0.6 Compiling tinyvec v1.6.0 Compiling libloading v0.7.4 Compiling ansi_term v0.12.1 Compiling vec_map v0.8.2 Compiling textwrap v0.11.0 Compiling ascii v1.1.0 Compiling bitflags v1.3.2 Compiling strsim v0.8.0 Compiling form_urlencoded v1.1.0 Compiling walkdir v2.3.3 Compiling html-escape v0.2.13 Compiling difference v2.0.0 Compiling glob v0.3.1 Compiling lazy_static v1.4.0 Compiling smallbitvec v2.5.1 Compiling rustc-hash v1.1.0 Compiling indexmap v1.9.3 Compiling tiny_http v0.12.0 Compiling aho-corasick v0.7.20 Compiling syn v2.0.13 Compiling dirs-sys v0.3.7 Compiling atty v0.2.14 Compiling which v4.4.0 Compiling unicode-normalization v0.1.22 Compiling clap v2.34.0 Compiling tree-sitter v0.20.10 (/home/buildozer/aports/community/tree-sitter/src/tree-sitter-0.20.8/lib) Compiling dirs v3.0.2 Compiling dirs v4.0.0 Compiling idna v0.3.0 Compiling regex v1.7.3 Compiling url v2.3.1 Compiling webbrowser v0.8.8 Compiling thiserror-impl v1.0.40 Compiling toml v0.5.11 Compiling tree-sitter-cli v0.20.8 (/home/buildozer/aports/community/tree-sitter/src/tree-sitter-0.20.8/cli) Compiling tree-sitter-highlight v0.20.1 (/home/buildozer/aports/community/tree-sitter/src/tree-sitter-0.20.8/highlight) Compiling tree-sitter-tags v0.20.2 (/home/buildozer/aports/community/tree-sitter/src/tree-sitter-0.20.8/tags) Compiling tree-sitter-config v0.19.0 (/home/buildozer/aports/community/tree-sitter/src/tree-sitter-0.20.8/cli/config) Finished release [optimized] target(s) in 3m 29s Compiling libc v0.2.141 Compiling proc-macro2 v1.0.56 Compiling quote v1.0.26 Compiling cfg-if v1.0.0 Compiling unicode-ident v1.0.8 Compiling memchr v2.5.0 Compiling cc v1.0.79 Compiling serde_derive v1.0.159 Compiling autocfg v1.1.0 Compiling serde v1.0.159 Compiling thiserror v1.0.40 Compiling regex-syntax v0.6.29 Compiling tinyvec_macros v0.1.1 Compiling anyhow v1.0.70 Compiling serde_json v1.0.95 Compiling ppv-lite86 v0.2.17 Compiling log v0.4.17 Compiling hashbrown v0.12.3 Compiling percent-encoding v2.2.0 Compiling ryu v1.0.13 Compiling unicode-bidi v0.3.13 Compiling io-lifetimes v1.0.9 Compiling bitflags v1.3.2 Compiling syn v1.0.109 Compiling itoa v1.0.6 Compiling rustix v0.37.7 Compiling unicode-width v0.1.10 Compiling semver v1.0.17 Compiling tree-sitter-loader v0.20.0 (/home/buildozer/aports/community/tree-sitter/src/tree-sitter-0.20.8/cli/loader) Compiling ansi_term v0.12.1 Compiling libloading v0.7.4 Compiling tinyvec v1.6.0 Compiling utf8-width v0.1.6 Compiling httpdate v1.0.2 Compiling textwrap v0.11.0 Compiling once_cell v1.17.1 Compiling form_urlencoded v1.1.0 Compiling ascii v1.1.0 Compiling strsim v0.8.0 Compiling vec_map v0.8.2 Compiling linux-raw-sys v0.3.1 Compiling same-file v1.0.6 Compiling either v1.8.1 Compiling chunked_transfer v1.4.1 Compiling html-escape v0.2.13 Compiling walkdir v2.3.3 Compiling rustc-hash v1.1.0 Compiling diff v0.1.13 Compiling fastrand v1.9.0 Compiling difference v2.0.0 Compiling lazy_static v1.4.0 Compiling glob v0.3.1 Compiling smallbitvec v2.5.1 Compiling unindent v0.2.1 Compiling indexmap v1.9.3 Compiling pretty_assertions v0.7.2 Compiling aho-corasick v0.7.20 Compiling tiny_http v0.12.0 Compiling syn v2.0.13 Compiling unicode-normalization v0.1.22 Compiling getrandom v0.2.8 Compiling rand_core v0.6.4 Compiling tree-sitter v0.20.10 (/home/buildozer/aports/community/tree-sitter/src/tree-sitter-0.20.8/lib) Compiling rand_chacha v0.3.1 Compiling idna v0.3.0 Compiling rand v0.8.5 Compiling dirs-sys v0.3.7 Compiling atty v0.2.14 Compiling which v4.4.0 Compiling clap v2.34.0 Compiling dirs v3.0.2 Compiling dirs v4.0.0 Compiling url v2.3.1 Compiling regex v1.7.3 Compiling webbrowser v0.8.8 Compiling thiserror-impl v1.0.40 Compiling toml v0.5.11 Compiling tempfile v3.5.0 Compiling ctor v0.1.26 Compiling proc_macro v0.1.0 (/home/buildozer/aports/community/tree-sitter/src/tree-sitter-0.20.8/cli/src/tests/proc_macro) Compiling tree-sitter-cli v0.20.8 (/home/buildozer/aports/community/tree-sitter/src/tree-sitter-0.20.8/cli) Compiling tree-sitter-tags v0.20.2 (/home/buildozer/aports/community/tree-sitter/src/tree-sitter-0.20.8/tags) Compiling tree-sitter-highlight v0.20.1 (/home/buildozer/aports/community/tree-sitter/src/tree-sitter-0.20.8/highlight) Compiling tree-sitter-config v0.19.0 (/home/buildozer/aports/community/tree-sitter/src/tree-sitter-0.20.8/cli/config) Finished test [unoptimized + debuginfo] target(s) in 1m 10s Running unittests src/lib.rs (target/debug/deps/tree_sitter_cli-5a39e1129b97eca0) running 13 tests embedded-template example - corpus - main - Directives embedded-template example - corpus - main - Escaped directive start strings embedded-template example - corpus - main - Comment directives json example - corpus - main - Arrays embedded-template example - corpus - main - Underscores in code embedded-template example - corpus - main - Empty directive embedded-template example - corpus - main - Empty comment json example - corpus - main - String content embedded-template example - corpus - main - Empty directives json example - corpus - main - Top-level numbers json example - corpus - main - Top-level null json example - corpus - main - Comments test tests::corpus_test::test_corpus_for_embedded_template ... ok json example - json_errors - top-level errors json example - json_errors - unexpected tokens json example - json_errors - errors inside arrays json example - json_errors - errors inside objects json example - json_errors - errors inside nested objects json example - json_errors - incomplete tokens at EOF test tests::corpus_test::test_corpus_for_json ... ok javascript example - corpus - literals - Numbers javascript example - corpus - literals - Unicode identifiers javascript example - corpus - literals - Strings containing comment-like content javascript example - corpus - literals - Quote escaping javascript example - corpus - literals - Line continuations javascript example - corpus - literals - Non-standard unescaped newlines legal in TSX attributes javascript example - corpus - literals - JSX strings with unescaped newlines for TSX attributes javascript example - corpus - expressions - Strings javascript example - corpus - expressions - Template strings javascript example - corpus - expressions - Function calls with template strings javascript example - corpus - expressions - Numbers javascript example - corpus - expressions - Variables javascript example - corpus - expressions - Multi-line variable declarations javascript example - corpus - expressions - Booleans javascript example - corpus - expressions - Regexps javascript example - corpus - expressions - Comments take precedence over regexes javascript example - corpus - expressions - Objects javascript example - corpus - expressions - Objects with shorthand properties javascript example - corpus - expressions - Objects with method definitions javascript example - corpus - expressions - Objects with reserved words for keys javascript example - corpus - expressions - Classes javascript example - corpus - expressions - Classes with reserved words as methods javascript example - corpus - expressions - Class Property Fields javascript example - corpus - expressions - Class Decorators javascript example - corpus - expressions - Arrays javascript example - corpus - expressions - Functions javascript example - corpus - expressions - Arrow functions javascript example - corpus - expressions - Generator Functions javascript example - corpus - expressions - Function parameters with default values javascript example - corpus - expressions - Property access javascript example - corpus - expressions - Chained Property access javascript example - corpus - expressions - Chained callbacks javascript example - corpus - expressions - Function calls javascript example - corpus - expressions - Optional chaining property access javascript example - corpus - expressions - Optional chaining array access html example - corpus - main - Tags javascript example - corpus - expressions - Optional function calls html example - corpus - main - Tags with attributes html example - corpus - main - Nested tags javascript example - corpus - expressions - Constructor calls html example - corpus - main - Void tags javascript example - corpus - expressions - Await Expressions javascript example - corpus - expressions - Async Functions and Methods html example - corpus - main - Void tags at EOF html example - corpus - main - Custom tags bash example - corpus - literals - Literal words html example - corpus - main - Comments bash example - corpus - literals - Words with special characters javascript example - corpus - expressions - Math operators c example - corpus - expressions - Number literals html example - corpus - main - Raw text elements bash example - corpus - literals - Simple variable expansions bash example - corpus - literals - Special variable expansions html example - corpus - main - All-caps doctype javascript example - corpus - expressions - Boolean operators c example - corpus - expressions - Identifiers html example - corpus - main - Lowercase doctype bash example - corpus - literals - Variable expansions html example - corpus - main - LI elements without close tags javascript example - corpus - expressions - The null-coalescing operator c example - corpus - expressions - Common constants html example - corpus - main - DT and DL elements without close tags javascript example - corpus - expressions - Bitwise operators bash example - corpus - literals - Variable expansions with operators html example - corpus - main - P elements without close tags c example - corpus - expressions - Function calls javascript example - corpus - expressions - Relational operators bash example - corpus - literals - Variable expansions in strings html example - corpus - main - Ruby annotation elements without close tags c example - corpus - expressions - String literals html example - corpus - main - COLGROUP elements without end tags bash example - corpus - literals - Variable expansions with regexes javascript example - corpus - expressions - Assignments bash example - corpus - literals - Other variable expansion operators c example - corpus - expressions - Character literals html example - corpus - main - TR, TD, and TH elements without end tags bash example - corpus - literals - Words ending with '$' javascript example - corpus - expressions - The comma operator html example - corpus - main - Named entities in tag contents bash example - corpus - literals - Command substitutions c example - corpus - expressions - Field access html example - corpus - main - Numeric entities in tag contents javascript example - corpus - expressions - Ternaries c example - corpus - expressions - Boolean operators html example - corpus - main - Multiple entities in tag contents bash example - corpus - literals - Process substitutions test tests::corpus_test::test_corpus_for_html ... ok c example - corpus - expressions - Math operators javascript example - corpus - expressions - Type operators go example - corpus - literals - Int literals bash example - corpus - literals - Single quoted strings javascript example - corpus - expressions - The delete operator bash example - corpus - literals - Double quoted strings c example - corpus - expressions - The comma operator javascript example - corpus - expressions - The void operator bash example - corpus - literals - Strings containing command substitutions javascript example - corpus - expressions - Augmented assignments go example - corpus - literals - Float literals c example - corpus - expressions - Assignments bash example - corpus - literals - Strings containing escape sequence bash example - corpus - literals - Strings containing special characters javascript example - corpus - expressions - Operator precedence bash example - corpus - literals - Strings with ANSI-C quoting go example - corpus - literals - Rune literals c example - corpus - expressions - Pointer operations bash example - corpus - literals - Arrays and array expansions javascript example - corpus - expressions - Simple JSX elements c example - corpus - expressions - Type-casts go example - corpus - literals - Imaginary literals bash example - corpus - literals - Escaped characters in strings c example - corpus - expressions - Sizeof expressions bash example - corpus - literals - Words containing bare '#' javascript example - corpus - expressions - Anonymous JSX element javascript example - corpus - expressions - Expressions within JSX elements bash example - corpus - statements - Pipelines go example - corpus - literals - String literals c example - corpus - expressions - Compound literals bash example - corpus - statements - Lists javascript example - corpus - expressions - Expressions with rest elements javascript example - corpus - expressions - Forward slashes after parenthesized expressions go example - corpus - literals - Slice literals bash example - corpus - statements - While statements javascript example - corpus - expressions - Non-breaking spaces as whitespace bash example - corpus - statements - Until statements javascript example - corpus - expressions - Yield expressions c example - corpus - expressions - Compound literals with trailing commas go example - corpus - literals - Array literals with implicit length bash example - corpus - statements - While statements with IO redirects javascript example - corpus - expressions - JSX c example - corpus - expressions - Comments with escaped newlines go example - corpus - literals - Map literals bash example - corpus - statements - For statements c example - corpus - expressions - Comments with escaped chars and newlines c example - corpus - statements - If statements go example - corpus - literals - Struct literals bash example - corpus - statements - Select statements javascript example - corpus - semicolon_insertion - Automatic semicolon insertion c example - corpus - statements - For loops javascript example - corpus - semicolon_insertion - Semicolon insertion before update expressions bash example - corpus - statements - C-style for statements javascript example - corpus - semicolon_insertion - property access across lines go example - corpus - literals - Function literals javascript example - corpus - semicolon_insertion - indented code after blocks bash example - corpus - statements - If statements javascript example - corpus - semicolon_insertion - operator expressions split across lines go example - corpus - expressions - Call expressions c example - corpus - statements - While loops javascript example - corpus - semicolon_insertion - Alphabetical infix operators split across lines bash example - corpus - statements - If statements with conditional expressions c example - corpus - statements - Labeled statements javascript example - corpus - semicolon_insertion - Single-line if/else statements go example - corpus - expressions - Nested call expressions javascript example - corpus - semicolon_insertion - single-line blocks without semicolons bash example - corpus - statements - Case statements go example - corpus - expressions - Generic call expressions javascript example - corpus - semicolon_insertion - Multi-line chained expressions in var declarations c example - corpus - statements - Switch statements javascript example - corpus - semicolon_insertion - if/for/while/do statements without semicolons go example - corpus - expressions - Calls to 'make' and 'new' bash example - corpus - statements - Test commands javascript example - corpus - semicolon_insertion - Single-line declarations without semicolons go example - corpus - expressions - Selector expressions c example - corpus - statements - Case statements separate from switch statements go example - corpus - expressions - Indexing expressions javascript example - corpus - semicolon_insertion - Comments after statements without semicolons bash example - corpus - statements - Test commands with ternary test language: "unicode_classes" example: "corpus - Uppercase words" example: "corpus - Lowercase words" example: "corpus - Math symbols" example: "corpus - Letterlike numeric characters" javascript example - corpus - statements - Imports bash example - corpus - statements - Test commands with regexes go example - corpus - expressions - Type assertion expressions c example - corpus - statements - Return statements go example - corpus - expressions - Type conversion expressions c example - corpus - statements - Comments with asterisks javascript example - corpus - statements - Exports go example - corpus - expressions - Unary expressions bash example - corpus - statements - Subshells go example - corpus - source_files - Package clauses c example - corpus - statements - Attributes bash example - corpus - statements - Function definitions go example - corpus - source_files - Single import declarations javascript example - corpus - statements - Decorators before exports go example - corpus - source_files - Grouped import declarations javascript example - corpus - statements - If statements go example - corpus - source_files - Block comments javascript example - corpus - statements - If-else statements bash example - corpus - statements - Variable declaration: declare & typeset go example - corpus - source_files - Comments with asterisks test language: "unused_rules" example: "corpus - the language" bash example - corpus - statements - Variable declaration: readonly go example - corpus - source_files - Non-ascii variable names javascript example - corpus - statements - For statements bash example - corpus - statements - Variable declaration: local go example - corpus - statements - Declaration statements c example - corpus - preprocessor - Include directives bash example - corpus - statements - Variable declaration: export go example - corpus - statements - Expression statements javascript example - corpus - statements - For-in statements c example - corpus - preprocessor - Object-like macro definitions go example - corpus - statements - Send statements bash example - corpus - statements - Variable declaration: command substitution with semi-colon go example - corpus - statements - Increment/Decrement statements javascript example - corpus - statements - For loops beginning with an in-expression bash example - corpus - statements - Expressions passed to declaration commands go example - corpus - statements - Assignment statements c example - corpus - preprocessor - Function-like macro definitions javascript example - corpus - statements - For-of statements bash example - corpus - statements - Unset commands c example - corpus - preprocessor - Ifdefs go example - corpus - statements - Short var declarations javascript example - corpus - statements - For-await-of statements bash example - corpus - statements - Compound statements go example - corpus - statements - If statements javascript example - corpus - statements - While statements javascript example - corpus - statements - Do statements c example - corpus - preprocessor - General if blocks javascript example - corpus - statements - Return statements bash example - corpus - crlf - Variables with CRLF line endings go example - corpus - statements - For statements javascript example - corpus - statements - Variable declarations bash example - corpus - commands - Commands bash example - corpus - commands - Commands with arguments javascript example - corpus - statements - Comments c example - corpus - preprocessor - Preprocessor conditionals in functions javascript example - corpus - statements - Comments between statements bash example - corpus - commands - Quoted command names go example - corpus - statements - Switch statements bash example - corpus - commands - Commands with numeric arguments javascript example - corpus - statements - Comments with asterisks bash example - corpus - commands - Commands with environment variables c example - corpus - preprocessor - Preprocessor conditionals in struct/union bodies go example - corpus - statements - Type switch statements bash example - corpus - commands - Empty environment variables javascript example - corpus - statements - Comments within expressions c example - corpus - preprocessor - Unknown preprocessor directives bash example - corpus - commands - File redirects javascript example - corpus - statements - Switch statements c example - corpus - preprocessor - Preprocessor expressions bash example - corpus - commands - File redirects (noclobber override) go example - corpus - statements - Select statements c example - corpus - ambiguities - pointer declarations vs multiplications javascript example - corpus - statements - Throw statements bash example - corpus - commands - Heredoc redirects javascript example - corpus - statements - Throw statements with sequence expressions bash example - corpus - commands - Heredocs with variables go example - corpus - statements - Go and defer statements javascript example - corpus - statements - Try catch finally statements bash example - corpus - commands - Heredocs with file redirects go example - corpus - statements - Nested statement blocks c example - corpus - ambiguities - casts vs multiplications test language: "inverted_external_token" example: "corpus - Expressions on one line" example: "corpus - Line breaks followed by whitespace" javascript example - corpus - statements - Empty statements bash example - corpus - commands - Heredocs with pipes go example - corpus - statements - Labels at the ends of statement blocks javascript example - corpus - statements - Labeled statements go example - corpus - statements - Empty statements bash example - corpus - commands - Heredocs with escaped expansions c example - corpus - ambiguities - function-like type macros vs function calls go example - corpus - statements - Nested control statements bash example - corpus - commands - Quoted Heredocs javascript example - corpus - statements - Debugger statements c example - corpus - ambiguities - function calls vs parenthesized declarators vs macro types javascript example - corpus - statements - With statements go example - corpus - statements - Top-level statements javascript example - corpus - statements - Hash bang lines bash example - corpus - commands - Heredocs with indented closing delimiters javascript example - corpus - destructuring - Object destructuring assignments go example - corpus - declarations - Single const declarations without types bash example - corpus - commands - Heredocs with empty bodies c example - corpus - ambiguities - Call expressions vs empty declarations w/ macros as types javascript example - corpus - destructuring - Object destructuring parameters go example - corpus - declarations - Single const declarations with types javascript example - corpus - destructuring - Array destructuring assignments go example - corpus - declarations - Grouped const declarations bash example - corpus - commands - Heredocs with weird characters go example - corpus - declarations - Const declarations with implicit values c example - corpus - ambiguities - Comments after for loops with ambiguities javascript example - corpus - destructuring - Object destructuring patterns w/ default values go example - corpus - declarations - Var declarations without types bash example - corpus - commands - Herestrings javascript example - javascript_errors - Missing default values for function parameters go example - corpus - declarations - Var declarations with types c example - corpus - ambiguities - Top-level macro invocations javascript example - javascript_errors - Missing object-literal values go example - corpus - declarations - Var declarations with no expressions bash example - corpus - programs - Comments bash example - corpus - programs - Escaped newlines go example - corpus - declarations - Grouped var declarations javascript example - javascript_errors - Extra identifiers in expressions c example - corpus - declarations - Struct declarations go example - corpus - declarations - Function declarations bash example - corpus - programs - escaped newline immediately after a char javascript example - javascript_errors - Extra complex literals in expressions c example - corpus - declarations - Union declarations bash example - corpus - programs - Escaped whitespace c example - corpus - declarations - Enum declarations bash example - corpus - programs - Files without trailing terminators javascript example - javascript_errors - Extra tokens at the end of the file test tests::corpus_test::test_corpus_for_bash ... ok javascript example - javascript_errors - Errors after a sequence of function declarations c example - corpus - declarations - Struct declarations containing preprocessor directives go example - corpus - declarations - Single-line function declarations c example - corpus - declarations - Primitive-typed variable declarations go example - corpus - declarations - Variadic function declarations test language: "inlined_aliased_rules" example: "corpus - Method calls" test language: "partially_resolved_conflict" javascript example - javascript_errors - Errors inside of a template string substitution go example - corpus - declarations - Method declarations c example - corpus - declarations - Variable storage classes javascript example - javascript_errors - Long sequences of invalid tokens go example - corpus - declarations - Type declarations go example - corpus - types - Qualified type names c example - corpus - declarations - Composite-typed variable declarations go example - corpus - types - Array types go example - corpus - types - Slice types c example - corpus - declarations - Pointer variable declarations go example - corpus - types - Struct types test tests::corpus_test::test_corpus_for_javascript ... ok c example - corpus - declarations - Typedefs go example - corpus - types - Interface types test language: "precedence_on_single_child_negative" example: "corpus - function calls with blocks" c example - corpus - declarations - Function declarations go example - corpus - types - Interface embedded struct types c example - corpus - declarations - Function definitions go example - corpus - types - Map types c example - corpus - declarations - Function specifiers after types go example - corpus - types - Pointer types go example - corpus - types - Channel types c example - corpus - declarations - Linkage specifications go example - corpus - types - Function types c example - corpus - declarations - Type qualifiers go example - corpus - types - Type Aliases test tests::corpus_test::test_corpus_for_go ... ok c example - corpus - declarations - Local array declarations c example - corpus - declarations - Attributes test language: "aliased_rules" example: "corpus - Method calls" test language: "start_rule_is_blank" example: "corpus - the empty string" c example - corpus - microsoft - declaration specs c example - corpus - microsoft - pointers c example - corpus - microsoft - call modifiers c example - corpus - types - Primitive types c example - corpus - types - Type modifiers test language: "aliased_unit_reductions" example: "corpus - Aliases on rules that are unit reductions" c example - corpus - crlf - Line comments with escaped CRLF line endings c example - c_errors - Statements with missing semicolons c example - c_errors - Top-level declarations with missing semicolons c example - c_errors - Partial declaration lists inside ifdefs c example - c_errors - If statements with incomplete expressions c example - c_errors - Invalid characters in declarations c example - c_errors - Extra values in parenthesized expressions c example - c_errors - Extra identifiers in declarations c example - c_errors - Declarations with missing variable names test tests::corpus_test::test_corpus_for_c ... ok test language: "inline_rules" example: "corpus - Expressions" php example - corpus - class - Abstract class php example - corpus - class - Anonymous classes php example - corpus - class - Conditional class definition php example - corpus - class - Class constant modifiers php example - corpus - class - Final class php example - corpus - class - Implicitly public properties and methods test language: "aliased_token_rules" example: "corpus - Aliased token rules" php example - corpus - class - Property Types php example - corpus - class - Constructor Property Promotion php example - corpus - class - Readonly properties test language: "anonymous_tokens_with_escaped_chars" example: "corpus - anonymous tokens defined with character classes" example: "corpus - anonymous tokens defined with LF escape sequence" example: "corpus - anonymous tokens defined with CR escape sequence" example: "corpus - anonymous tokens with quotes" python example - corpus - literals - Integers php example - corpus - class - Constructor property promotion with readonly modifier python example - corpus - literals - Floats php example - corpus - class - Readonly class test language: "conflicting_precedence" python example - corpus - literals - Scientific Notation Floats php example - corpus - class - Constants in trait php example - corpus - execution_operator - Quotes in backticks python example - corpus - literals - Strings php example - corpus - execution_operator - Escape sequences in backticks php example - corpus - execution_operator - Variable interpolation in backticks php example - corpus - execution_operator - Member access expression in backticks python example - corpus - literals - Raw strings test language: "conflict_in_repeat_rule_after_external_token" test language: "precedence_on_single_child_missing" Unexpected scope change in seed 1752647763 with start seed 1752647758 Position: (2, 3) Byte offset: 18 Line: Dr"\n" ^ Old scopes: Some(["module", "expression_statement", "string", "string_content"]) New scopes: Some(["module", "expression_statement", "string", "string_content", "escape_sequence"]) Invalidated ranges: [Range { start_byte: 1, end_byte: 17, start_point: Point { row: 1, column: 0 }, end_point: Point { row: 2, column: 2 } }, Range { start_byte: 48, end_byte: 54, start_point: Point { row: 6, column: 0 }, end_point: Point { row: 7, column: 4 } }, Range { start_byte: 55, end_byte: 59, start_point: Point { row: 7, column: 5 }, end_point: Point { row: 7, column: 9 } }] php example - corpus - execution_operator - Array subscript expression in backticks python example - corpus - literals - Raw strings with escaped quotes php example - corpus - execution_operator - Complex interpolation in backticks python example - corpus - literals - Format strings php example - corpus - execution_operator - Nesting of expression in backticks php example - corpus - execution_operator - Nested escaped backticks php example - corpus - execution_operator - Comment in backticks php example - corpus - literals - Booleans test language: "nested_inlined_rules" example: "corpus - Statements" python example - corpus - literals - Format strings with format specifiers php example - corpus - literals - Floats php example - corpus - literals - Integers python example - corpus - literals - Unicode escape sequences python example - corpus - literals - Other primitives php example - corpus - literals - Testing string scanner confirmance python example - corpus - literals - Concatenated strings php example - corpus - literals - Shell command python example - corpus - literals - Multi-line strings php example - corpus - bugs - #131: Parse error when using self as constant test language: "precedence_on_subsequence" example: "corpus - curly brace blocks with high precedence" example: "corpus - do blocks with low precedence" php example - corpus - bugs - #133: Incorrect precedence for error supression operator python example - corpus - literals - Lists php example - corpus - expressions - Dynamic variable names php example - corpus - expressions - Exponentiation php example - corpus - expressions - Reserved Identifiers as Names python example - corpus - literals - List comprehensions php example - corpus - expressions - Unary op with assignment expressions php example - corpus - expressions - Capitalized logical operators python example - corpus - literals - Dictionaries php example - corpus - expressions - Cast expressions in assignments php example - corpus - expressions - Cast include python example - corpus - literals - Dictionary comprehensions php example - corpus - expressions - Reserved words as function calls python example - corpus - literals - Sets test language: "aliased_inlined_rules" example: "corpus - OK" php example - corpus - expressions - Scoped self call expressions python example - corpus - literals - Set comprehensions php example - corpus - expressions - Symmetric array destructuring python example - corpus - literals - Simple Tuples python example - corpus - literals - Generator expression php example - corpus - expressions - Precedence of assignment, `or`, `xor`, and `and` test language: "readme_grammar" example: "corpus - the readme example" python example - corpus - expressions - Identifiers with Greek letters python example - corpus - expressions - Subscript expressions php example - corpus - expressions - Associativity of conditional python example - corpus - expressions - Subscript slice expressions php example - corpus - expressions - Associativity of null-coalescence python example - corpus - expressions - Attribute references php example - corpus - expressions - Associativity of negation python example - corpus - expressions - Await expressions php example - corpus - expressions - Augmented assignment python example - corpus - expressions - Call expressions python example - corpus - expressions - Print used as an identifier php example - corpus - expressions - Nested assignemnts php example - corpus - expressions - All binary op precedence levels python example - corpus - expressions - Print used as a parameter python example - corpus - expressions - Exec used as an identifier test language: "immediate_tokens" example: "corpus - prefix expressions as arguments" example: "corpus - infix expressions" php example - corpus - expressions - Concatenation precedence python example - corpus - expressions - Async / await used as identifiers php example - corpus - expressions - Arrays python example - corpus - expressions - Calls with splats rust example - corpus - literals - Integer literals python example - corpus - expressions - Math operators php example - corpus - expressions - Anonymous functions rust example - corpus - literals - Floating-point literals python example - corpus - expressions - Binary Addition / Subtraction With Floats rust example - corpus - literals - String literals python example - corpus - expressions - Power Operator Precedence php example - corpus - expressions - Throw expressions rust example - corpus - literals - Raw string literals python example - corpus - expressions - Operator precedence python example - corpus - expressions - Bitwise operators python example - corpus - expressions - Boolean operators rust example - corpus - literals - Raw byte string literals python example - corpus - expressions - Comparison operators rust example - corpus - literals - Character literals python example - corpus - expressions - Assignments rust example - corpus - literals - Boolean literals rust example - corpus - expressions - Identifiers python example - corpus - expressions - Assignments with type annotations rust example - corpus - expressions - Raw identifiers python example - corpus - expressions - Augmented assignments php example - corpus - expressions - Nullsafe operator python example - corpus - expressions - Named expressions rust example - corpus - expressions - Unary operator expressions test language: "external_and_internal_tokens" example: "corpus - single-line statements - internal tokens" example: "corpus - multi-line statements - internal tokens" example: "corpus - single-line statements - external tokens" example: "corpus - multi-line statements - external tokens" rust example - corpus - expressions - Reference expressions php example - corpus - expressions - First class callable syntax rust example - corpus - expressions - Try expressions python example - corpus - expressions - Yield expressions cpp example - corpus - expressions - Scoped function calls rust example - corpus - expressions - Binary operator expressions python example - corpus - expressions - lambdas cpp example - corpus - expressions - Compound literals without parentheses php example - corpus - expressions - Match expressions python example - corpus - expressions - Tuples with splats rust example - corpus - expressions - Grouped expressions python example - corpus - expressions - Tuples with yield cpp example - corpus - expressions - Explicit destructor calls python example - corpus - expressions - Conditional if expressions rust example - corpus - expressions - Range expressions php example - corpus - expressions - Arrow functions cpp example - corpus - expressions - New and Delete expressions python example - corpus - expressions - Async context managers and iterators python example - corpus - expressions - Arbitrary indentation between brackets rust example - corpus - expressions - Assignment expressions python example - corpus - statements - Import statements rust example - corpus - expressions - Compound assignment expressions python example - corpus - statements - Import-from statements php example - corpus - expressions - Functions with named arguments rust example - corpus - expressions - Type cast expressions cpp example - corpus - expressions - Initializer lists as arguments python example - corpus - statements - Future import statements php example - corpus - expressions - Precedence between concatenation and shift rust example - corpus - expressions - Call expressions python example - corpus - statements - Print statements cpp example - corpus - expressions - Lambda expressions php example - corpus - expressions - References python example - corpus - statements - Print statements with redirection rust example - corpus - expressions - Array expressions python example - corpus - statements - Assert statements python example - corpus - statements - Expression statements rust example - corpus - expressions - Tuple expressions python example - corpus - statements - Delete statements test language: "external_unicode_column_alignment" example: "corpus - Single list, no boxes" example: "corpus - Two lists, no boxes" example: "corpus - List with boxes" example: "corpus - Multiple lists with boxes" python example - corpus - statements - Control-flow statements rust example - corpus - expressions - Struct expressions python example - corpus - statements - Return statements cpp example - corpus - expressions - Nested template calls python example - corpus - statements - If statements python example - corpus - statements - If else statements rust example - corpus - expressions - Struct expressions with update initializers python example - corpus - statements - Nested if statements python example - corpus - statements - While statements rust example - corpus - expressions - If expressions python example - corpus - statements - For statements python example - corpus - statements - Try statements php example - corpus - expressions - Empty match expressions rust example - corpus - expressions - Basic if let expressions php example - corpus - statements - If statements python example - corpus - statements - With statements rust example - corpus - expressions - If let expressions python example - corpus - statements - Async Function definitions cpp example - corpus - expressions - Comma expressions at the start of blocks php example - corpus - statements - Alternative if statements rust example - corpus - expressions - While let expressions rust example - corpus - expressions - Match expressions cpp example - corpus - expressions - Nullptr python example - corpus - statements - Function definitions php example - corpus - statements - Wordpress colon blocks cpp example - corpus - expressions - Raw string literals python example - corpus - statements - Empty blocks php example - corpus - statements - While statements test language: "epsilon_external_tokens" example: "corpus - A leading zero-width token" python example - corpus - statements - Class definitions php example - corpus - statements - Alternative while statements rust example - corpus - expressions - While expressions python example - corpus - statements - Class definitions with superclasses cpp example - corpus - expressions - Template calls rust example - corpus - expressions - Loop expressions php example - corpus - statements - For statements python example - corpus - statements - Decorated definitions rust example - corpus - expressions - For expressions python example - corpus - statements - Raise statements php example - corpus - statements - Switch statements python example - corpus - statements - Comments python example - corpus - statements - Comments at different indentation levels cpp example - corpus - expressions - Parameter pack expansions python example - corpus - statements - Comments after dedents test language: "named_rule_aliased_as_anonymous" example: "corpus - Named rules that are aliased as anonymous tokens" rust example - corpus - expressions - Field expressions python example - corpus - statements - Comments at the ends of indented blocks php example - corpus - statements - Alternative switch statements python example - corpus - statements - Newline tokens followed by comments python example - corpus - statements - Global statements rust example - corpus - expressions - Method call expressions python example - corpus - statements - Exec statements php example - corpus - statements - Include statement rust example - corpus - expressions - Index expressions python example - corpus - statements - Extra newlines php example - corpus - statements - Do-while statements python example - corpus - statements - Escaped newline rust example - corpus - expressions - Scoped functions php example - corpus - statements - Try statements python example - corpus - statements - Statements with semicolons python example - corpus - errors - An error before a string literal rust example - corpus - expressions - Scoped functions with fully qualified syntax python example - corpus - pattern_matching - Matching specific values rust example - corpus - expressions - Scoped functions with macros as types rust example - corpus - expressions - Generic functions php example - corpus - statements - Foreach statements python example - corpus - pattern_matching - Matching multiple values rust example - corpus - expressions - Closures python example - corpus - pattern_matching - Adding a wild card php example - corpus - statements - Case insensitive keywords rust example - corpus - expressions - Closures with typed parameteres cpp example - corpus - expressions - Concatenated string literals python example - corpus - pattern_matching - Or patterns rust example - corpus - expressions - Generators php example - corpus - statements - Accessing Constants cpp example - corpus - expressions - User-defined literals rust example - corpus - expressions - Unsafe blocks php example - corpus - interpolation - no interpolated text python example - corpus - pattern_matching - As patterns cpp example - corpus - expressions - Primitive types ctor php example - corpus - interpolation - interpolated text at beginning rust example - corpus - expressions - Inline const or Const blocks as expression python example - corpus - pattern_matching - Actually not match php example - corpus - interpolation - interpolated text at end cpp example - corpus - expressions - Array assignment expression php example - corpus - interpolation - interpolated text in middle python example - corpus - pattern_matching - Match is match but not pattern matching rust example - corpus - source_files - Block comments cpp example - corpus - expressions - Coroutines test language: "extra_non_terminals" example: "corpus - No extras" example: "corpus - Extras" python example - corpus - pattern_matching - Match kwargs php example - corpus - interpolation - short open tag: On rust example - corpus - source_files - Nested block comments python example - corpus - pattern_matching - Match kwargs 2 cpp example - corpus - expressions - Three-way comparison php example - corpus - interpolation - short open tag: Off python example - corpus - pattern_matching - Case used as identifier rust example - corpus - source_files - Line comments rust example - corpus - source_files - Greek letters in identifiers cpp example - corpus - expressions - Fold Expressions python example - corpus - pattern_matching - If guards rust example - corpus - async - Async function python example - corpus - pattern_matching - Comma separated cases php example - corpus - interpolation - Single line php comment rust example - corpus - async - Await expression python example - corpus - pattern_matching - case terminating in comma php example - corpus - interpolation - Singel line comment without any content cpp example - corpus - expressions - Alternative tokens (digraphs) python example - corpus - pattern_matching - Multiple match patterns php example - corpus - interpolation - Closing tags before the first PHP tag python example - corpus - pattern_matching - Match match, case case rust example - corpus - async - Async Block php example - corpus - declarations - Interface declarations python example - corpus - pattern_matching - Walrus match (Issue #150) cpp example - corpus - statements - Returning braced initializer lists rust example - corpus - declarations - Modules python example - python_errors - incomplete condition in if statement cpp example - corpus - statements - Range-based for loops python example - python_errors - extra colon in function definition php example - corpus - declarations - Use declarations rust example - corpus - declarations - Extern crate declarations python example - python_errors - stray if keyword in function definition python example - python_errors - incomplete if statement in function definition rust example - corpus - declarations - Function declarations python example - python_errors - incomplete expression before triple-quoted string python example - python_errors - incomplete definition in class definition thread 'tests::corpus_test::test_corpus_for_python' panicked at '1 python corpus tests failed', cli/src/tests/corpus_test.rs:234:9 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace php example - corpus - declarations - Namespace names in namespaces cpp example - corpus - statements - Constexpr if statements php example - corpus - declarations - Class declarations Retry 1/10 with a new seed 4268317084 cpp example - corpus - statements - If statements with declarations rust example - corpus - declarations - Const function declarations rust example - corpus - declarations - Functions with abstract return types cpp example - corpus - statements - Try/catch statements php example - corpus - declarations - Class declarations with base classes rust example - corpus - declarations - Diverging functions php example - corpus - declarations - Function parameters rust example - corpus - declarations - Extern function declarations cpp example - corpus - statements - Throw statements php example - corpus - declarations - Functions with default parameters rust example - corpus - declarations - Use declarations test language: "uses_current_column" example: "corpus - Simple blocks" example: "corpus - Nested blocks" example: "corpus - Blocks with leading newlines" example: "corpus - Unterminated blocks" cpp example - corpus - statements - Noexcept specifier php example - corpus - declarations - Static variables in functions python example - corpus - literals - Integers php example - corpus - declarations - Defining Constants cpp example - corpus - statements - Throw specifier rust example - corpus - declarations - Variable bindings python example - corpus - literals - Floats python example - corpus - literals - Scientific Notation Floats rust example - corpus - declarations - Let-else Statements php example - corpus - declarations - Attributes cpp example - corpus - statements - Assignment python example - corpus - literals - Strings cpp example - corpus - statements - Attributes python example - corpus - literals - Raw strings rust example - corpus - declarations - Let declarations with if expressions as the value python example - corpus - literals - Raw strings with escaped quotes rust example - corpus - declarations - Let declarations with contextual keywords as names test language: "conflict_in_repeat_rule" python example - corpus - literals - Format strings rust example - corpus - declarations - Structs cpp example - corpus - statements - Coroutines php example - corpus - declarations - Enums cpp example - corpus - statements - Switch statements python example - corpus - literals - Format strings with format specifiers rust example - corpus - declarations - Unions php example - corpus - types - Type names python example - corpus - literals - Unicode escape sequences cpp example - corpus - ambiguities - template functions vs relational expressions python example - corpus - literals - Other primitives php example - corpus - types - Primitive types rust example - corpus - declarations - Generic structs python example - corpus - literals - Concatenated strings python example - corpus - literals - Multi-line strings php example - corpus - types - Intersection type rust example - corpus - declarations - Enums cpp example - corpus - ambiguities - function declarations vs variable initializations test language: "epsilon_rules" python example - corpus - literals - Lists php example - corpus - types - Optional types php example - corpus - types - Union types rust example - corpus - declarations - Enums with values specified cpp example - corpus - ambiguities - template classes vs relational expressions python example - corpus - literals - List comprehensions php example - corpus - types - Mixed type rust example - corpus - declarations - Generic functions php example - corpus - types - Static type php example - corpus - types - Null type cpp example - corpus - declarations - Namespace definitions python example - corpus - literals - Dictionaries rust example - corpus - declarations - Functions with mutable parameters php example - corpus - types - False type rust example - corpus - declarations - Functions with destructured parameters python example - corpus - literals - Dictionary comprehensions cpp example - corpus - declarations - Namespace alias definitions php example - corpus - types - True type python example - corpus - literals - Sets python example - corpus - literals - Set comprehensions rust example - corpus - declarations - Functions with custom types for self php example - corpus - string - Complex: Variable access cpp example - corpus - declarations - Using declarations python example - corpus - literals - Simple Tuples php example - corpus - string - Complex: Disallow space between { and $ rust example - corpus - declarations - Constant items php example - corpus - string - Complex: PHP documentation tests rust example - corpus - declarations - Static items python example - corpus - literals - Generator expression rust example - corpus - declarations - Static 'ref' items using lazy_static python example - corpus - expressions - Identifiers with Greek letters cpp example - corpus - declarations - Reference declarations rust example - corpus - declarations - Type aliases python example - corpus - expressions - Subscript expressions python example - corpus - expressions - Subscript slice expressions rust example - corpus - declarations - Empty statements cpp example - corpus - declarations - R-value reference declarations rust example - corpus - declarations - Attributes python example - corpus - expressions - Attribute references php example - corpus - string - Simple: Variable access python example - corpus - expressions - Await expressions cpp example - corpus - declarations - Inline method definitions php example - corpus - string - Simple: Member and array access python example - corpus - expressions - Call expressions rust example - corpus - declarations - Inner attributes ruby example - corpus - control-flow - empty while statement python example - corpus - expressions - Print used as an identifier ruby example - corpus - control-flow - while without do rust example - corpus - declarations - Key-Value Attribute Expressions php example - corpus - string - Corner cases ruby example - corpus - control-flow - while statement with body python example - corpus - expressions - Print used as a parameter cpp example - corpus - declarations - Inline method definitions with overrides ruby example - corpus - control-flow - empty until statement rust example - corpus - declarations - Attribute macros ruby example - corpus - control-flow - until statement with body python example - corpus - expressions - Exec used as an identifier ruby example - corpus - control-flow - empty if statement rust example - corpus - declarations - Derive macro helper attributes python example - corpus - expressions - Async / await used as identifiers ruby example - corpus - control-flow - empty if/else statement python example - corpus - expressions - Calls with splats php example - corpus - string - Single quoted ruby example - corpus - control-flow - single-line if then else statement cpp example - corpus - declarations - Virtual method declarations python example - corpus - expressions - Math operators ruby example - corpus - control-flow - if elsif php example - corpus - string - Bug: #113 python example - corpus - expressions - Binary Addition / Subtraction With Floats rust example - corpus - declarations - Attributes and Expressions ruby example - corpus - control-flow - if elsif else test language: "external_and_internal_anonymous_tokens" example: "corpus - single-line statements - internal tokens" example: "corpus - multi-line statements - internal tokens" example: "corpus - single-line statements - external tokens" example: "corpus - multi-line statements - external tokens" php example - corpus - string - Heredocs python example - corpus - expressions - Power Operator Precedence ruby example - corpus - control-flow - empty unless statement python example - corpus - expressions - Operator precedence cpp example - corpus - declarations - Constructor and destructor declarations ruby example - corpus - control-flow - empty unless statement with then rust example - corpus - declarations - Inherent Impls python example - corpus - expressions - Bitwise operators ruby example - corpus - control-flow - empty unless statement with else python example - corpus - expressions - Boolean operators ruby example - corpus - control-flow - for python example - corpus - expressions - Comparison operators rust example - corpus - declarations - Trait impls ruby example - corpus - control-flow - for without do python example - corpus - expressions - Assignments ruby example - corpus - control-flow - next cpp example - corpus - declarations - Classes with inheritance rust example - corpus - declarations - Unsafe impls ruby example - corpus - control-flow - retry php example - corpus - string - Nowdocs python example - corpus - expressions - Assignments with type annotations rust example - corpus - declarations - Trait impl signature python example - corpus - expressions - Augmented assignments ruby example - corpus - control-flow - break python example - corpus - expressions - Named expressions cpp example - corpus - declarations - Classes with final virt specifier ruby example - corpus - control-flow - redo rust example - corpus - declarations - Impls with default functions ruby example - corpus - control-flow - empty begin php example - corpus - string - Unicode escape sequences ruby example - corpus - control-flow - begin with body cpp example - corpus - declarations - Nested classes rust example - corpus - declarations - Trait declarations ruby example - corpus - control-flow - begin with else python example - corpus - expressions - Yield expressions test tests::corpus_test::test_corpus_for_php ... ok test language: "dynamic_precedence" example: "corpus - Declarations" example: "corpus - Expressions" ruby example - corpus - control-flow - begin with ensure cpp example - corpus - declarations - Friend declarations rust example - corpus - declarations - Trait declarations with optional type parameters python example - corpus - expressions - lambdas ruby example - corpus - control-flow - begin with empty rescue rust example - corpus - declarations - Unsized types in trait bounds python example - corpus - expressions - Tuples with splats ruby example - corpus - control-flow - begin with rescue with args cpp example - corpus - declarations - Default member initializers python example - corpus - expressions - Tuples with yield rust example - corpus - declarations - Macro invocations inside trait declarations python example - corpus - expressions - Conditional if expressions cpp example - corpus - declarations - Function parameters with default values rust example - corpus - declarations - Associated Types ruby example - corpus - control-flow - begin with rescue with splat args python example - corpus - expressions - Async context managers and iterators cpp example - corpus - declarations - Attributes ruby example - corpus - control-flow - rescue modifier rust example - corpus - declarations - Generic Associated Types python example - corpus - expressions - Arbitrary indentation between brackets test language: "invisible_start_rule" python example - corpus - statements - Import statements ruby example - corpus - control-flow - rescue modifier in assignments python example - corpus - statements - Import-from statements rust example - corpus - declarations - Higher-ranked types python example - corpus - statements - Future import statements ruby example - corpus - control-flow - begin with all the trimmings rust example - corpus - declarations - Visibility modifiers python example - corpus - statements - Print statements ruby example - corpus - control-flow - return ruby example - corpus - control-flow - return without value python example - corpus - statements - Print statements with redirection ruby example - corpus - control-flow - case cpp example - corpus - declarations - Operator overload declarations rust example - corpus - declarations - Function parameter names that match built-in type names python example - corpus - statements - Assert statements ruby example - corpus - control-flow - case with else python example - corpus - statements - Expression statements rust example - corpus - declarations - Where clauses python example - corpus - statements - Delete statements ruby example - corpus - control-flow - case with multiple when blocks python example - corpus - statements - Control-flow statements ruby example - corpus - control-flow - case without line break python example - corpus - statements - Return statements python example - corpus - statements - If statements ruby example - corpus - control-flow - case with splat parameter in when python example - corpus - statements - If else statements ruby example - corpus - control-flow - case with assignment cpp example - corpus - declarations - Template declarations python example - corpus - statements - Nested if statements ruby example - corpus - control-flow - case with expression python example - corpus - statements - While statements ruby example - corpus - literals - symbol python example - corpus - statements - For statements rust example - corpus - declarations - External Modules ruby example - corpus - literals - symbol operators python example - corpus - statements - Try statements rust example - corpus - declarations - Crate visibility cpp example - corpus - declarations - Template template declarations ruby example - corpus - literals - single quoted symbol rust example - corpus - declarations - Reserved keywords in path python example - corpus - statements - With statements ruby example - corpus - literals - double quoted symbol ruby example - corpus - literals - double quoted symbol with interpolation rust example - corpus - macros - Macro invocation - no arguments test language: "precedence_on_token" example: "corpus - obvious tokens" example: "corpus - strings starting with double slashes" example: "corpus - comments that resemble regexes" ruby example - corpus - literals - interpolation with no content cpp example - corpus - declarations - Template specializations python example - corpus - statements - Async Function definitions ruby example - corpus - literals - percent symbol with unbalanced delimiters rust example - corpus - macros - Macro invocation - arbitrary tokens ruby example - corpus - literals - percent symbol with balanced delimiters cpp example - corpus - declarations - Template methods ruby example - corpus - literals - global variables python example - corpus - statements - Function definitions rust example - corpus - macros - Macro invocation with comments cpp example - corpus - declarations - Templates with optional type parameters python example - corpus - statements - Empty blocks rust example - corpus - macros - Macro definition ruby example - corpus - literals - integer ruby example - corpus - literals - integer as object python example - corpus - statements - Class definitions cpp example - corpus - declarations - Templates with optional anonymous parameters ruby example - corpus - literals - integer with underscore ruby example - corpus - literals - integer with decimal prefix ruby example - corpus - literals - integer with hexadecimal prefix python example - corpus - statements - Class definitions with superclasses ruby example - corpus - literals - integer with hexadecimal prefix capitalised python example - corpus - statements - Decorated definitions cpp example - corpus - declarations - Declarations with braced initializer lists rust example - corpus - types - The unit type ruby example - corpus - literals - integer with octal prefix cpp example - corpus - declarations - Empty function bodies rust example - corpus - types - Tuple types cpp example - corpus - declarations - Explicit template instantiations ruby example - corpus - literals - integer with binary prefix rust example - corpus - types - Reference types python example - corpus - statements - Raise statements cpp example - corpus - declarations - Structured binding declarations ruby example - corpus - literals - float python example - corpus - statements - Comments rust example - corpus - types - Raw pointer types ruby example - corpus - literals - complex cpp example - corpus - declarations - Constexpr/constinit/consteval declarations python example - corpus - statements - Comments at different indentation levels rust example - corpus - types - Generic types python example - corpus - statements - Comments after dedents cpp example - corpus - declarations - Variadic templates python example - corpus - statements - Comments at the ends of indented blocks rust example - corpus - types - Scoped types python example - corpus - statements - Newline tokens followed by comments ruby example - corpus - literals - rational python example - corpus - statements - Global statements test language: "external_extra_tokens" example: "corpus - extra external tokens" python example - corpus - statements - Exec statements cpp example - corpus - declarations - Enums rust example - corpus - types - Array types ruby example - corpus - literals - boolean python example - corpus - statements - Extra newlines ruby example - corpus - literals - nil rust example - corpus - types - Function types ruby example - corpus - literals - single-quoted string python example - corpus - statements - Escaped newline cpp example - corpus - declarations - static_assert declarations ruby example - corpus - literals - single-quoted strings with backslashes python example - corpus - statements - Statements with semicolons ruby example - corpus - literals - single-quoted string with pound and curly brace python example - corpus - errors - An error before a string literal cpp example - corpus - declarations - Cast operator overload declarations ruby example - corpus - literals - double-quoted string python example - corpus - pattern_matching - Matching specific values ruby example - corpus - literals - double-quoted strings with escape sequences test language: "start_rule_is_token" example: "corpus - the single token" rust example - corpus - types - Unsafe and extern function types ruby example - corpus - literals - double-quoted string with just pound ruby example - corpus - literals - interpolation cpp example - corpus - declarations - Class scope cast operator overload declarations rust example - corpus - types - Trait objects python example - corpus - pattern_matching - Matching multiple values ruby example - corpus - literals - percent q string with unbalanced delimiters python example - corpus - pattern_matching - Adding a wild card rust example - corpus - types - Type cast expressions with generics cpp example - corpus - declarations - Function declarations ruby example - corpus - literals - percent q string with balanced delimiters cpp example - corpus - declarations - Variable storage classes rust example - corpus - patterns - Tuple struct patterns ruby example - corpus - literals - percent string with unbalanced delimiters python example - corpus - pattern_matching - Or patterns test language: "associativity_missing" cpp example - corpus - declarations - Ref-qualifiers ruby example - corpus - literals - percent string with balanced delimiters rust example - corpus - patterns - Reference patterns ruby example - corpus - literals - percent Q string with unbalanced delimiters python example - corpus - pattern_matching - As patterns ruby example - corpus - literals - percent Q string with balanced delimiters cpp example - corpus - declarations - Default comparison declarations rust example - corpus - patterns - Struct patterns ruby example - corpus - literals - string chaining cpp example - corpus - concepts - Concept definition python example - corpus - pattern_matching - Actually not match rust example - corpus - patterns - Ignored patterns ruby example - corpus - literals - newline-delimited strings cpp example - corpus - concepts - Concept definition with requires expression python example - corpus - pattern_matching - Match is match but not pattern matching ruby example - corpus - literals - % formatting that looks like a newline-delimited strings rust example - corpus - patterns - Captured patterns python example - corpus - pattern_matching - Match kwargs cpp example - corpus - concepts - Requires clauses and expressions ruby example - corpus - literals - Single character string literals python example - corpus - pattern_matching - Match kwargs 2 python example - corpus - pattern_matching - Case used as identifier ruby example - corpus - literals - nested strings with different delimiters rust example - corpus - patterns - Or patterns python example - corpus - pattern_matching - If guards ruby example - corpus - literals - basic heredocs python example - corpus - pattern_matching - Comma separated cases ruby example - corpus - literals - heredoc with interspersed end word python example - corpus - pattern_matching - case terminating in comma test language: "extra_non_terminals_with_shared_rules" example: "corpus - Extras" ruby example - corpus - literals - heredoc with end word in content python example - corpus - pattern_matching - Multiple match patterns ruby example - corpus - literals - heredocs in context starting with dot python example - corpus - pattern_matching - Match match, case case ruby example - corpus - literals - heredocs with method continuation rust example - corpus - patterns - Inline const or Const blocks as pattern python example - corpus - pattern_matching - Walrus match (Issue #150) ruby example - corpus - literals - heredocs with suffix dot method continuation ruby example - corpus - literals - multiple heredocs with method continuation python example - python_errors - incomplete condition in if statement cpp example - corpus - concepts - Compound requirements ruby example - corpus - literals - heredocs with interpolation python example - python_errors - extra colon in function definition test tests::corpus_test::test_corpus_for_rust ... ok python example - python_errors - stray if keyword in function definition python example - python_errors - incomplete if statement in function definition cpp example - corpus - concepts - Nested requirements python example - python_errors - incomplete expression before triple-quoted string ruby example - corpus - literals - heredocs with in args, pairs, and arrays python example - python_errors - incomplete definition in class definition test tests::corpus_test::test_corpus_for_python ... ok ruby example - corpus - literals - heredocs with method calls and interpolation with method calls ruby example - corpus - literals - multiple heredocs ruby example - corpus - literals - heredoc content that starts with a dot cpp example - corpus - concepts - Constraints ruby example - corpus - literals - un-terminated heredocs ruby example - corpus - literals - no interpolation or escape sequences in single quoted heredoc ruby example - corpus - literals - backticks subshell cpp example - corpus - definitions - Scoped function definitions ruby example - corpus - literals - backticks subshell with escape ruby example - corpus - literals - empty array cpp example - corpus - definitions - Constructor definitions ruby example - corpus - literals - array test language: "external_tokens" example: "corpus - simple external tokens" example: "corpus - external tokens that require state" ruby example - corpus - literals - array as object cpp example - corpus - definitions - Explicit constructor definitions ruby example - corpus - literals - array with trailing comma cpp example - corpus - definitions - Explicit constructor declaration ruby example - corpus - literals - empty percent w array cpp example - corpus - definitions - Default and deleted methods ruby example - corpus - literals - unbalanced percent w array ruby example - corpus - literals - percent w array ruby example - corpus - literals - percent W array with interpolations cpp example - corpus - definitions - Destructor definitions ruby example - corpus - literals - empty percent i array ruby example - corpus - literals - unbalanced percent i array cpp example - corpus - definitions - Function-try-block definitions ruby example - corpus - literals - percent i array cpp example - corpus - definitions - Conversion operator definitions ruby example - corpus - literals - percent I array with interpolations cpp example - corpus - microsoft - declaration specs ruby example - corpus - literals - percent i array with spaces cpp example - corpus - types - The auto type ruby example - corpus - literals - empty hash cpp example - corpus - types - Namespaced types ruby example - corpus - literals - hash with no spaces ruby example - corpus - literals - hash with expression keys cpp example - corpus - types - Dependent type names test language: "associativity_left" example: "corpus - chained operations" ruby example - corpus - literals - hash with reserved word key cpp example - corpus - types - Template types with empty argument lists cpp example - corpus - types - Function types as template arguments cpp example - corpus - types - Decltype cpp example - corpus - types - Trailing return type ruby example - corpus - literals - hash with keyword keys test tests::corpus_test::test_corpus_for_cpp ... ok test language: "precedence_on_single_child_positive" example: "corpus - function calls with blocks" ruby example - corpus - literals - hash with trailing comma ruby example - corpus - literals - hash initialization with hash splat ruby example - corpus - literals - hash with line breaks and inline comments ruby example - corpus - literals - regular expression ruby example - corpus - literals - regular expression with interpolation ruby example - corpus - literals - percent r regular expression with unbalanced delimiters ruby example - corpus - literals - percent r regular expression with balanced delimiters ruby example - corpus - literals - percent r regular expression with unbalanced delimiters and interpolation ruby example - corpus - literals - percent r regular expression with balanced delimiters and interpolation test language: "lexical_conflicts_due_to_state_merging" example: "corpus - regexes" example: "corpus - conditionals" example: "corpus - quotients" ruby example - corpus - literals - empty function ruby example - corpus - literals - lambda literal with body ruby example - corpus - literals - lambda literal with an arg ruby example - corpus - literals - lambda literal with multiple args ruby example - corpus - literals - lambda literal with do end ruby example - corpus - literals - non-ascii identifiers ruby example - corpus - expressions - scope resolution ruby example - corpus - expressions - element reference ruby example - corpus - expressions - element reference with string ruby example - corpus - expressions - element reference with symbol ruby example - corpus - expressions - element assignment ruby example - corpus - expressions - vacuous literal ruby example - corpus - expressions - empty statement ruby example - corpus - expressions - yield without value test language: "associativity_right" example: "corpus - chained operations" ruby example - corpus - expressions - yield test tests::corpus_test::test_feature_corpus_files ... ok ruby example - corpus - expressions - not ruby example - corpus - expressions - and ruby example - corpus - expressions - or ruby example - corpus - expressions - and or associativity ruby example - corpus - expressions - defined? ruby example - corpus - expressions - assignment ruby example - corpus - expressions - multiple assignment ruby example - corpus - expressions - multiple assignment with multiple right hand sides ruby example - corpus - expressions - destructured left hand side assignment ruby example - corpus - expressions - assignment from method call ruby example - corpus - expressions - math assignment ruby example - corpus - expressions - operator assignment ruby example - corpus - expressions - conditional ruby example - corpus - expressions - conditional and character literal ambiguity ruby example - corpus - expressions - conditional with reserved identifiers ruby example - corpus - expressions - inclusive range ruby example - corpus - expressions - exclusive range ruby example - corpus - expressions - boolean or ruby example - corpus - expressions - boolean and ruby example - corpus - expressions - boolean and/or ruby example - corpus - expressions - relational ruby example - corpus - expressions - comparison ruby example - corpus - expressions - bitwise or ruby example - corpus - expressions - bitwise xor ruby example - corpus - expressions - bitwise and ruby example - corpus - expressions - shift ruby example - corpus - expressions - additive ruby example - corpus - expressions - multiplicative ruby example - corpus - expressions - binary operations ruby example - corpus - expressions - unary minus ruby example - corpus - expressions - binary minus ruby example - corpus - expressions - exponential ruby example - corpus - expressions - minus, call, exponential, range ruby example - corpus - expressions - complement ruby example - corpus - expressions - method call ruby example - corpus - expressions - nested unparenthesized method calls ruby example - corpus - expressions - method call with arguments on multiple lines ruby example - corpus - expressions - method call with trailing comma ruby example - corpus - expressions - keyword arguments, no space, trailing comma ruby example - corpus - expressions - method call with receiver ruby example - corpus - expressions - implicit call ruby example - corpus - expressions - implicit call with block ruby example - corpus - expressions - call with operator method name ruby example - corpus - expressions - method call with :: operator ruby example - corpus - expressions - method call with safe navigation operator ruby example - corpus - expressions - calls to methods on negated literals ruby example - corpus - expressions - method call with hash args ruby example - corpus - expressions - method call with keyword args ruby example - corpus - expressions - method call with reserved keyword args ruby example - corpus - expressions - method call with paren args ruby example - corpus - expressions - method call with block argument ruby example - corpus - expressions - method call with splat argument ruby example - corpus - expressions - method call lambda argument ruby example - corpus - expressions - method call lambda argument and do block ruby example - corpus - expressions - chained method calls with blocks but no parens ruby example - corpus - expressions - method calls in binary expression ruby example - corpus - expressions - method calls in unary expression ruby example - corpus - expressions - method calls with splat argument ruby example - corpus - expressions - method call without parens ruby example - corpus - expressions - method call with line break ruby example - corpus - expressions - method call with block argument do end ruby example - corpus - expressions - method call with block argument curly ruby example - corpus - expressions - method call with block shadow arguments ruby example - corpus - expressions - method call with capitalized name ruby example - corpus - expressions - destructured parameters ruby example - corpus - expressions - element reference and method with array arguments ruby example - corpus - expressions - element reference on call expression ruby example - corpus - expressions - call with array and block ruby example - corpus - expressions - call with normal and keyword argument with value that looks like a block ruby example - corpus - expressions - call with keyword argument on different lines ruby example - corpus - expressions - empty lambda expression ruby example - corpus - expressions - lambda expressions ruby example - corpus - expressions - lambda expression with an arg ruby example - corpus - expressions - lambda expression with multiple args ruby example - corpus - expressions - lambda expression with trailing comma ruby example - corpus - expressions - lambda expression with optional arg ruby example - corpus - expressions - lambda expression with keyword arg ruby example - corpus - expressions - lambda expression with do end ruby example - corpus - expressions - lambda and proc as variables ruby example - corpus - expressions - backslash-newline as line continuation ruby example - corpus - expressions - basic division ruby example - corpus - expressions - division without spaces ruby example - corpus - expressions - regex as parameter ruby example - corpus - expressions - regex with opening space ruby example - corpus - expressions - forward slash operator as method ruby example - corpus - expressions - multiline regex ruby example - corpus - statements - conditional modifier ruby example - corpus - statements - while modifier ruby example - corpus - statements - unless modifier ruby example - corpus - statements - until modifier ruby example - corpus - statements - alias ruby example - corpus - statements - undef ruby example - corpus - comments - comments ruby example - corpus - comments - empty block comment ruby example - corpus - comments - one-line block comment ruby example - corpus - comments - block comment with comment after begin ruby example - corpus - comments - block comment with comment after end ruby example - corpus - comments - multi-line block comments ruby example - corpus - comments - multi-line block comments followed by standard comment ruby example - corpus - comments - multi-line block comments with almost end ruby example - corpus - errors - Heredocs with errors ruby example - corpus - errors - Heredocs ruby example - corpus - single-cr-as-whitespace - Single CR characters as whitespace ruby example - corpus - declarations - empty method ruby example - corpus - declarations - method with body ruby example - corpus - declarations - "end"-less method ruby example - corpus - declarations - method as attribute setter ruby example - corpus - declarations - method definition of operators ruby example - corpus - declarations - method with forward slash name and regex ambiguity ruby example - corpus - declarations - method with call to super ruby example - corpus - declarations - method with args ruby example - corpus - declarations - method with unparenthesized args ruby example - corpus - declarations - method with multiple args ruby example - corpus - declarations - method with multiple unparenthesized args ruby example - corpus - declarations - method with keyword parameters ruby example - corpus - declarations - method with default parameters ruby example - corpus - declarations - method with interesting params ruby example - corpus - declarations - singleton method ruby example - corpus - declarations - singleton method with body ruby example - corpus - declarations - singleton method with arg ruby example - corpus - declarations - singleton method with un-parenthesized arg ruby example - corpus - declarations - singleton method with args ruby example - corpus - declarations - singleton method with un-parenthesized args ruby example - corpus - declarations - empty class ruby example - corpus - declarations - empty subclass ruby example - corpus - declarations - empty subclass of namespaced class ruby example - corpus - declarations - one-line class/module def without ; ruby example - corpus - declarations - unparenthesized call as superclass ruby example - corpus - declarations - class with body ruby example - corpus - declarations - class within dynamically-computed module ruby example - corpus - declarations - singleton class ruby example - corpus - declarations - empty module ruby example - corpus - declarations - module with body ruby example - corpus - declarations - module without semicolon ruby example - corpus - declarations - __END__ ruby example - corpus - declarations - __END__ followed by a comment ruby example - corpus - declarations - __END__ at end of file, without new line ruby example - corpus - declarations - module with class with methods ruby example - corpus - declarations - empty BEGIN block ruby example - corpus - declarations - BEGIN block ruby example - corpus - declarations - empty END block ruby example - corpus - declarations - END block ruby example - corpus - line-endings - CRLF line endings ruby example - corpus - line-endings - CRLF multiline comments ruby example - corpus - patterns - pattern matching ruby example - corpus - patterns - more pattern matching ruby example - corpus - patterns - array patterns ruby example - corpus - patterns - find patterns ruby example - corpus - patterns - hash patterns ruby example - corpus - patterns - pattern matching with fancy string literals ruby example - corpus - patterns - one-line patterns ruby example - corpus - patterns - one-line patterns: incorrectly parsed ruby example - ruby_errors - Heredocs with errors ruby example - ruby_templates - Templates with errors test tests::corpus_test::test_corpus_for_ruby ... ok test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 219 filtered out; finished in 13.49s Running unittests src/main.rs (target/debug/deps/tree_sitter-6e611227dc2172db) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s >>> tree-sitter: Entering fakeroot... install -d '/home/buildozer/aports/community/tree-sitter/pkg/tree-sitter/usr/lib' install -m755 libtree-sitter.a '/home/buildozer/aports/community/tree-sitter/pkg/tree-sitter/usr/lib'/libtree-sitter.a install -m755 libtree-sitter.so.0.0 '/home/buildozer/aports/community/tree-sitter/pkg/tree-sitter/usr/lib'/libtree-sitter.so.0.0 ln -sf libtree-sitter.so.0.0 '/home/buildozer/aports/community/tree-sitter/pkg/tree-sitter/usr/lib'/libtree-sitter.so.0 ln -sf libtree-sitter.so.0.0 '/home/buildozer/aports/community/tree-sitter/pkg/tree-sitter/usr/lib'/libtree-sitter.so install -d '/home/buildozer/aports/community/tree-sitter/pkg/tree-sitter/usr/include'/tree_sitter install -m644 lib/include/tree_sitter/*.h '/home/buildozer/aports/community/tree-sitter/pkg/tree-sitter/usr/include'/tree_sitter/ install -d '/home/buildozer/aports/community/tree-sitter/pkg/tree-sitter/usr/lib/pkgconfig' sed -e 's|@LIBDIR@|/usr/lib|;s|@INCLUDEDIR@|/usr/include|;s|@VERSION@|0.20.9|' \ -e 's|=/usr|=${prefix}|' \ -e 's|@PREFIX@|/usr|' \ tree-sitter.pc.in > '/home/buildozer/aports/community/tree-sitter/pkg/tree-sitter/usr/lib/pkgconfig'/tree-sitter.pc >>> tree-sitter-static*: Running split function static... >>> tree-sitter-static*: Preparing subpackage tree-sitter-static... >>> tree-sitter-static*: Stripping binaries >>> tree-sitter-static*: Running postcheck for tree-sitter-static >>> tree-sitter-dev*: Running split function dev... >>> tree-sitter-dev*: Preparing subpackage tree-sitter-dev... >>> tree-sitter-dev*: Stripping binaries >>> tree-sitter-dev*: Running postcheck for tree-sitter-dev >>> tree-sitter-grammars*: Running split function grammars... >>> tree-sitter-grammars*: Preparing subpackage tree-sitter-grammars... >>> tree-sitter-grammars*: Running postcheck for tree-sitter-grammars >>> tree-sitter-cli*: Running split function cli... >>> tree-sitter-cli*: Preparing subpackage tree-sitter-cli... >>> tree-sitter-cli*: Stripping binaries >>> tree-sitter-cli*: Running postcheck for tree-sitter-cli >>> tree-sitter*: Running postcheck for tree-sitter >>> tree-sitter*: Preparing package tree-sitter... >>> tree-sitter*: Stripping binaries >>> tree-sitter-cli*: Scanning shared objects >>> tree-sitter-dev*: Scanning shared objects >>> tree-sitter-grammars*: Scanning shared objects >>> tree-sitter-static*: Scanning shared objects >>> tree-sitter*: Scanning shared objects >>> tree-sitter-cli*: Tracing dependencies... so:libc.musl-x86.so.1 so:libgcc_s.so.1 >>> tree-sitter-cli*: Package size: 9.3 MB >>> tree-sitter-cli*: Compressing data... >>> tree-sitter-cli*: Create checksum... >>> tree-sitter-cli*: Create tree-sitter-cli-0.20.8-r0.apk >>> tree-sitter-dev*: Tracing dependencies... jq pkgconfig tree-sitter=0.20.8-r0 >>> tree-sitter-dev*: Package size: 76.0 KB >>> tree-sitter-dev*: Compressing data... >>> tree-sitter-dev*: Create checksum... >>> tree-sitter-dev*: Create tree-sitter-dev-0.20.8-r0.apk >>> tree-sitter-grammars*: Tracing dependencies... >>> tree-sitter-grammars*: Package size: 4.0 KB >>> tree-sitter-grammars*: Compressing data... >>> tree-sitter-grammars*: Create checksum... >>> tree-sitter-grammars*: Create tree-sitter-grammars-0.20.8-r0.apk >>> tree-sitter-static*: Tracing dependencies... >>> tree-sitter-static*: Package size: 192.0 KB >>> tree-sitter-static*: Compressing data... >>> tree-sitter-static*: Create checksum... >>> tree-sitter-static*: Create tree-sitter-static-0.20.8-r0.apk >>> tree-sitter*: Tracing dependencies... so:libc.musl-x86.so.1 >>> tree-sitter*: Package size: 156.0 KB >>> tree-sitter*: Compressing data... >>> tree-sitter*: Create checksum... >>> tree-sitter*: Create tree-sitter-0.20.8-r0.apk >>> tree-sitter: Build complete at Fri, 21 Apr 2023 17:55:27 +0000 elapsed time 0h 5m 43s >>> tree-sitter: Cleaning up srcdir >>> tree-sitter: Cleaning up pkgdir >>> tree-sitter: Uninstalling dependencies... (1/12) Purging .makedepends-tree-sitter (20230421.174949) (2/12) Purging bash (5.2.15-r3) Executing bash-5.2.15-r3.pre-deinstall (3/12) Purging cargo (1.69.0-r2) (4/12) Purging rust (1.69.0-r2) (5/12) Purging nodejs (18.16.0-r1) (6/12) Purging icu-libs (73.1-r1) (7/12) Purging llvm15-libs (15.0.7-r5) (8/12) Purging readline (8.2.1-r1) (9/12) Purging icu-data-en (73.1-r1) (10/12) Purging libffi (3.4.4-r2) (11/12) Purging libxml2 (2.10.4-r2) (12/12) Purging xz-libs (5.4.2-r1) Executing busybox-1.36.0-r7.trigger OK: 373 MiB in 98 packages >>> tree-sitter: Updating the community/x86 repository index... >>> tree-sitter: Signing the index...