PUMA Library Reference Manual
PUMA Library Reference Manual

This is the class documentation of the PUMA library. PUMA is an extensible C/C++ source code analysis and transformation library written in C++.

See puma.aspectc.org for more information.

The main classes of the library are the following.

Source directory, error, and configuration handling

Lexical analysis

Preprocessing

Syntactic analysis

  • Puma::Syntax - Base class for language specific syntax analyses
  • Puma::Builder - Base class for language specific syntax tree builders
  • Puma::CTree - Base class for syntax tree nodes for C, C++ and derived languages

Semantic analysis

Parsing (chaining of lexical, syntactic, and semantic analysis)

Transformation (source code manipulation)