Tags: golangsnmp/gomib
Tags
Replace IdentifierAt/IsIdentByte with TokenAt, remove SymbolReferences - Replace byte-scanning heuristic (IdentifierAt, IsIdentByte) with TokenAt that walks the CST token stream for the token at a given offset, correctly excluding comments and strings - Remove SymbolReferences, SymbolRef, RefKind (unused, duplicated by LSP's own semantic reference collection) - Update changelog to reflect the actual API surface
Make --permissive relax diagnostic failure threshold --permissive now sets both resolver strictness (tier-3 global fallbacks) and FailAt = SeverityFatal, so vendor MIB sets with spec violations don't fail on non-fatal diagnostics. - Add shared addStrictnessFlags/strictnessOpts helpers in main.go - Apply to load, normalize, and dump commands - Replace dump --strictness with --strict/--permissive for consistency - Document the distinction between ResolverStrictness and DiagnosticConfig in API docs (gomib.go, types/enums.go, types/diagnostic.go)
Update README and add tokens example for post-v0.6.0 APIs - Add tokenization section with token package usage - Add Symbol, module introspection, AllSymbols, ScanModuleNames docs - Add Node.Description/Reference and normalize CLI command - Add examples/tokens showing inline MIB tokenization
Add smiwrite package and normalize CLI command - Add smiwrite package for emitting canonical SMIv2 text from resolved MIBs - Support OBJECT-TYPE, NOTIFICATION-TYPE, TEXTUAL-CONVENTION, MODULE-IDENTITY, MODULE-COMPLIANCE, OBJECT-GROUP, NOTIFICATION-GROUP, AGENT-CAPABILITIES, SEQUENCE, and OID assignments - Normalize SMIv1 status/access values to SMIv2 equivalents - Track and emit IMPORTS based on actual symbol usage - Add options for toggling conformance, descriptions, and sequences - Add normalize command to CLI - Add Module.IsBase() to public API
PreviousNext