go/token.Position.Column (field)
34 uses
go/token (current package)
position.go#L24: Column int // column number, starting at 1 (byte count)
position.go#L46: if pos.Column != 0 {
position.go#L47: s += fmt.Sprintf(":%d", pos.Column)
position.go#L337: pos.Filename, pos.Line, pos.Column = f.unpack(offset, adjusted)
go/build
read.go#L37: Column: 1,
read.go#L105: r.pos.Column = 1
read.go#L107: r.pos.Column++
read.go#L482: pos.Column += utf8.RuneCountInString(args[:n])
go/parser
parser.go#L216: fmt.Printf("%5d:%3d: ", pos.Line, pos.Column)
go/printer
nodes.go#L802: startCol := p.out.Column - len("func")
nodes.go#L1763: return p.out.Column - startOutCol
nodes.go#L1774: startCol := p.out.Column - len("func ")
printer.go#L97: p.pos = token.Position{Line: 1, Column: 1}
printer.go#L98: p.out = token.Position{Line: 1, Column: 1}
printer.go#L229: p.pos.Column += n
printer.go#L230: p.out.Column += n
printer.go#L250: if p.out.Column == 1 {
printer.go#L264: p.pos.Column = 1
printer.go#L265: p.out.Column = 1
printer.go#L268: p.pos.Column += n
printer.go#L269: p.out.Column += n
printer.go#L284: if p.out.Column == 1 {
printer.go#L332: p.pos.Column = c
printer.go#L333: p.out.Column = c
printer.go#L335: p.pos.Column += len(s)
printer.go#L336: p.out.Column += len(s)
printer.go#L432: if tok != token.RBRACE && pos.Column == next.Column {
printer.go#L643: if strings.HasPrefix(text, linePrefix) && (!pos.IsValid() || pos.Column == 1) {
printer.go#L666: if pos.IsValid() && pos.Column == 1 && p.indent > 0 {
go/scanner
errors.go#L63: if e.Column != f.Column {
errors.go#L64: return e.Column < f.Column
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |