Package com.strobel.decompiler.patterns
Class LeftmostBinaryOperandNode
- java.lang.Object
-
- com.strobel.decompiler.patterns.Pattern
-
- com.strobel.decompiler.patterns.LeftmostBinaryOperandNode
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
_matchWithoutOperator
private INode
_operandPattern
private BinaryOperatorType
_operatorType
-
Fields inherited from class com.strobel.decompiler.patterns.Pattern
ANY_STRING
-
Fields inherited from interface com.strobel.decompiler.patterns.INode
CHILD_ITERATOR
-
-
Constructor Summary
Constructors Constructor Description LeftmostBinaryOperandNode(INode pattern)
LeftmostBinaryOperandNode(INode pattern, BinaryOperatorType type, boolean matchWithoutOperator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description INode
getOperandPattern()
boolean
matches(INode other, Match match)
-
Methods inherited from class com.strobel.decompiler.patterns.Pattern
getFirstChild, getNextSibling, getRole, isNull, match, matches, matchesCollection, matchesCollection, matchString, toBlockStatement, toCatchClause, toExpression, toMethodDeclaration, toNode, toParameterDeclaration, toStatement, toType, toVariableInitializer
-
-
-
-
Field Detail
-
_matchWithoutOperator
private final boolean _matchWithoutOperator
-
_operatorType
private final BinaryOperatorType _operatorType
-
_operandPattern
private final INode _operandPattern
-
-
Constructor Detail
-
LeftmostBinaryOperandNode
public LeftmostBinaryOperandNode(INode pattern)
-
LeftmostBinaryOperandNode
public LeftmostBinaryOperandNode(INode pattern, BinaryOperatorType type, boolean matchWithoutOperator)
-
-