compiler, runtime: Refactor P4Type to P4QualifiedType
Also, refer to the different pieces of the qualified type as qualifiers and not attributes. Signed-off-by: Will Hawkins <hawkinsw@obs.cr>
This commit is contained in:
@@ -19,9 +19,9 @@ import Common
|
||||
|
||||
public struct AttributedP4Type {
|
||||
public let type: P4DataType
|
||||
public let attributes: P4Type
|
||||
public let attributes: P4QualifiedType
|
||||
|
||||
public init(_ type: P4DataType, _ attributes: P4Type) {
|
||||
public init(_ type: P4DataType, _ attributes: P4QualifiedType) {
|
||||
self.type = type
|
||||
self.attributes = attributes
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user