File: ast_utils.h

package info (click to toggle)
umbrello 4%3A25.12.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 46,212 kB
  • sloc: cpp: 144,235; php: 2,405; sh: 855; xml: 354; cs: 309; java: 91; python: 68; makefile: 11; sql: 7
file content (25 lines) | stat: -rw-r--r-- 520 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*
    SPDX-FileCopyrightText: 2002 Roberto Raggi <roberto@kdevelop.org>
    SPDX-License-Identifier: GPL-2.0-or-later

*/

#ifndef AST_UTILS_H
#define AST_UTILS_H

#include <QString>

class AST;
class DeclaratorAST;
class TypeSpecifierAST;

namespace KTextEditor
{
class EditInterface;
}

void scopeOfNode(AST* ast, QStringList&);
QString typeSpecToString(TypeSpecifierAST* typeSpec);
QString declaratorToString(DeclaratorAST* declarator, const QString& scope = QString(), bool skipPtrOp=false);

#endif // AST_UTILS_H