You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
690 B
33 lines
690 B
10 years ago
|
package org.jetbrains.java.decompiler.struct.match;
|
||
|
|
||
|
|
||
|
public interface IMatchable {
|
||
|
|
||
|
public enum MatchProperties {
|
||
|
STATEMENT_TYPE,
|
||
|
STATEMENT_RET,
|
||
|
STATEMENT_STATSIZE,
|
||
|
STATEMENT_EXPRSIZE,
|
||
|
STATEMENT_POSITION,
|
||
|
STATEMENT_IFTYPE,
|
||
|
|
||
|
EXPRENT_TYPE,
|
||
|
EXPRENT_RET,
|
||
|
EXPRENT_POSITION,
|
||
|
EXPRENT_FUNCTYPE,
|
||
|
EXPRENT_EXITTYPE,
|
||
|
EXPRENT_CONSTTYPE,
|
||
|
EXPRENT_CONSTVALUE,
|
||
|
EXPRENT_INVOCATION_CLASS,
|
||
|
EXPRENT_INVOCATION_SIGNATURE,
|
||
|
EXPRENT_INVOCATION_PARAMETER,
|
||
|
EXPRENT_VAR_INDEX,
|
||
|
EXPRENT_FIELD_NAME,
|
||
|
}
|
||
|
|
||
|
public IMatchable findObject(MatchNode matchNode, int index);
|
||
|
|
||
|
public boolean match(MatchNode matchNode, MatchEngine engine);
|
||
|
|
||
|
}
|