Documentation
¶
Overview ¶
Package gwdkanalysis lowers GOWDK AST files into normalized manifest and IR metadata.
Index ¶
- Constants
- func BuildIR(config gowdk.Config, app manifest.Manifest) gwdkir.Program
- func LowerComponent(source string, ast gwdkast.File) (manifest.Component, error)
- func LowerLayout(source string, ast gwdkast.File) (manifest.Layout, error)
- func LowerPage(source string, ast gwdkast.File) (manifest.Page, error)
- type Result
- type SourceFile
- type SourceKind
Constants ¶
View Source
const ( SourcePage = gwdkir.SourcePage SourceComponent = gwdkir.SourceComponent SourceLayout = gwdkir.SourceLayout )
Variables ¶
This section is empty.
Functions ¶
func LowerComponent ¶
LowerComponent lowers one component AST into manifest compatibility records.
func LowerLayout ¶
LowerLayout lowers one layout AST into manifest compatibility records.
Types ¶
type SourceFile ¶
type SourceFile struct {
Path string
Kind SourceKind
AST gwdkast.File
}
SourceFile is one parsed GOWDK AST file ready for analysis.
type SourceKind ¶
type SourceKind = gwdkir.SourceKind
Click to show internal directories.
Click to hide internal directories.