ProcessedListener

This class is a piece of legacy code that seems to offer a functionality to register certain listeners that get executed when raw AST nodes are processed into certain nodes (specified in interestingStatements).

Constructors

Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
open fun process(from: Any, to: Node)

This function should be called by anything that implements this processed listener to indicate that a new Node has been processed from the raw node in from.

Link copied to clipboard
open fun registerObjectListener(from: Any, biConsumer: BiConsumer<Any, Node>)

Registers a new listener (biConsumer), that gets called if the raw node specified in from gets processed.

Link copied to clipboard
open fun registerPredicateListener(predicate: BiPredicate<Any, Node>, biConsumer: BiConsumer<Any, Node>)

Inheritors

Link copied to clipboard