HandlerInterface
This functional interface specifies how a handler class should translate raw AST nodes into CPG nodes.
Parameters
S
the type of the translated CPG node
T
the type of the raw AST node
Functions
Link copied to clipboard
The returned CPG node type S should be as specific as possible to make it easier for the caller. For example, if a handler parses functions and methods, it should at least return a FunctionDeclaration and not just a Declaration.