Home
last modified time | relevance | path

Searched defs:PosBase (Results 1 – 8 of 8) sorted by relevance

/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/internal/src/
Dpos.go38 func MakePos(base *PosBase, line, col uint) Pos {
192 type PosBase struct { struct
193 pos Pos // position at which the relative position is (line, col)
194 filename string // file name used to open source file, for error messages
195 absFilename string // absolute file name, for PC-Line tables
196 line, col uint // relative line, column number at pos
197 inl int // inlining index (see cmd/internal/obj/inl.go)
198 fileIndex int // index of absFilename within PosTable.FileTable
228 func NewInliningBase(orig *PosBase, inlTreeIndex int) *PosBase {
245 func (b *PosBase) Pos() *Pos {
[all …]
/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/compile/internal/syntax/
Dpos.go26 func MakePos(base *PosBase, line, col uint) Pos { return Pos{base, sat32(line), sat32(col)} }
146 type PosBase struct { struct
147 pos Pos
148 filename string
149 line, col uint32
150 trimmed bool // whether -trimpath has been applied
176 func (base *PosBase) IsFileBase() bool {
183 func (base *PosBase) Pos() (_ Pos) {
190 func (base *PosBase) Filename() string {
197 func (base *PosBase) Line() uint {
[all …]
Dsyntax.go66 func Parse(base *PosBase, src io.Reader, errh ErrorHandler, pragh PragmaHandler, mode Mode) (_ *Fil…
/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/compile/internal/gc/
Dmain.go392 func makePos(b *src.PosBase, line, col uint) src.XPos {
/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/compile/internal/devirtualize/
Dpgo_test.go32 func makePos(b *src.PosBase, line, col uint) src.XPos {
/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/asm/internal/lex/
Dslice.go21 func NewSlice(base *src.PosBase, line int, tokens []Token) *Slice {
Dlex.go90 SetBase(*src.PosBase)
/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/compile/internal/noder/
Dnoder.go87 func trimFilename(b *syntax.PosBase) string {