analysis_utils 0.1.1 copy "analysis_utils: ^0.1.1" to clipboard
analysis_utils: ^0.1.1 copied to clipboard

Utilities for simplifying static source code analysis

analysis_utils #

A library for facilitating the analysis of code integrating both dart:mirrors and analyzer packages (in the AST nodes facet)

Features #

So far the library supports:

  • Documentation blocks parsing
  • source_span's in-file source locations
  • Annotations analysis and instantiation
  • Class Analysis
    • Method analysis
    • Field analysis
    • Constructor analysis

Usage #

So far, the usage is ClassAnalysis oriented only:

import "package:analysis_utils/analysis.dart";

main(){
  ClassAnalysis typeAnalysis = ClassAnalysis.fromType(Clazz);
  Clazz c = Clazz();
  ClassAnalysis instanceAnalysis = ClassAnalysis.fromInstance(c);
}

For more info you can see the example, test or documentation

Please file feature requests and bugs at the issue tracker.

0
likes
25
pub points
0%
popularity

Publisher

unverified uploader

Utilities for simplifying static source code analysis

Repository
View/report issues

License

BSD-3-Clause (LICENSE)

Dependencies

analyzer, cli_util, glob, path, source_span

More

Packages that depend on analysis_utils