public class DnaSet extends Tick implements Prc
` <% DNA:SET /ConstantEnumTemplate/{{className}}/* %> \n`
edge=`<% DNA:SET /ConstantEnumTemplate/{{className}}/* %>`
` // DNA:SET /ConstantEnumTemplate/{{className}}/* \n`
edge=`// DNA:SET /ConstantEnumTemplate/{{className}}/* \n`
main=`DNA:SET /ConstantEnumTemplate/{{className}}/*`
find=`ConstantEnumTemplate`
repl=`{{className}}`
life=`*`
| Modifier and Type | Field and Description |
|---|---|
@NotNull Pattern |
find |
@NotNull String |
repl |
| Constructor and Description |
|---|
DnaSet(@NotNull String text,
Clop edge,
@NotNull Life life,
@NotNull Pattern find,
@NotNull String repl) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull List<Exon> |
apply(Clop pos,
String txt,
int bar)
应用匹配的文本
|
boolean |
equals(Object o) |
int |
hashCode() |
Life.State |
match(List<Exon.N> lst,
String txt)
匹配其他文本,并根据匹配状态,设置匹配区间
|
String |
toString() |
void |
toString(Writer buff) |
@NotNull public final @NotNull Pattern find
@NotNull public final @NotNull String repl
Copyright © 2020. All rights reserved.