]> Cypherpunks repositories - gostls13.git/commit
cmd/compile/internal/noder: document the PosBase section
authorMark Freeman <mark@golang.org>
Fri, 16 May 2025 14:42:06 +0000 (10:42 -0400)
committerGopher Robot <gobot@golang.org>
Mon, 19 May 2025 19:40:29 +0000 (12:40 -0700)
commit2ab210bc7416ff16da95c46c97ede2272f42f718
treed33588a71080c56b8d5d23345a814195a42cdb0c
parent177d5eb630ab25916b6c44a6fa89ab371433f9fa
cmd/compile/internal/noder: document the PosBase section

Positions mostly borrow their representation from package syntax. Of
note, constants (such as the zero value for positions) are not encoded
directly. Rather, a flag typically signals such values.

Change-Id: I6b4bafc6e96bb21902dd2d6e164031e7dd5aabdd
Reviewed-on: https://go-review.googlesource.com/c/go/+/673535
TryBot-Bypass: Mark Freeman <mark@golang.org>
Reviewed-by: Robert Griesemer <gri@google.com>
Auto-Submit: Mark Freeman <mark@golang.org>
src/cmd/compile/internal/noder/doc.go