ArKanjo 0.5.1
A tool for find code duplicated functions in codebases
PostOrderTree Struct Reference

#include <ast_method.hpp>

Public Attributes

std::vector< TSSymbol > labels
 Tree-sitter grammar symbol for each node. More...
 
std::vector< int > lmd
 Left-most descendant index for each node. More...
 
fs::path path
 

Detailed Description

Definition at line 23 of file ast_method.hpp.

Member Data Documentation

◆ labels

std::vector<TSSymbol> PostOrderTree::labels

Tree-sitter grammar symbol for each node.

Definition at line 27 of file ast_method.hpp.

◆ lmd

std::vector<int> PostOrderTree::lmd

Left-most descendant index for each node.

Stored for future compatibility with Zhang-Shasha style tree edit distance algorithms.

Currently not used by the similarity computation.

Definition at line 37 of file ast_method.hpp.

◆ path

fs::path PostOrderTree::path

Definition at line 39 of file ast_method.hpp.


The documentation for this struct was generated from the following file: