mirror of
https://github.com/Myzel394/config-lsp.git
synced 2025-06-18 15:05:28 +02:00
17 lines
357 B
Go
17 lines
357 B
Go
package indexes
|
|
|
|
import "config-lsp/handlers/wireguard/ast"
|
|
|
|
type WGIndexPropertyInfo struct {
|
|
Section *ast.WGSection
|
|
Property *ast.WGProperty
|
|
}
|
|
|
|
type WGIndexes struct {
|
|
// map of: section name -> *WGSection
|
|
SectionsByName map[string][]*ast.WGSection
|
|
|
|
// map of: line number -> *WGIndexPropertyInfo
|
|
UnknownProperties map[uint32]WGIndexPropertyInfo
|
|
}
|