add new special node to parse expression and locate

This commit is contained in:
light-ly 2024-09-18 17:21:01 +08:00
parent af11f5ff1e
commit 4960ea3fb7

View File

@ -56,3 +56,16 @@ impl<T, U> List<T, U> {
ret ret
} }
} }
#[derive(Clone, Debug, PartialEq, Node)]
pub enum NeedGetLocate {
ParamAssignments(ListOfParameterAssignments),
PortConnections(ListOfPortConnections),
GateInstantiation(GateInstantiation),
}
#[derive(Clone, Debug, PartialEq, Node)]
pub enum NeedParseExpression {
Port(PackedDimensionRange),
Parameter(ConstantMintypmaxExpression),
}