class DeclaratorList

Declaration

class DeclaratorList : public List { /* full declaration omitted */ };

Description

A list of Elements separated or terminated by a fixed token. This type models the following grammar construct: delimited-list(element, delimiter, termination, canBeEmpty)

Declared at: clang/include/clang/Tooling/Syntax/Nodes.h:393

Inherits from: List

Member Variables

Method Overview

Inherited from List:

Inherited from Tree:

Inherited from Node:

Methods

DeclaratorList()

Declared at: clang/include/clang/Tooling/Syntax/Nodes.h:395

static bool classof(const clang::syntax::Node* N)

Declared at: clang/include/clang/Tooling/Syntax/Nodes.h:396

Parameters

const clang::syntax::Node* N

std::vector<SimpleDeclarator*> getDeclarators()

Declared at: clang/include/clang/Tooling/Syntax/Nodes.h:397

std::vector<List::ElementAndDelimiter<
    syntax::SimpleDeclarator>>
getDeclaratorsAndCommas()

Declared at: clang/include/clang/Tooling/Syntax/Nodes.h:399