MCPcopy Create free account
hub / github.com/microsoft/typescript-go / Pos

Method Pos

internal/ast/ast.go:193–193  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

191
192func (n *Node) AsNode() *Node { return n }
193func (n *Node) Pos() int { return n.Loc.Pos() }
194func (n *Node) End() int { return n.Loc.End() }
195func (n *Node) IterChildren() iter.Seq[*Node] {
196 // Implemented directly (rather than through the nodeData interface) so that the

Calls 1

PosMethod · 0.65

Tested by

no test coverage detected