Switch `#!` to `#:`
This commit is contained in:
parent
5dd68e87c1
commit
9864ce0ec8
|
@ -1,4 +1,4 @@
|
||||||
version 1 .
|
version 1 .
|
||||||
embeddedType EntityRef.Cap .
|
embeddedType EntityRef.Cap .
|
||||||
|
|
||||||
Observe = <Observe @pattern dataspacePatterns.Pattern @observer #!any>.
|
Observe = <Observe @pattern dataspacePatterns.Pattern @observer #:any>.
|
||||||
|
|
|
@ -18,5 +18,5 @@ AnyAtom =
|
||||||
/ @string string
|
/ @string string
|
||||||
/ @bytes bytes
|
/ @bytes bytes
|
||||||
/ @symbol symbol
|
/ @symbol symbol
|
||||||
/ @embedded #!any
|
/ @embedded #:any
|
||||||
.
|
.
|
||||||
|
|
|
@ -6,8 +6,8 @@ embeddedType EntityRef.Cap .
|
||||||
|
|
||||||
# Assertion. Gatekeeper will attempt to resolve `step`, responding with a `Resolved` to
|
# Assertion. Gatekeeper will attempt to resolve `step`, responding with a `Resolved` to
|
||||||
# `observer`.
|
# `observer`.
|
||||||
Resolve = <resolve @step Step @observer #!Resolved> .
|
Resolve = <resolve @step Step @observer #:Resolved> .
|
||||||
Resolved = <accepted @responderSession #!any> / Rejected .
|
Resolved = <accepted @responderSession #:any> / Rejected .
|
||||||
Step = <<rec> @stepType symbol [@detail any]> .
|
Step = <<rec> @stepType symbol [@detail any]> .
|
||||||
|
|
||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
|
@ -15,9 +15,9 @@ Step = <<rec> @stepType symbol [@detail any]> .
|
||||||
|
|
||||||
# Assertion. Gatekeeper will compute an appropriate PathStep from `description` pointing at
|
# Assertion. Gatekeeper will compute an appropriate PathStep from `description` pointing at
|
||||||
# `target`, and will respond with a `Bound` to `observer` (if supplied).
|
# `target`, and will respond with a `Bound` to `observer` (if supplied).
|
||||||
Bind = <bind @description Description @target #!any @observer BindObserver> .
|
Bind = <bind @description Description @target #:any @observer BindObserver> .
|
||||||
Description = <<rec> @stepType symbol [@detail any]> .
|
Description = <<rec> @stepType symbol [@detail any]> .
|
||||||
BindObserver = @present #!Bound / @absent #f .
|
BindObserver = @present #:Bound / @absent #f .
|
||||||
Bound = <bound @pathStep PathStep> / Rejected .
|
Bound = <bound @pathStep PathStep> / Rejected .
|
||||||
|
|
||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
|
@ -27,10 +27,10 @@ Bound = <bound @pathStep PathStep> / Rejected .
|
||||||
# and `resolved`, respondent will follow `route.pathSteps` starting from one of the
|
# and `resolved`, respondent will follow `route.pathSteps` starting from one of the
|
||||||
# `route.transports`, asserting `ResolvePath` with the final `Resolved` as well as the selected
|
# `route.transports`, asserting `ResolvePath` with the final `Resolved` as well as the selected
|
||||||
# transport `addr` and a `control` for it.
|
# transport `addr` and a `control` for it.
|
||||||
ResolvePath = <resolve-path @route Route @addr any @control #!TransportControl @resolved Resolved> .
|
ResolvePath = <resolve-path @route Route @addr any @control #:TransportControl @resolved Resolved> .
|
||||||
|
|
||||||
TransportConnection = <connect-transport @addr any @control #!TransportControl @resolved Resolved> .
|
TransportConnection = <connect-transport @addr any @control #:TransportControl @resolved Resolved> .
|
||||||
ResolvedPathStep = <path-step @origin #!Resolve @pathStep PathStep @resolved Resolved> .
|
ResolvedPathStep = <path-step @origin #:Resolve @pathStep PathStep @resolved Resolved> .
|
||||||
PathStep = <<rec> @stepType symbol [@detail any]> .
|
PathStep = <<rec> @stepType symbol [@detail any]> .
|
||||||
|
|
||||||
# A `Route` describes a network path that can be followed to reach some target entity.
|
# A `Route` describes a network path that can be followed to reach some target entity.
|
||||||
|
|
|
@ -2,7 +2,7 @@ version 1 .
|
||||||
|
|
||||||
# Assertion in driver DS
|
# Assertion in driver DS
|
||||||
# Causes creation of server and route
|
# Causes creation of server and route
|
||||||
HttpBinding = <http-bind @host HostPattern @port int @method MethodPattern @path PathPattern @handler #!HttpRequest> .
|
HttpBinding = <http-bind @host HostPattern @port int @method MethodPattern @path PathPattern @handler #:HttpRequest> .
|
||||||
|
|
||||||
# Assertion in driver DS
|
# Assertion in driver DS
|
||||||
# Describes active server and route
|
# Describes active server and route
|
||||||
|
@ -34,7 +34,7 @@ QueryValue = @string string / <file @filename string @headers Headers @body byte
|
||||||
RequestBody = @present bytes / @absent #f .
|
RequestBody = @present bytes / @absent #f .
|
||||||
|
|
||||||
# Assertion to handler entity
|
# Assertion to handler entity
|
||||||
HttpContext = <request @req HttpRequest @res #!HttpResponse> .
|
HttpContext = <request @req HttpRequest @res #:HttpResponse> .
|
||||||
|
|
||||||
@<TODO "trailers?">
|
@<TODO "trailers?">
|
||||||
# Messages
|
# Messages
|
||||||
|
|
|
@ -16,4 +16,4 @@ TurnEvent = [@oid Oid @event Event].
|
||||||
Assert = <A @assertion Assertion @handle Handle>.
|
Assert = <A @assertion Assertion @handle Handle>.
|
||||||
Retract = <R @handle Handle>.
|
Retract = <R @handle Handle>.
|
||||||
Message = <M @body Assertion>.
|
Message = <M @body Assertion>.
|
||||||
Sync = <S @peer #!#t>.
|
Sync = <S @peer #:#t>.
|
||||||
|
|
|
@ -2,7 +2,7 @@ version 1 .
|
||||||
embeddedType EntityRef.Cap .
|
embeddedType EntityRef.Cap .
|
||||||
|
|
||||||
# Assertion:
|
# Assertion:
|
||||||
StreamConnection = <stream-connection @source #!Source @sink #!Sink @spec any>.
|
StreamConnection = <stream-connection @source #:Source @sink #:Sink @spec any>.
|
||||||
|
|
||||||
# Assertions:
|
# Assertions:
|
||||||
StreamListenerReady = <stream-listener-ready @spec any>.
|
StreamListenerReady = <stream-listener-ready @spec any>.
|
||||||
|
@ -13,7 +13,7 @@ StreamError = <error @message string>.
|
||||||
|
|
||||||
Source =
|
Source =
|
||||||
# Assertions:
|
# Assertions:
|
||||||
/ <sink @controller #!Sink>
|
/ <sink @controller #:Sink>
|
||||||
/ StreamError
|
/ StreamError
|
||||||
|
|
||||||
# Messages:
|
# Messages:
|
||||||
|
@ -22,7 +22,7 @@ Source =
|
||||||
|
|
||||||
Sink =
|
Sink =
|
||||||
# Assertions:
|
# Assertions:
|
||||||
/ <source @controller #!Source>
|
/ <source @controller #:Source>
|
||||||
/ StreamError
|
/ StreamError
|
||||||
|
|
||||||
# Messages:
|
# Messages:
|
||||||
|
|
|
@ -4,4 +4,4 @@ embeddedType EntityRef.Cap .
|
||||||
TcpRemote = <tcp-remote @host string @port int>.
|
TcpRemote = <tcp-remote @host string @port int>.
|
||||||
TcpLocal = <tcp-local @host string @port int>.
|
TcpLocal = <tcp-local @host string @port int>.
|
||||||
|
|
||||||
TcpPeerInfo = <tcp-peer @handle #!any @local TcpLocal @remote TcpRemote>.
|
TcpPeerInfo = <tcp-peer @handle #:any @local TcpLocal @remote TcpRemote>.
|
||||||
|
|
Loading…
Reference in New Issue