Documentation ¶
Index ¶
- func Resources[R resource.Resource](res *Result) []R
- type Parser
- type Result
- func (d *Result) AllBinds() []resource.Bind
- func (d *Result) AllUsageExprs() []usage.Expr
- func (d *Result) AllUsages() []usage.Usage
- func (d *Result) AppPackages() []*pkginfo.Package
- func (d *Result) BindForQN(qn pkginfo.QualifiedName) option.Option[resource.Bind]
- func (d *Result) Binds(res resource.Resource) []resource.Bind
- func (d *Result) MainModule() *pkginfo.Module
- func (d *Result) PackageAt(path paths.Pkg) option.Option[*pkginfo.Package]
- func (d *Result) PkgDeclBinds(res resource.Resource) []*resource.PkgDeclBind
- func (d *Result) ResourceConstructorContaining(node ast.Node) option.Option[resource.Resource]
- func (d *Result) ResourceForBind(b resource.Bind) resource.Resource
- func (d *Result) ResourceForQN(qn pkginfo.QualifiedName) option.Option[resource.Resource]
- func (d *Result) Resources() []resource.Resource
- func (d *Result) UsageFromNode(node ast.Node) option.Option[usage.Usage]
- func (d *Result) Usages(res resource.Resource) []usage.Usage
- func (d *Result) UsagesInPkg(pkgPath paths.Pkg) []usage.Usage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
func (*Parser) MainModule ¶
func (*Parser) Parse ¶
Parse parses the given application for uses of the Encore API Framework and the Encore infrastructure SDK.
func (*Parser) RuntimeModule ¶ added in v1.16.0
type Result ¶
type Result struct {
// contains filtered or unexported fields
}
func (*Result) AllUsageExprs ¶
func (*Result) AppPackages ¶
func (*Result) MainModule ¶
func (*Result) PkgDeclBinds ¶
func (d *Result) PkgDeclBinds(res resource.Resource) []*resource.PkgDeclBind
func (*Result) ResourceConstructorContaining ¶
func (*Result) ResourceForBind ¶
func (*Result) ResourceForQN ¶
func (*Result) UsageFromNode ¶
Click to show internal directories.
Click to hide internal directories.