mirror of
https://github.com/Quad4-Software/Reticulum-Go
synced 2026-08-29 23:48:44 -04:00
14 lines
297 B
Go
14 lines
297 B
Go
// SPDX-License-Identifier: Apache-2.0
|
|
// Copyright (c) 2024-2026 Quad4.io
|
|
|
|
package zenfix
|
|
|
|
import (
|
|
"go/ast"
|
|
"go/parser"
|
|
"go/token"
|
|
)
|
|
|
|
func parserParseFile(fset *token.FileSet, path string, src any) (*ast.File, error) {
|
|
return parser.ParseFile(fset, path, src, parser.SkipObjectResolution)
|
|
}
|