Documentation ¶
Index ¶
- type Blade
- type ChildrenCollection
- type OrphanFinder
- type ParentCollection
- type VariableCollection
- type VariableCollector
- type ViewExplainer
- func (this *ViewExplainer) CollectChildrenFrom(viewName string) map[string]bool
- func (this *ViewExplainer) CollectParentsFrom(viewName string) map[string]bool
- func (this *ViewExplainer) CollectVariablesFromChildren(viewName string) map[string]int
- func (this *ViewExplainer) CollectVariablesFromParents(viewName string) map[string]int
- type ViewFinder
- type ViewIndexer
- type ViewNode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChildrenCollection ¶
type OrphanFinder ¶
type OrphanFinder struct {
Root string
}
func (*OrphanFinder) GetOrphans ¶
func (this *OrphanFinder) GetOrphans() []string
type ParentCollection ¶
type VariableCollection ¶
type VariableCollector ¶
type VariableCollector struct { }
func (*VariableCollector) GetAllVariablesFrom ¶
func (this *VariableCollector) GetAllVariablesFrom(path string) (map[string]int, error)
type ViewExplainer ¶
type ViewExplainer struct {
ViewIndexer ViewIndexer
}
func GetExplainer ¶
func GetExplainer(view_root string) ViewExplainer
func (*ViewExplainer) CollectChildrenFrom ¶
func (this *ViewExplainer) CollectChildrenFrom(viewName string) map[string]bool
func (*ViewExplainer) CollectParentsFrom ¶
func (this *ViewExplainer) CollectParentsFrom(viewName string) map[string]bool
func (*ViewExplainer) CollectVariablesFromChildren ¶
func (this *ViewExplainer) CollectVariablesFromChildren(viewName string) map[string]int
func (*ViewExplainer) CollectVariablesFromParents ¶
func (this *ViewExplainer) CollectVariablesFromParents(viewName string) map[string]int
type ViewFinder ¶
type ViewFinder struct {
Root string
}
func (*ViewFinder) GetFilePath ¶
func (this *ViewFinder) GetFilePath(view_name string) string
type ViewIndexer ¶
type ViewIndexer struct { RootDir string Explainer *VariableCollector ViewFinder *ViewFinder Writer *bufio.Writer }
func (*ViewIndexer) FindAllIncludes ¶
func (this *ViewIndexer) FindAllIncludes(path string) ([]string, error)
func (*ViewIndexer) IndexView ¶
func (this *ViewIndexer) IndexView(view_name string) []*ViewNode
func (*ViewIndexer) IndexViews ¶
func (this *ViewIndexer) IndexViews(root string) map[string]ViewNode
Click to show internal directories.
Click to hide internal directories.