public abstract class Node extends Object
| 构造器和说明 |
|---|
Node() |
| 限定符和类型 | 方法和说明 |
|---|---|
abstract boolean |
alike(Node node) |
int |
getMinInput() |
abstract boolean |
match(ReMatcher matcher,
CharSequence input,
int cursor)
Execute once matching operation
|
void |
study()
Try to study this node's global status, used for performance optimization.
|
protected Node next
protected int minInput
public void study()
public abstract boolean match(ReMatcher matcher, CharSequence input, int cursor)
matcher - The context of matching operationinput - The original inputcursor - The position of matching operationpublic abstract boolean alike(Node node)
public int getMinInput()
Copyright © 2019. All rights reserved.