@@ -72,7 +72,6 @@ public class Variable: TypedIdentifier {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/// The type for a P4 struct
|
||||
public struct P4Struct: P4Type {
|
||||
|
||||
@@ -247,7 +246,6 @@ public class P4StringValue: P4Value {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public class Packet {
|
||||
public init() {}
|
||||
}
|
||||
|
||||
@@ -141,7 +141,9 @@ extension Result: CustomStringConvertible {
|
||||
#externalMacro(module: "Macros", type: "UseOkResult")
|
||||
@freestanding(expression) public macro UseErrorResult<T>(_: Result<T>) -> Error =
|
||||
#externalMacro(module: "Macros", type: "UseErrorResult")
|
||||
@freestanding(codeItem) public macro RequireNodeType<N, T>(node: N, type: String, nice_type_name: String) =
|
||||
@freestanding(codeItem) public macro RequireNodeType<N, T>(
|
||||
node: N, type: String, nice_type_name: String
|
||||
) =
|
||||
#externalMacro(module: "Macros", type: "RequireNodeType")
|
||||
@freestanding(codeItem) public macro RequireNodesType<N, T>(
|
||||
nodes: N, type: [String], nice_type_names: [String]
|
||||
|
||||
Reference in New Issue
Block a user