---
title: column()
framework: swift
role: symbol
role_heading: Macro
path: swift/column()
---

# column()

Produces the column number in which the macro begins.

## Declaration

```swift
@freestanding(expression) macro column<T>() -> T where T : ExpressibleByIntegerLiteral
```

## See Also

### Getting Source Location Information

- [file()](swift/file().md)
- [fileID()](swift/fileid().md)
- [filePath()](swift/filepath().md)
- [function()](swift/function().md)
- [line()](swift/line().md)
