Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dave/astrid
Astrid is a collection of AST utilities for Go
https://github.com/dave/astrid
Last synced: about 1 month ago
JSON representation
Astrid is a collection of AST utilities for Go
- Host: GitHub
- URL: https://github.com/dave/astrid
- Owner: dave
- License: mit
- Created: 2017-03-23T09:23:53.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-03-23T12:25:12.000Z (almost 8 years ago)
- Last Synced: 2024-10-13T14:35:33.398Z (3 months ago)
- Language: Go
- Size: 16.6 KB
- Stars: 4
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/dave/astrid.svg?branch=master)](https://travis-ci.org/dave/astrid) [![Go Report Card](https://goreportcard.com/badge/github.com/dave/astrid)](https://goreportcard.com/report/github.com/dave/astrid) [![codecov](https://codecov.io/gh/dave/astrid/branch/master/graph/badge.svg)](https://codecov.io/gh/dave/astrid)
# Astrid
Astrid is a collection of AST utilities for Go
# Matcher
NewMatcher returns a new *Matcher with the provided Uses and Defs from
types.Info### Matcher.Match
Match determines whether two ast.Expr's are equivalent
# Invert
Invert returns the inverse of the provided expression.