SubgraphWalker

open class SubgraphWalker

Helper class for graph walking: Walking through ast-, cfg-, ...- edges

Types

Link copied to clipboard
open class Border
For better readability: result.entries instead of result.get(0) when working with getEOGPathEdges.
Link copied to clipboard
Link copied to clipboard
open class ScopedWalker
Handles declaration scope monitoring for iterative traversals.

Functions

Link copied to clipboard
open fun flattenAST(@Nullable n: @Nullable Node): List<Node>
Flattens the tree, starting at Node n into a list.
Link copied to clipboard
open fun getAstChildren(node: Node): List<Node>
Retrieves a list of AST children of the specified node by iterating all fields that are annotated with the SubGraph annotation and its value "AST".
Link copied to clipboard
Function returns two lists in a list.
Link copied to clipboard
open fun refreshType(node: Node)