Logo
Explore Help
Register Sign In
Mirrors/task
1
0
Fork 0
You've already forked task
mirror of https://github.com/go-task/task.git synced 2025-12-18 04:37:43 +01:00
Code Issues Packages Projects Releases Wiki Activity
Files
tui
task/taskfile/ast/location.go

19 lines
247 B
Go
Raw Permalink Normal View History

refactor: taskfile/ast package (#1450) * refactor: ast package * feat: read -> taskfile * refactor: taskfile.Taskfile -> taskfile.Read * refactor: move merge function back into taskfile package * refactor: rename taskfile.go to read.go
2023-12-29 20:32:03 +00:00
package ast
feat: add task location data to json output (#1056) * feat: add task location data to json output * feat: add root taskfile location to --json output
2023-03-17 12:34:06 +00:00
type Location struct {
Line int
Column int
Taskfile string
}
func (l *Location) DeepCopy() *Location {
if l == nil {
return nil
}
return &Location{
Line: l.Line,
Column: l.Column,
Taskfile: l.Taskfile,
}
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.2 Page: 57ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API