Versions in this module Expand all Collapse all v0 v0.3.0 Jun 18, 2021 Changes in this version + func Register(config *linter.Config, globalCtx *GlobalContext, pal *palette.Palette, ...) + type BlockChecker struct + func NewBlockChecker(ctx *linter.BlockContext, root *RootChecker) *BlockChecker + func (b *BlockChecker) BeforeEnterNode(n ir.Node) + func (b *BlockChecker) EnterNode(n ir.Node) bool + func (b *BlockChecker) LeaveNode(n ir.Node) + type BlockIndexer struct + type FileMeta struct + Functions *symbols.Functions + func NewFileMeta() FileMeta + type GlobalContext struct + Functions *symbols.Functions + Info *meta.Info + func NewGlobalContext(info *meta.Info) *GlobalContext + func (ctx *GlobalContext) Decode(r io.Reader, filename string) error + func (ctx *GlobalContext) Encode(writer io.Writer, checker linter.RootChecker) error + func (ctx *GlobalContext) UpdateMeta(f *FileMeta, filename string) + func (ctx *GlobalContext) Version() string + type RootChecker struct + func NewRootChecker(palette *palette.Palette, globalCtx *GlobalContext, ctx *linter.RootContext, ...) *RootChecker + func (r *RootChecker) AfterEnterNode(n ir.Node) + func (r *RootChecker) BeforeEnterFile() + func (r *RootChecker) BeforeEnterNode(n ir.Node) + func (r *RootChecker) EnterNode(n ir.Node) bool + func (r *RootChecker) LeaveNode(ir.Node) + type RootIndexer struct + func NewRootIndexer(globalCtx *GlobalContext, ctx *linter.RootContext) *RootIndexer + func (r *RootIndexer) AfterLeaveFile() + func (r *RootIndexer) BeforeEnterFile() + func (r *RootIndexer) BeforeEnterNode(n ir.Node)