public static final ParserRule createMarkFollowingRule(
int posMatch, String seq, byte id, boolean excludeMatch)
{
int ruleAction = MARK_FOLLOWING |
((excludeMatch) ? EXCLUDE_MATCH : 0);
return new ParserRule(ruleAction, seq.charAt(0), posMatch,
seq.toCharArray(), null, 0, null, null, id);
public static final ParserRule createMarkPreviousRule(
int posMatch, String seq, byte id, boolean excludeMatch)
{
int ruleAction = MARK_PREVIOUS |
((excludeMatch) ? EXCLUDE_MATCH : 0);
return new ParserRule(ruleAction, seq.charAt(0), posMatch,
seq.toCharArray(), null, 0, null, null, id);
Clone fragments detected by clone detection tool
File path: /jEdit-4.2/src/org/gjt/sp/jedit/syntax/ParserRule.java
|
|
File path: /jEdit-4.2/src/org/gjt/sp/jedit/syntax/ParserRule.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | public static final ParserRule createMarkFollowingRule(↵ | | 1 | public static final ParserRule createMarkPreviousRule(↵
|
2 | int posMatch, String seq, byte id, boolean excludeMatch)↵ | | 2 | int posMatch, String seq, byte id, boolean excludeMatch)↵
|
3 | {↵ | | 3 | {↵
|
4 | int ruleAction = MARK_FOLLOWING |↵ | | 4 | int ruleAction = MARK_PREVIOUS |↵
|
5 | ((excludeMatch) ? EXCLUDE_MATCH : 0);↵ | | 5 | ((excludeMatch) ? EXCLUDE_MATCH : 0);↵
|
|
6 | return new ParserRule(ruleAction, seq.charAt(0), posMatch,↵ | | 6 | return new ParserRule(ruleAction, seq.charAt(0), posMatch,↵
|
7 | seq.toCharArray(), null, 0, null, null, id);↵ | | 7 | seq.toCharArray(), null, 0, null, null, id);↵
|
8 | | | 8 |
|
See real code fragment |
|
See real code fragment |
Summary
Number of common nesting structure subtrees | 0 |
Number of refactorable cases | 0 |
Number of non-refactorable cases | 0 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0 |
Clones location | |
Number of node comparisons | 0 |