pygccxml
2.2.1
  • Download & Install
  • Examples
    • Setting up pygccxml and parsing c/c++ code
      • Parsing a c++ file
      • Parsing a string containing code
    • First examples
      • Variables
      • Searching for a declaration (using a loop)
      • Searching for a declaration (using matchers)
      • Comparing two declarations
      • Functions and arguments
      • Nested types
      • Explicit and implicit class declarations
      • Compound types
      • C++ Templates
    • Advanced examples
      • Elaborated type specifiers
      • Function pointers
      • Caching
      • Print all declarations
  • FAQ
  • API
  • Building the documentation
  • Declarations query API
  • Design overview
  • Who is using pygccxml?
  • C++ Reflection
  • Releasing
  • History and Credits
  • GCC-XML 0.7 → 0.9 upgrade issues (Legacy)
pygccxml
  • »
  • Examples
  • View page source

Examples¶

Setting up pygccxml and parsing c/c++ code¶

  • Parsing a c++ file
  • Parsing a string containing code

First examples¶

  • Variables
  • Searching for a declaration (using a loop)
  • Searching for a declaration (using matchers)
  • Comparing two declarations
  • Functions and arguments
  • Nested types
  • Explicit and implicit class declarations
  • Compound types
  • C++ Templates

Advanced examples¶

  • Elaborated type specifiers
  • Function pointers
  • Caching
  • Print all declarations
Previous Next

© Copyright 2014-2021, Insight Software Consortium.

Built with Sphinx using a theme provided by Read the Docs.