Skip to content

Added support for node subtypes

Carlos Galindo requested to merge 39-node-subtypes into develop

Created by: jacosro

Changes:

  • Added is method in NodeType enum. Usage: subType.is(nodeType) will return true if subtype is a subtype of type.
  • Added METHOD_CALL_RETURN as subtype of ACTUAL_OUT
  • Added METHOD_OUTPUT as subtype of FORMAL_OUT
  • Some changes on parameter generic types in NaiveSummaryArcsBuilder: GraphNode<ExpressionStmt> -> GraphNode<?>, because AST nodes of output nodes are not ExpressionStmt

With these changes, summary arcs for output nodes are generated, as they are treated like FORMAL_OUT and ACTUAL_OUT

Merge request reports