public abstract class NodeParser extends Object
| 构造器和说明 |
|---|
NodeParser() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected char |
getChar(int offset,
String sentence) |
protected int |
getIdentifier(int offset,
String el) |
abstract int |
parse(String el,
int offset,
Deque<CalculateNode> nodes,
int function,
Invoker next)
在解析节点后返回新的偏移量
|
protected int |
skipWhiteSpace(int offset,
String el) |
public abstract int parse(String el, int offset, Deque<CalculateNode> nodes, int function, Invoker next)
el - offset - nodes - protected char getChar(int offset,
String sentence)
protected int skipWhiteSpace(int offset,
String el)
protected int getIdentifier(int offset,
String el)
Copyright © 2020. All rights reserved.