polyglot-piranha 0.4.2__tar.gz → 0.4.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/Cargo.lock +2 -2
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/Cargo.toml +1 -1
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/PKG-INFO +1 -1
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/models/scopes.rs +20 -1
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/LICENSE +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/NOTICE +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/README.md +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/concrete-syntax/Cargo.toml +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/concrete-syntax/README.md +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/concrete-syntax/src/concrete_syntax.pest +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/concrete-syntax/src/lib.rs +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/concrete-syntax/src/mod.rs +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/concrete-syntax/src/models/concrete_syntax/constraint_checker.rs +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/concrete-syntax/src/models/concrete_syntax/cursor_utils.rs +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/concrete-syntax/src/models/concrete_syntax/interpreter.rs +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/concrete-syntax/src/models/concrete_syntax/mod.rs +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/concrete-syntax/src/models/concrete_syntax/parser.rs +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/concrete-syntax/src/models/concrete_syntax/resolver.rs +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/concrete-syntax/src/models/concrete_syntax/tree_sitter_adapter.rs +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/concrete-syntax/src/models/concrete_syntax/types.rs +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/concrete-syntax/src/models/concrete_syntax/unit_tests/constraint_checker_test.rs +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/concrete-syntax/src/models/concrete_syntax/unit_tests/interpreter_test.rs +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/concrete-syntax/src/models/concrete_syntax/unit_tests/mod.rs +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/concrete-syntax/src/models/concrete_syntax/unit_tests/parser_test.rs +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/concrete-syntax/src/models/concrete_syntax/unit_tests/resolver_test.rs +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/concrete-syntax/src/models/matches.rs +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/concrete-syntax/src/models/mod.rs +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/Cargo.toml +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/cleanup_rules/go/edges.toml +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/cleanup_rules/go/rules.toml +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/cleanup_rules/go/scope_config.toml +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/cleanup_rules/java/edges.toml +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/cleanup_rules/java/rules.toml +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/cleanup_rules/java/scope_config.toml +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/cleanup_rules/java_cs/edges.toml +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/cleanup_rules/java_cs/rules.toml +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/cleanup_rules/java_cs/scope_config.toml +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/cleanup_rules/kt/edges.toml +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/cleanup_rules/kt/rules.toml +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/cleanup_rules/kt/scope_config.toml +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/cleanup_rules/ruby/edges.toml +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/cleanup_rules/ruby/rules.toml +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/cleanup_rules/ruby/scope_config.toml +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/cleanup_rules/scala/scope_config.toml +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/cleanup_rules/swift/edges.toml +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/cleanup_rules/swift/rules.toml +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/cleanup_rules/swift/scope_config.toml +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/df/README.md +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/df/analysis.rs +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/df/mod.rs +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/df/tag_analysis.rs +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/df/unit_tests/tag_analysis_test.rs +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/df/utils.rs +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/lib.rs +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/main.rs +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/models/capture_group_patterns.rs +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/models/default_configs.rs +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/models/edit.rs +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/models/filter.rs +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/models/language.rs +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/models/matches.rs +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/models/mod.rs +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/models/outgoing_edges.rs +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/models/piranha_arguments.rs +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/models/piranha_output.rs +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/models/rule.rs +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/models/rule_graph.rs +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/models/rule_store.rs +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/models/source_code_unit.rs +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/models/unit_tests/piranha_arguments_test.rs +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/models/unit_tests/rule_graph_validation_test.rs +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/models/unit_tests/rule_test.rs +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/models/unit_tests/scopes_test.rs +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/models/unit_tests/source_code_unit_test.rs +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/models/unit_tests/testdata/custom_builtin/edges.toml +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/models/unit_tests/testdata/custom_builtin/rules.toml +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/tests/mod.rs +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/tests/test_piranha_go.rs +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/tests/test_piranha_java.rs +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/tests/test_piranha_kt.rs +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/tests/test_piranha_python.rs +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/tests/test_piranha_scala.rs +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/tests/test_piranha_scm.rs +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/tests/test_piranha_strings.rs +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/tests/test_piranha_swift.rs +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/tests/test_piranha_thrift.rs +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/tests/test_piranha_ts.rs +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/tests/test_piranha_tsx.rs +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/tests/test_piranha_yaml.rs +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/utilities/mod.rs +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/utilities/regex_utilities.rs +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/utilities/tree_sitter_utilities.rs +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/utilities/unit_tests/tree_sitter_utilities_test.rs +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/utilities/unit_tests/utilities_test.rs +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/polyglot_piranha.pyi +0 -0
- {polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/pyproject.toml +0 -0
@@ -197,7 +197,7 @@ dependencies = [
|
|
197
197
|
|
198
198
|
[[package]]
|
199
199
|
name = "concrete_syntax"
|
200
|
-
version = "0.4.
|
200
|
+
version = "0.4.3"
|
201
201
|
dependencies = [
|
202
202
|
"js-sys",
|
203
203
|
"pest",
|
@@ -738,7 +738,7 @@ dependencies = [
|
|
738
738
|
|
739
739
|
[[package]]
|
740
740
|
name = "piranha"
|
741
|
-
version = "0.4.
|
741
|
+
version = "0.4.3"
|
742
742
|
dependencies = [
|
743
743
|
"assert_cmd",
|
744
744
|
"cc",
|
@@ -77,7 +77,26 @@ impl SourceCodeUnit {
|
|
77
77
|
break;
|
78
78
|
}
|
79
79
|
}
|
80
|
-
panic!(
|
80
|
+
panic!(
|
81
|
+
"
|
82
|
+
=====================================
|
83
|
+
ERROR: Failed to create scope query
|
84
|
+
=====================================
|
85
|
+
|
86
|
+
Scope Level: {}
|
87
|
+
|
88
|
+
Source Code:
|
89
|
+
-------------------------------------
|
90
|
+
{}
|
91
|
+
|
92
|
+
AST S-expression:
|
93
|
+
-------------------------------------
|
94
|
+
{}
|
95
|
+
=====================================",
|
96
|
+
scope_level,
|
97
|
+
self.code(),
|
98
|
+
root_node.to_sexp()
|
99
|
+
);
|
81
100
|
}
|
82
101
|
}
|
83
102
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/concrete-syntax/src/concrete_syntax.pest
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/concrete-syntax/src/models/matches.rs
RENAMED
File without changes
|
File without changes
|
File without changes
|
{polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/cleanup_rules/go/edges.toml
RENAMED
File without changes
|
{polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/cleanup_rules/go/rules.toml
RENAMED
File without changes
|
{polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/cleanup_rules/go/scope_config.toml
RENAMED
File without changes
|
{polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/cleanup_rules/java/edges.toml
RENAMED
File without changes
|
{polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/cleanup_rules/java/rules.toml
RENAMED
File without changes
|
File without changes
|
{polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/cleanup_rules/java_cs/edges.toml
RENAMED
File without changes
|
{polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/cleanup_rules/java_cs/rules.toml
RENAMED
File without changes
|
File without changes
|
{polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/cleanup_rules/kt/edges.toml
RENAMED
File without changes
|
{polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/cleanup_rules/kt/rules.toml
RENAMED
File without changes
|
{polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/cleanup_rules/kt/scope_config.toml
RENAMED
File without changes
|
{polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/cleanup_rules/ruby/edges.toml
RENAMED
File without changes
|
{polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/cleanup_rules/ruby/rules.toml
RENAMED
File without changes
|
File without changes
|
File without changes
|
{polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/cleanup_rules/swift/edges.toml
RENAMED
File without changes
|
{polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/cleanup_rules/swift/rules.toml
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/df/unit_tests/tag_analysis_test.rs
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/models/capture_group_patterns.rs
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/models/piranha_arguments.rs
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/models/source_code_unit.rs
RENAMED
File without changes
|
File without changes
|
File without changes
|
{polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/models/unit_tests/rule_test.rs
RENAMED
File without changes
|
{polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/models/unit_tests/scopes_test.rs
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/tests/test_piranha_java.rs
RENAMED
File without changes
|
File without changes
|
{polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/tests/test_piranha_python.rs
RENAMED
File without changes
|
{polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/tests/test_piranha_scala.rs
RENAMED
File without changes
|
File without changes
|
{polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/tests/test_piranha_strings.rs
RENAMED
File without changes
|
{polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/tests/test_piranha_swift.rs
RENAMED
File without changes
|
{polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/tests/test_piranha_thrift.rs
RENAMED
File without changes
|
File without changes
|
File without changes
|
{polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/tests/test_piranha_yaml.rs
RENAMED
File without changes
|
File without changes
|
{polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/utilities/regex_utilities.rs
RENAMED
File without changes
|
{polyglot_piranha-0.4.2 → polyglot_piranha-0.4.3}/crates/core/src/utilities/tree_sitter_utilities.rs
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|