struct NodeId

Declaration

struct NodeId { /* full declaration omitted */ };

Description

Within a tree, this identifies a node by its preorder offset.

Declared at: clang/include/clang/Tooling/ASTDiff/ASTDiffInternal.h:21

Member Variables

public int Id
private static const int InvalidNodeId = -1

Method Overview

Methods

NodeId()

Declared at: clang/include/clang/Tooling/ASTDiff/ASTDiffInternal.h:28

NodeId(int Id)

Declared at: clang/include/clang/Tooling/ASTDiff/ASTDiffInternal.h:29

Parameters

int Id

bool isInvalid() const

Declared at: clang/include/clang/Tooling/ASTDiff/ASTDiffInternal.h:38

bool isValid() const

Declared at: clang/include/clang/Tooling/ASTDiff/ASTDiffInternal.h:37

int operator int() const

Declared at: clang/include/clang/Tooling/ASTDiff/ASTDiffInternal.h:31