Sockeye: Implement port mappings
[barrelfish] / tools / sockeye / SockeyeAST.hs
index 066c45a..572ff32 100644 (file)
@@ -41,7 +41,8 @@ instance Show ModuleParamType where
     show AddressParam = "addr"
 
 data Port
-    = Port Identifier
+    = InputPort Identifier
+    | OutputPort Identifier
     | MultiPort (For Port)
     deriving (Show)