|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
java.lang.Objectorg.activiti.engine.impl.juel.Scanner
public class Scanner
Handcrafted scanner.
嵌套类摘要 | |
---|---|
static class |
Scanner.ExtensionToken
|
static class |
Scanner.ScanException
Scan exception type |
static class |
Scanner.Symbol
Symbol type |
static class |
Scanner.Token
|
字段摘要 | |
---|---|
protected StringBuilder |
builder
|
构造方法摘要 | |
---|---|
protected |
Scanner(String input)
Constructor. |
方法摘要 | |
---|---|
protected Scanner.Token |
fixed(Scanner.Symbol symbol)
|
String |
getInput()
|
int |
getPosition()
|
Scanner.Token |
getToken()
|
protected boolean |
isDigit(char c)
|
protected boolean |
isEval()
|
protected Scanner.Token |
keyword(String s)
|
Scanner.Token |
next()
Scan next token. |
protected Scanner.Token |
nextEval()
token inside an eval expression |
protected Scanner.Token |
nextNumber()
number token |
protected Scanner.Token |
nextString()
string token |
protected Scanner.Token |
nextText()
text token |
protected Scanner.Token |
nextToken()
|
protected Scanner.Token |
token(Scanner.Symbol symbol,
String value,
int length)
|
从类 java.lang.Object 继承的方法 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
字段详细信息 |
---|
protected final StringBuilder builder
构造方法详细信息 |
---|
protected Scanner(String input)
input
- expression string方法详细信息 |
---|
public String getInput()
public Scanner.Token getToken()
public int getPosition()
protected boolean isDigit(char c)
true
iff the specified character is a digitprotected Scanner.Token keyword(String s)
s
- name
null
protected Scanner.Token fixed(Scanner.Symbol symbol)
symbol
-
protected Scanner.Token token(Scanner.Symbol symbol, String value, int length)
protected boolean isEval()
protected Scanner.Token nextText() throws Scanner.ScanException
Scanner.ScanException
protected Scanner.Token nextString() throws Scanner.ScanException
Scanner.ScanException
protected Scanner.Token nextNumber() throws Scanner.ScanException
Scanner.ScanException
protected Scanner.Token nextEval() throws Scanner.ScanException
Scanner.ScanException
protected Scanner.Token nextToken() throws Scanner.ScanException
Scanner.ScanException
public Scanner.Token next() throws Scanner.ScanException
getToken()
and getPosition()
can be used to retreive the token's image and input position.
Scanner.ScanException
|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |