Skip to content

Commit 9d424ce

Browse files
Arielwyy王雅仪
andauthored
fixbug[parser-Go]: remove unused Offset field of Position (#46)
* fixbug: add support for parsing classes with generic base types (e.g., Generic[T]) in Python UAST * fixbug: use ScopedType instead of Identifier for user-defined types in VariableDeclaration * fixbug: remove unused Offset field of Position --------- Co-authored-by: 王雅仪 <wangyayi.wyy@antgroup.com>
1 parent 3bc1302 commit 9d424ce

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

parser-Go/uast/asttype.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
package uast
44

55
type Position struct {
6-
Offset int // offset, starting at 0
76
Line int `json:"line"` // line number, starting at 1
87
Column int `json:"column"` // column number, starting at 1 (byte count)
98
}

0 commit comments

Comments
 (0)