compiler, runtime: Refactor P4DataType to P4Type

Now that the old P4Type is a P4QualifiedType, it makes sense to
rename the data type back to just type.

Signed-off-by: Will Hawkins <hawkinsw@obs.cr>
This commit is contained in:
Will Hawkins
2026-05-04 07:37:48 -04:00
parent 7c660b2b0c
commit 5cfe5532a2
15 changed files with 77 additions and 77 deletions
+5 -5
View File
@@ -59,7 +59,7 @@ import TreeSitterP4
default: false
}
}
var control = ((controls[0].baseType() as P4DataType) as! Control)
var control = ((controls[0].baseType() as P4Type) as! Control)
// Add entries to the table.
control = control.updateTable(
@@ -130,7 +130,7 @@ import TreeSitterP4
default: false
}
}
var control = ((controls[0].baseType() as P4DataType) as! Control)
var control = ((controls[0].baseType() as P4Type) as! Control)
// Add entries to the table.
control = control.updateTable(
@@ -201,7 +201,7 @@ import TreeSitterP4
default: false
}
}
var control = ((controls[0].baseType() as P4DataType) as! Control)
var control = ((controls[0].baseType() as P4Type) as! Control)
// Add entries to the table.
control = control.updateTable(
@@ -271,7 +271,7 @@ import TreeSitterP4
default: false
}
}
var control = ((controls[0].baseType() as P4DataType) as! Control)
var control = ((controls[0].baseType() as P4Type) as! Control)
// Add entries to the table.
control = control.updateTable(
@@ -342,7 +342,7 @@ import TreeSitterP4
default: false
}
}
var control = ((controls[0].baseType() as P4DataType) as! Control)
var control = ((controls[0].baseType() as P4Type) as! Control)
// Add entries to the table.
control = control.updateTable(