package
1.23.0
Repository: https://github.com/shogo82148/std.git
Documentation: pkg.go.dev

# Functions

MakePos creates a new Pos value with the given base, and (file-absolute) line and column.
NewFileBase returns a new *PosBase for a file with the given (relative and absolute) filenames.
NewInliningBase returns a copy of the orig PosBase with the given inlining index.
NewLinePragmaBase returns a new *PosBase for a line directive of the form //line filename:line:col /*line filename:line:col*/ at position pos.

# Constants

FileSymPrefix is the linker symbol prefix that used to be used for linker pseudo-symbols representing file names.
No description provided by the author
It is expected that the front end or a phase in SSA will usually generate positions tagged with PosDefaultStmt, but note statement boundaries with PosIsStmt.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

NoPos is a valid unknown position.
NoXPos is a valid unknown position.

# Structs

A Pos encodes a source position consisting of a (line, column) number pair and a position base.
A PosBase encodes a filename and base position.
A PosTable tracks Pos -> XPos conversions and vice versa.
XPos is a more compact representation of Pos.

# Type aliases

No description provided by the author