A node representing a suffix.
Synopsis
Declared in <llvm/Support/SuffixTreeNode.h>
struct SuffixTreeLeafNode
: SuffixTreeNode
Base Classes
Name |
Description |
A node in a suffix tree which represents a substring or suffix. |
Enums
Name |
Description |
Kind of suffix tree node for LLVM‐style RTTI. |
Member Functions
Name |
Description |
|
Construct a leaf node with the given start index and shared end index. |
|
Destroy a leaf node. |
Return the length of the string from the root to this node. |
|
|
Return the end index of this node's substring in the entire string. |
Return the kind of this node. |
|
Return the index of this node's left most leaf node. |
|
Return the index of this node's right most leaf node. |
|
Return the start index of this node's substring in the entire string. |
|
Return the start index of the suffix represented by this leaf. |
|
Advance this node's StartIdx by |
|
Set the length of the string from the root to this node to |
|
Set the index of the left most leaf node of this node to |
|
Set the index of the right most leaf node of this node to |
|
Sets the start index of the suffix represented by this leaf to |
Static Member Functions
Name |
Description |
Check whether |