ROSE
0.11.96.11
|
Type for comparing two AST nodes.
This type defines the API used by Analysis and also serves as the default parameter for that class template. It must be able to construct an edit distance list node from an AST node and test two list nodes for equality.
Definition at line 44 of file LinearEditDistance.h.
#include <LinearEditDistance.h>
Public Member Functions | |
Node (SgNode *node) | |
Construct a list node from an AST node. | |
bool | operator== (const Node &other) const |
Test two list nodes for equality. More... | |
|
inline |
Test two list nodes for equality.
This implementation returns true (equal) when both AST nodes are the same type. If the nodes are subclasses of SgAsmInstruction then they must also be the same kind of instruction (e.g., if they are both SgAsmX86Instruction then they must also both be x86_pop instructions).
Definition at line 63 of file LinearEditDistance.h.