Package com.strobel.decompiler.patterns
Class OptionalNode
java.lang.Object
com.strobel.decompiler.patterns.Pattern
com.strobel.decompiler.patterns.OptionalNode
- All Implemented Interfaces:
INode
-
Field Summary
FieldsFields inherited from class com.strobel.decompiler.patterns.Pattern
ANY_STRING
Fields inherited from interface com.strobel.decompiler.patterns.INode
CHILD_ITERATOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal INode
getNode()
final boolean
final boolean
matchesCollection
(Role<?> role, INode position, Match match, BacktrackingInfo backtrackingInfo) Methods inherited from class com.strobel.decompiler.patterns.Pattern
getFirstChild, getNextSibling, getRole, isNull, match, matches, matchesCollection, matchString, toBlockStatement, toCatchClause, toExpression, toMethodDeclaration, toNode, toParameterDeclaration, toStatement, toType, toVariableInitializer
-
Field Details
-
_node
-
-
Constructor Details
-
OptionalNode
-
-
Method Details
-
getNode
-
matchesCollection
public final boolean matchesCollection(Role<?> role, INode position, Match match, BacktrackingInfo backtrackingInfo) - Specified by:
matchesCollection
in interfaceINode
- Overrides:
matchesCollection
in classPattern
-
matches
-