bugfinder.processing.ast

Module containing abstract AST processing classes.

class bugfinder.processing.ast.AbstractASTMarkup(dataset, deprecation_warning=None)

Bases: Neo4J3Processing

Abstract class to markup the AST

SET_AST_MARKUP_CMD = '\n       UNWIND %s as data\n       MATCH (n)\n       WHERE id(n) = data.id\n       SET n.ast = data.ast\n    '
abstract build_ast_markup(ast_item)

Build the AST markup. Must be defined in the subclasses.

abstract get_ast_information()

Retrieve AST information. Must be defined in the subclasses.

send_commands()

Sends the command to the container.