Clang3pm
Perl bindings to the clang compiler's indexing interface
Usage
use Clang;my $index = Clang::Index -> new(1);my $tunit = $index -> parse('file.c');my $nodes = $tunit -> cursor -> children;foreach my $node (@$nodes) {say $node -> spelling;say $node -> kind -> spelling;}
Version
version 0.09
Overview
Clang is a compiler front end for the C, C++, Objective-C, and Objective-C++ programming languages which uses LLVM as its back end.
This module provides Perl bindings to the Clang indexing interface, used for extracting high-level symbol information from source files without exposing the full Clang C++ API.
License and copyright
Copyright 2012 Alessandro Ghedini.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
Releases
5 releases since Debian 9 (Stretch); the text changed 4 times.