-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
337 additions
and
175 deletions.
There are no files selected for viewing
285 changes: 158 additions & 127 deletions
285
language/src/main/scala/com/reactific/riddl/language/AST.scala
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
domain example is { | ||
context TenantControl { | ||
command CreateTenant { name: String } | ||
event TenantCreated { name: String, result: String } | ||
} | ||
record Create { name: String } | ||
user Admin is "fickle" | ||
application App is { | ||
page NewTenantPage { | ||
input NameEntry acquires record example.Create | ||
button Create acquires record example.Create | ||
} | ||
} | ||
epic check_for_wrong_types_to_and_from_vitals { | ||
case UserCreatesANewCompany { | ||
user Admin wants to "create a new tenant" so that "the tenant can do stuff" | ||
step from user Admin "presses" button App.NewTenantPage.Create, | ||
step from button App.NewTenantPage.Create "sends" to context TenantControl | ||
} | ||
} | ||
} |
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