We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b6b3cf commit f8ef071Copy full SHA for f8ef071
Sources/SwiftSyntax/SyntaxData.swift
@@ -11,6 +11,7 @@
11
//===----------------------------------------------------------------------===//
12
13
struct AbsoluteSyntaxPosition {
14
+ /// The UTF-8 offset of the syntax node in the source file
15
let offset: UInt32
16
let indexInParent: UInt32
17
@@ -47,6 +48,7 @@ struct AbsoluteSyntaxInfo {
47
48
let position: AbsoluteSyntaxPosition
49
let nodeId: SyntaxIdentifier
50
51
52
var offset: UInt32 { return position.offset }
53
var indexInParent: UInt32 { return position.indexInParent }
54
0 commit comments