quick sort
This commit is contained in:
@@ -45,6 +45,7 @@ pub const Node = struct {
|
||||
import_decl: ImportDecl,
|
||||
namespace_decl: NamespaceDecl,
|
||||
array_type_expr: ArrayTypeExpr,
|
||||
slice_type_expr: SliceTypeExpr,
|
||||
array_literal: ArrayLiteral,
|
||||
parameterized_type_expr: ParameterizedTypeExpr,
|
||||
index_expr: IndexExpr,
|
||||
@@ -279,6 +280,10 @@ pub const ArrayTypeExpr = struct {
|
||||
element_type: *Node, // type_expr for the element type
|
||||
};
|
||||
|
||||
pub const SliceTypeExpr = struct {
|
||||
element_type: *Node, // type_expr for the element type
|
||||
};
|
||||
|
||||
pub const ArrayLiteral = struct {
|
||||
elements: []const *Node,
|
||||
type_expr: ?*Node = null,
|
||||
|
||||
Reference in New Issue
Block a user