literals

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2021 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Obfuscate

func Obfuscate(file *ast.File, info *types.Info, fset *token.FileSet, ignoreObj map[types.Object]bool) *ast.File

Obfuscate replaces literals with obfuscated anonymous functions.

func RecordUsedAsConstants

func RecordUsedAsConstants(node ast.Node, info *types.Info, ignoreObj map[types.Object]bool)

RecordUsedAsConstants records identifieres used in constant expressions.

Types

This section is empty.

Jump to

Keyboard shortcuts

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