-
Notifications
You must be signed in to change notification settings - Fork 146
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(#2930): simplified phi grammar + fixed bug with dispatch after fo…
…rmation
- Loading branch information
1 parent
e8ae097
commit e64f050
Showing
4 changed files
with
94 additions
and
93 deletions.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
eo-maven-plugin/src/test/resources/org/eolang/maven/phi/with-anonym-abstract.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
eo: | | ||
# This is the default 64+ symbols comment in front of abstract object. | ||
[] > test | ||
([] (^ > x)).plus > s | ||
int | ||
phi: | | ||
{ | ||
⟦ | ||
test ↦ ⟦ | ||
s ↦ ⟦ | ||
x ↦ ξ.ρ | ||
⟧.plus( | ||
α0 ↦ Φ.org.eolang.int | ||
) | ||
⟧ | ||
⟧ | ||
} |
14 changes: 14 additions & 0 deletions
14
eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/with-anonym-abstract.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
tests: | ||
- //o[@name='test' and count(o)=2] | ||
- //o[@name='test']/o[position()=1 and @abstract and not(@name)] | ||
- //o[@name='test']/o[last() and @base='.plus' and @method] | ||
phi: | | ||
{ | ||
⟦ | ||
test ↦ ⟦ | ||
s ↦ ⟦⟧.plus( | ||
α0 ↦ Φ.org.eolang.int | ||
) | ||
⟧ | ||
⟧ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters