Versions in this module Expand all Collapse all v0 v0.12.3 Jul 7, 2026 v0.12.2 Jun 27, 2026 v0.12.1 Jun 27, 2026 v0.12.0 Jun 26, 2026 v0.11.0 Jun 22, 2026 v0.10.0 Jun 22, 2026 v0.9.0 Jun 22, 2026 v0.8.0 Jun 22, 2026 v0.7.0 Jun 17, 2026 v0.6.1 Jun 16, 2026 v0.6.0 Jun 16, 2026 v0.5.0 Jun 15, 2026 Changes in this version + func Canonical(source string) (string, error) + func ComponentReferences(source string) ([]string, error) + func ComponentReferencesFromNodes(nodes []viewmodel.Node) []string + func ParamReferences(source string) ([]string, error) + func ParamReferencesFromNodes(nodes []viewmodel.Node) []string + type CommandReference struct + Command string + End int + Method string + Path string + Start int + func CommandReferences(source string) ([]CommandReference, error) + func CommandReferencesFromNodes(nodes []viewmodel.Node) ([]CommandReference, error) + type ComponentCallUsage struct + Component string + Island string + ReactiveProps bool + func ComponentCallUsages(source string) ([]ComponentCallUsage, error) + func ComponentCallUsagesFromNodes(nodes []viewmodel.Node) ([]ComponentCallUsage, error) + type ComponentIslandUsage struct + Component string + Mode string + func ComponentIslandUsages(source string) ([]ComponentIslandUsage, error) + func ComponentIslandUsagesFromNodes(nodes []viewmodel.Node) ([]ComponentIslandUsage, error) + type ComponentReference struct + End int + Name string + Start int + func ComponentReferenceSpans(source string) ([]ComponentReference, error) + func ComponentReferenceSpansFromNodes(nodes []viewmodel.Node) []ComponentReference + type ContractReference struct + End int + Kind ContractReferenceKind + Method string + Name string + Path string + Start int + func ContractReferences(source string) ([]ContractReference, error) + func ContractReferencesFromNodes(nodes []viewmodel.Node) ([]ContractReference, error) + type ContractReferenceKind string + const ContractReferenceCommand + const ContractReferenceQuery + type Dependencies struct + Assets []string + CSSClasses []string + StyleAttributes []string + func ViewDependencies(source string) (Dependencies, error) + func ViewDependenciesFromNodes(nodes []viewmodel.Node) Dependencies + type QueryReference struct + End int + Query string + Start int + func QueryReferences(source string) ([]QueryReference, error) + func QueryReferencesFromNodes(nodes []viewmodel.Node) ([]QueryReference, error) + type SubscriptionReference struct + Event string + EventEnd int + EventStart int + Query string + QueryEnd int + QueryStart int + func SubscriptionReferences(source string) ([]SubscriptionReference, error) + func SubscriptionReferencesFromNodes(nodes []viewmodel.Node) ([]SubscriptionReference, error)