MCPcopy Create free account
hub / github.com/OpenAtomFoundation/SmartIDE / Position

Struct Position

cli/pkg/ssh_config/position.go:15–18  ·  view source on GitHub ↗

Position of a document element within a SSH document. Line and Col are both 1-indexed positions for the element's line number and column number, respectively. Values of zero or less will cause Invalid(), to return true.

Source from the content-addressed store, hash-verified

13// column number, respectively. Values of zero or less will cause Invalid(),
14// to return true.
15type Position struct {
16 Line int // line within the document
17 Col int // column within the line
18}
19
20// String representation of the position.
21// Displays 1-indexed line and column numbers.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected