Package de.monochromata.ast
Interface TransformationsApi<N,E,T,B,TB extends B,S,I,QI>
- Type Parameters:
N- The node type in the ASTE- The expression typeT- The type typeB- The binding typeTB- The type binding typeS- The scope type (optional)I- The type used to represent identifiersQI- The type used to represent qualified identifiers
public interface TransformationsApi<N,E,T,B,TB extends B,S,I,QI>
An interface to create AST transformations.
-
Method Summary
Modifier and Type Method Description booleanpartOfSameInvocable(N node, E expression)
-
Method Details
-
partOfSameInvocable
- Returns:
- true if both nodes are contained in or are the same invocable (i.e. initializer, constructor, method or lambda expression).
-