Function fullArrayType [src]

Prototype

pub fn fullArrayType(tree: Ast, node: Node.Index) ?full.ArrayType

Parameters

tree: Astnode: Node.Index

Source

pub fn fullArrayType(tree: Ast, node: Node.Index) ?full.ArrayType { return switch (tree.nodeTag(node)) { .array_type => tree.arrayType(node), .array_type_sentinel => tree.arrayTypeSentinel(node), else => null, }; }