Alessandro Ghedini > Clang-0.06 > Clang::Cursor

Download:
Clang-0.06.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.06   Source  

NAME ^

Clang::Cursor - Clang cursor class

VERSION ^

version 0.06

DESCRIPTION ^

A Clang::Cursor represents an element in the abstract syntax tree of a translation unit.

METHODS ^

kind( )

Retrieve the Clang::CursorKind of the given cursor.

type( )

Retrieve the Clang::Type of the entity referenced by the given cursor.

spelling( )

Retrieve the name for the entity referenced by the given cursor.

displayname( )

Return the display name for the entity referenced by the given cursor.

children( )

Retrieve a list of the children of the given cursor. The children are Clang::Cursor objects too.

location( )

Retrieve the location of the given cursor. This function returns three values, a string containing the source file name, an integer containing the line number and another integer containing the column number.

AUTHOR ^

Alessandro Ghedini <alexbio@cpan.org>

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.

syntax highlighting: