mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 22:02:55 +01:00
Semantics for array type (#3087)
Co-authored-by: Farzana Ahmed Siddique <fasiddique@google.com>
This commit is contained in:
co-authored by
Farzana Ahmed Siddique
parent
90cca11ea3
commit
9228487d46
@@ -310,6 +310,14 @@ class SemanticsNode {
|
||||
using AddressOf = SemanticsNode::Factory<SemanticsNodeKind::AddressOf,
|
||||
SemanticsNodeId /*lvalue_id*/>;
|
||||
|
||||
using ArrayType =
|
||||
SemanticsNode::Factory<SemanticsNodeKind::ArrayType,
|
||||
SemanticsNodeId /*bound_node_id*/,
|
||||
SemanticsTypeId /*array_element_type_id*/>;
|
||||
|
||||
using ArrayValue = Factory<SemanticsNodeKind::ArrayValue,
|
||||
SemanticsNodeId /*tuple_value_id*/>;
|
||||
|
||||
using Assign = SemanticsNode::FactoryNoType<SemanticsNodeKind::Assign,
|
||||
SemanticsNodeId /*lhs_id*/,
|
||||
SemanticsNodeId /*rhs_id*/>;
|
||||
|
||||
Reference in New Issue
Block a user