MCPcopy Create free account
hub / github.com/despiteallobjections/amigo / tokenPos

Function tokenPos

types/source.go:41–41  ·  view source on GitHub ↗

tokenPos returns n.Pos(). It exists just for internal documentation purposes, to help remind which token position package ssa was originally accessing.

(n Node, _ tokName)

Source from the content-addressed store, hash-verified

39// It exists just for internal documentation purposes, to help remind
40// which token position package ssa was originally accessing.
41func tokenPos(n Node, _ tokName) Pos { return n.Pos() }
42
43type tokName int
44

Callers 12

logicalBinopMethod · 0.85
exprNMethod · 0.85
addrMethod · 0.85
expr0Method · 0.85
expr0Method · 0.85
setCallArgsMethod · 0.85
setCallMethod · 0.85
compLitMethod · 0.85
typeSwitchStmtMethod · 0.85
selectStmtMethod · 0.85
rangeStmtMethod · 0.85
stmtMethod · 0.85

Calls 1

PosMethod · 0.65

Tested by

no test coverage detected