class Leaf

Declaration

class Leaf : public Node { /* full declaration omitted */ };

Description

A leaf node points to a single token.

Declared at: clang/include/clang/Tooling/Syntax/Tree.h:132

Inherits from: Node

Member Variables

private TokenManager::Key K

Method Overview

  • public Leaf(TokenManager::Key K)
  • public static bool classof(const clang::syntax::Node * N)
  • public TokenManager::Key getTokenKey() const

Inherited from Node:

Methods

Leaf(TokenManager::Key K)

Declared at: clang/include/clang/Tooling/Syntax/Tree.h:134

Parameters

TokenManager::Key K

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

Declared at: clang/include/clang/Tooling/Syntax/Tree.h:135

Parameters

const clang::syntax::Node* N

TokenManager::Key getTokenKey() const

Declared at: clang/include/clang/Tooling/Syntax/Tree.h:137