directive

package
v0.6.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 24, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package directive provides utilities for processing ctxweaver directives in comments.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HasSkipDirective

func HasSkipDirective(decs *dst.NodeDecs) bool

HasSkipDirective checks if node decorations contain a skip directive. This is used for file-level and function-level skip directives.

func HasStmtSkipDirective

func HasStmtSkipDirective(stmt dst.Stmt) bool

HasStmtSkipDirective checks if a statement has a skip directive comment. Checks both Start (before) and End (trailing) decorations.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL