Versions in this module Expand all Collapse all v1 v1.2.1 Feb 9, 2026 Changes in this version + var ErrorInvalidArgs = errors.New("invalid arguments for command") + var ErrorInvalidArgsMissingArguments = errors.New("must provide at least one argument") + var ErrorInvalidArgsMissingClosingParantheses = errors.New("missing closing paranthesis for argument list") + var ErrorInvalidArgsMissingOpeningParantheses = errors.New("missing opening paranthesis for argument list") + var ErrorInvalidArgsMissingSpecFile = errors.New("file path not found") + var ErrorInvalidArgsNumber = errors.New("invalid number of arguments for command") + var ErrorInvalidArgsRFCNumber = errors.New("RFC number must be a positive integer") + var ErrorInvalidArgsURL = errors.New("invalid URL format") + var ErrorInvalidCommand = errors.New("invalid command") + func FindReferences(document string) ([]InlineReference, []InlineError) + type InlineCommand string + const File + const Invalid + const RFC + const URL + type InlineError struct + ColumnNumber int + Err error + Line string + LineNumber int + func (e InlineError) Error() string + func (e InlineError) Format() string + type InlineReference struct + Args []string + Command InlineCommand + LineNumber int