Function fullPtrType [src]

Prototype

pub fn fullPtrType(tree: Ast, node: Node.Index) ?full.PtrType

Parameters

tree: Astnode: Node.Index

Source

pub fn fullPtrType(tree: Ast, node: Node.Index) ?full.PtrType { return switch (tree.nodeTag(node)) { .ptr_type_aligned => tree.ptrTypeAligned(node), .ptr_type_sentinel => tree.ptrTypeSentinel(node), .ptr_type => tree.ptrType(node), .ptr_type_bit_range => tree.ptrTypeBitRange(node), else => null, }; }