Package com.strobel.decompiler.ast
Class Node
java.lang.Object
com.strobel.decompiler.ast.Node
- Direct Known Subclasses:
BasicBlock
,Block
,Condition
,Expression
,Label
,Lambda
,Loop
,Switch
,TryCatchBlock
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate <T extends Node>
voidaccumulateSelfAndChildrenRecursive
(List<T> list, Class<T> type, Predicate<? super T> predicate, boolean childrenFirst, boolean skipChildrenOfFilteredNodes) getChildrenAndSelfRecursive
(Predicate<Node> predicate) getChildrenAndSelfRecursive
(Predicate<Node> predicate, boolean skipChildrenOfFilteredNodes) getChildrenAndSelfRecursive
(Class<T> type) getChildrenAndSelfRecursive
(Class<T> type, Predicate<? super T> predicate) getSelfAndChildrenRecursive
(Predicate<Node> predicate) getSelfAndChildrenRecursive
(Predicate<Node> predicate, boolean skipChildrenOfFilteredNodes) getSelfAndChildrenRecursive
(Class<T> type) getSelfAndChildrenRecursive
(Class<T> type, Predicate<? super T> predicate) final boolean
final boolean
toString()
abstract void
writeTo
(ITextOutput output)
-
Field Details
-
NULL
-
-
Constructor Details
-
Node
public Node()
-
-
Method Details
-
writeTo
-
toString
-
isConditionalControlFlow
public final boolean isConditionalControlFlow() -
isUnconditionalControlFlow
public final boolean isUnconditionalControlFlow() -
getChildren
-
getSelfAndChildrenRecursive
-
getSelfAndChildrenRecursive
-
getSelfAndChildrenRecursive
-
getSelfAndChildrenRecursive
-
getSelfAndChildrenRecursive
-
getChildrenAndSelfRecursive
-
getChildrenAndSelfRecursive
-
getChildrenAndSelfRecursive
-
getChildrenAndSelfRecursive
-
getChildrenAndSelfRecursive
-
accumulateSelfAndChildrenRecursive
-